UNPKG

@mendable/search

Version:

A React component for integrating Mendable Search into your application.

17 lines 1.18 MB
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";function e(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var t=function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function r(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var i="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function s(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}var u=s,c=l;function f(e){if(u===setTimeout)return setTimeout(e,0);if((u===s||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}"function"==typeof i.setTimeout&&(u=setTimeout),"function"==typeof i.clearTimeout&&(c=clearTimeout);var d,p=[],m=!1,h=-1;function g(){m&&d&&(m=!1,d.length?p=d.concat(p):h=-1,p.length&&v())}function v(){if(!m){var e=f(g);m=!0;for(var t=p.length;t;){for(d=p,p=[];++h<t;)d&&d[h].run();h=-1,t=p.length}d=null,m=!1,function(e){if(c===clearTimeout)return clearTimeout(e);if((c===l||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(e);try{return c(e)}catch(t){try{return c.call(null,e)}catch(t){return c.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}y.prototype.run=function(){this.fun.apply(null,this.array)};function b(){}var w=b,k=b,x=b,S=b,_=b,E=b,C=b;var T=i.performance||{},O=T.now||T.mozNow||T.msNow||T.oNow||T.webkitNow||function(){return(new Date).getTime()};var P=new Date;var R={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new y(e,t)),1!==p.length||m||f(v)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:w,addListener:k,once:x,off:S,removeListener:_,removeAllListeners:E,emit:C,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*O.call(T),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-P)/1e3}},N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function A(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function I(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var L,D,F,M={},j={get exports(){return M},set exports(e){M=e}},z={};function B(){if(D)return L;D=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return L=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var a,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var u in a=Object(arguments[l]))t.call(a,u)&&(s[u]=a[u]);if(e){i=e(a);for(var c=0;c<i.length;c++)n.call(a,i[c])&&(s[i[c]]=a[i[c]])}}return s},L} /** @license React v17.0.2 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function U(){if(F)return z;F=1;var e=B(),t=60103,n=60106;z.Fragment=60107,z.StrictMode=60108,z.Profiler=60114;var r=60109,o=60110,a=60112;z.Suspense=60113;var i=60115,s=60116;if("function"==typeof Symbol&&Symbol.for){var l=Symbol.for;t=l("react.element"),n=l("react.portal"),z.Fragment=l("react.fragment"),z.StrictMode=l("react.strict_mode"),z.Profiler=l("react.profiler"),r=l("react.provider"),o=l("react.context"),a=l("react.forward_ref"),z.Suspense=l("react.suspense"),i=l("react.memo"),s=l("react.lazy")}var u="function"==typeof Symbol&&Symbol.iterator;function c(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},d={};function p(e,t,n){this.props=e,this.context=t,this.refs=d,this.updater=n||f}function m(){}function h(e,t,n){this.props=e,this.context=t,this.refs=d,this.updater=n||f}p.prototype.isReactComponent={},p.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(c(85));this.updater.enqueueSetState(this,e,t,"setState")},p.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=p.prototype;var g=h.prototype=new m;g.constructor=h,e(g,p.prototype),g.isPureReactComponent=!0;var v={current:null},y=Object.prototype.hasOwnProperty,b={key:!0,ref:!0,__self:!0,__source:!0};function w(e,n,r){var o,a={},i=null,s=null;if(null!=n)for(o in void 0!==n.ref&&(s=n.ref),void 0!==n.key&&(i=""+n.key),n)y.call(n,o)&&!b.hasOwnProperty(o)&&(a[o]=n[o]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===a[o]&&(a[o]=l[o]);return{$$typeof:t,type:e,key:i,ref:s,props:a,_owner:v.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var x=/\/+/g;function S(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function _(e,r,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case t:case n:l=!0}}if(l)return i=i(l=e),e=""===a?"."+S(l,0):a,Array.isArray(i)?(o="",null!=e&&(o=e.replace(x,"$&/")+"/"),_(i,r,o,"",(function(e){return e}))):null!=i&&(k(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(x,"$&/")+"/")+e)),r.push(i)),1;if(l=0,a=""===a?".":a+":",Array.isArray(e))for(var f=0;f<e.length;f++){var d=a+S(s=e[f],f);l+=_(s,r,o,d,i)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=u&&e[u]||e["@@iterator"])?e:null}(e),"function"==typeof d)for(e=d.call(e),f=0;!(s=e.next()).done;)l+=_(s=s.value,r,o,d=a+S(s,f++),i);else if("object"===s)throw r=""+e,Error(c(31,"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r));return l}function E(e,t,n){if(null==e)return e;var r=[],o=0;return _(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function C(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function O(){var e=T.current;if(null===e)throw Error(c(321));return e}var P={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:v,IsSomeRendererActing:{current:!1},assign:e};return z.Children={map:E,forEach:function(e,t,n){E(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return E(e,(function(){t++})),t},toArray:function(e){return E(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error(c(143));return e}},z.Component=p,z.PureComponent=h,z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,z.cloneElement=function(n,r,o){if(null==n)throw Error(c(267,n));var a=e({},n.props),i=n.key,s=n.ref,l=n._owner;if(null!=r){if(void 0!==r.ref&&(s=r.ref,l=v.current),void 0!==r.key&&(i=""+r.key),n.type&&n.type.defaultProps)var u=n.type.defaultProps;for(f in r)y.call(r,f)&&!b.hasOwnProperty(f)&&(a[f]=void 0===r[f]&&void 0!==u?u[f]:r[f])}var f=arguments.length-2;if(1===f)a.children=o;else if(1<f){u=Array(f);for(var d=0;d<f;d++)u[d]=arguments[d+2];a.children=u}return{$$typeof:t,type:n.type,key:i,ref:s,props:a,_owner:l}},z.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:o,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:r,_context:e},e.Consumer=e},z.createElement=w,z.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},z.createRef=function(){return{current:null}},z.forwardRef=function(e){return{$$typeof:a,render:e}},z.isValidElement=k,z.lazy=function(e){return{$$typeof:s,_payload:{_status:-1,_result:e},_init:C}},z.memo=function(e,t){return{$$typeof:i,type:e,compare:void 0===t?null:t}},z.useCallback=function(e,t){return O().useCallback(e,t)},z.useContext=function(e,t){return O().useContext(e,t)},z.useDebugValue=function(){},z.useEffect=function(e,t){return O().useEffect(e,t)},z.useImperativeHandle=function(e,t,n){return O().useImperativeHandle(e,t,n)},z.useLayoutEffect=function(e,t){return O().useLayoutEffect(e,t)},z.useMemo=function(e,t){return O().useMemo(e,t)},z.useReducer=function(e,t,n){return O().useReducer(e,t,n)},z.useRef=function(e){return O().useRef(e)},z.useState=function(e){return O().useState(e)},z.version="17.0.2",z}var $,H,q={};function V(){return $||($=1,e=q,"production"!==R.env.NODE_ENV&&function(){var t=B(),n=60103,r=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var o=60109,a=60110,i=60112;e.Suspense=60113;var s=60120,l=60115,u=60116,c=60121,f=60122,d=60117,p=60129,m=60131;if("function"==typeof Symbol&&Symbol.for){var h=Symbol.for;n=h("react.element"),r=h("react.portal"),e.Fragment=h("react.fragment"),e.StrictMode=h("react.strict_mode"),e.Profiler=h("react.profiler"),o=h("react.provider"),a=h("react.context"),i=h("react.forward_ref"),e.Suspense=h("react.suspense"),s=h("react.suspense_list"),l=h("react.memo"),u=h("react.lazy"),c=h("react.block"),f=h("react.server.block"),d=h("react.fundamental"),h("react.scope"),h("react.opaque.id"),p=h("react.debug_trace_mode"),h("react.offscreen"),m=h("react.legacy_hidden")}var g="function"==typeof Symbol&&Symbol.iterator,v="@@iterator";function y(e){if(null===e||"object"!=typeof e)return null;var t=g&&e[g]||e[v];return"function"==typeof t?t:null}var b={current:null},w={current:null},k={},x=null;function S(e){x=e}k.setExtraStackFrame=function(e){x=e},k.getCurrentStack=null,k.getStackAddendum=function(){var e="";x&&(e+=x);var t=k.getCurrentStack;return t&&(e+=t()||""),e};var _={ReactCurrentDispatcher:b,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:t};function E(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];T("warn",e,n)}function C(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];T("error",e,n)}function T(e,t,n){var r=_.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map((function(e){return""+e}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}_.ReactDebugCurrentFrame=k;var O={};function P(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;O[o]||(C("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),O[o]=!0)}var R={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){P(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){P(e,"replaceState")},enqueueSetState:function(e,t,n,r){P(e,"setState")}},N={};function A(e,t,n){this.props=e,this.context=t,this.refs=N,this.updater=n||R}Object.freeze(N),A.prototype.isReactComponent={},A.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},A.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var I={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},L=function(e,t){Object.defineProperty(A.prototype,e,{get:function(){E("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var D in I)I.hasOwnProperty(D)&&L(D,I[D]);function F(){}function M(e,t,n){this.props=e,this.context=t,this.refs=N,this.updater=n||R}F.prototype=A.prototype;var j=M.prototype=new F;function z(e){return e.displayName||"Context"}function U(t){if(null==t)return null;if("number"==typeof t.tag&&C("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case e.Fragment:return"Fragment";case r:return"Portal";case e.Profiler:return"Profiler";case e.StrictMode:return"StrictMode";case e.Suspense:return"Suspense";case s:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case a:return z(t)+".Consumer";case o:return z(t._context)+".Provider";case i:return p=t,m=t.render,h="ForwardRef",g=m.displayName||m.name||"",p.displayName||(""!==g?h+"("+g+")":h);case l:return U(t.type);case c:return U(t._render);case u:var n=t,f=n._payload,d=n._init;try{return U(d(f))}catch(e){return null}}var p,m,h,g;return null}j.constructor=M,t(j,A.prototype),j.isPureReactComponent=!0;var $,H,q,V=Object.prototype.hasOwnProperty,W={key:!0,ref:!0,__self:!0,__source:!0};function G(e){if(V.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function Y(e){if(V.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}q={};var K=function(e,t,r,o,a,i,s){var l={$$typeof:n,type:e,key:t,ref:r,props:s,_owner:i,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function Q(e,t,n){var r,o={},a=null,i=null,s=null,l=null;if(null!=t)for(r in G(t)&&(i=t.ref,function(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=U(w.current.type);q[t]||(C('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',t,e.ref),q[t]=!0)}}(t)),Y(t)&&(a=""+t.key),s=void 0===t.__self?null:t.__self,l=void 0===t.__source?null:t.__source,t)V.call(t,r)&&!W.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(u>1){for(var c=Array(u),f=0;f<u;f++)c[f]=arguments[f+2];Object.freeze&&Object.freeze(c),o.children=c}if(e&&e.defaultProps){var d=e.defaultProps;for(r in d)void 0===o[r]&&(o[r]=d[r])}if(a||i){var p="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var n=function(){$||($=!0,C("%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,p),i&&function(e,t){var n=function(){H||(H=!0,C("%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(o,p)}return K(e,a,i,s,l,w.current,o)}function X(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o,a,i=t({},e.props),s=e.key,l=e.ref,u=e._self,c=e._source,f=e._owner;if(null!=n)for(o in G(n)&&(l=n.ref,f=w.current),Y(n)&&(s=""+n.key),e.type&&e.type.defaultProps&&(a=e.type.defaultProps),n)V.call(n,o)&&!W.hasOwnProperty(o)&&(void 0===n[o]&&void 0!==a?i[o]=a[o]:i[o]=n[o]);var d=arguments.length-2;if(1===d)i.children=r;else if(d>1){for(var p=Array(d),m=0;m<d;m++)p[m]=arguments[m+2];i.children=p}return K(e.type,s,l,u,c,f,i)}function Z(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var J=".",ee=":",te=!1,ne=/\/+/g;function re(e){return e.replace(ne,"$&/")}function oe(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function ae(e,t,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,u,c,f=!1;if(null===e)f=!0;else switch(s){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case n:case r:f=!0}}if(f){var d=e,p=i(d),m=""===a?J+oe(d,0):a;if(Array.isArray(p)){var h="";null!=m&&(h=re(m)+"/"),ae(p,t,h,"",(function(e){return e}))}else null!=p&&(Z(p)&&(l=p,u=o+(!p.key||d&&d.key===p.key?"":re(""+p.key)+"/")+m,p=K(l.type,u,l.ref,l._self,l._source,l._owner,l.props)),t.push(p));return 1}var g=0,v=""===a?J:a+ee;if(Array.isArray(e))for(var b=0;b<e.length;b++)g+=ae(c=e[b],t,o,v+oe(c,b),i);else{var w=y(e);if("function"==typeof w){var k=e;w===k.entries&&(te||E("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),te=!0);for(var x,S=w.call(k),_=0;!(x=S.next()).done;)g+=ae(c=x.value,t,o,v+oe(c,_++),i)}else if("object"===s){var C=""+e;throw Error("Objects are not valid as a React child (found: "+("[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C)+"). If you meant to render a collection of children, use an array instead.")}}return g}function ie(e,t,n){if(null==e)return e;var r=[],o=0;return ae(e,r,"","",(function(e){return t.call(n,e,o++)})),r}var se=-1,le=0,ue=1,ce=2;function fe(e){if(e._status===se){var t=(0,e._result)(),n=e;n._status=le,n._result=t,t.then((function(t){if(e._status===le){var n=t.default;void 0===n&&C("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t);var r=e;r._status=ue,r._result=n}}),(function(t){if(e._status===le){var n=e;n._status=ce,n._result=t}}))}if(e._status===ue)return e._result;throw e._result}var de=!1;function pe(t){return"string"==typeof t||"function"==typeof t||!(t!==e.Fragment&&t!==e.Profiler&&t!==p&&t!==e.StrictMode&&t!==e.Suspense&&t!==s&&t!==m&&!de)||"object"==typeof t&&null!==t&&(t.$$typeof===u||t.$$typeof===l||t.$$typeof===o||t.$$typeof===a||t.$$typeof===i||t.$$typeof===d||t.$$typeof===c||t[0]===f)}function me(){var e=b.current;if(null===e)throw 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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return e}var he,ge,ve,ye,be,we,ke,xe=0;function Se(){}Se.__reactDisabledLog=!0;var _e,Ee=_.ReactCurrentDispatcher;function Ce(e,t,n){if(void 0===_e)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);_e=r&&r[1]||""}return"\n"+_e+e}var Te,Oe=!1,Pe="function"==typeof WeakMap?WeakMap:Map;function Re(e,n){if(!e||Oe)return"";var r,o=Te.get(e);if(void 0!==o)return o;Oe=!0;var a,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,a=Ee.current,Ee.current=null,function(){if(0===xe){he=console.log,ge=console.info,ve=console.warn,ye=console.error,be=console.group,we=console.groupCollapsed,ke=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Se,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}xe++}();try{if(n){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(e){r=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){r=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),u=r.stack.split("\n"),c=l.length-1,f=u.length-1;c>=1&&f>=0&&l[c]!==u[f];)f--;for(;c>=1&&f>=0;c--,f--)if(l[c]!==u[f]){if(1!==c||1!==f)do{if(c--,--f<0||l[c]!==u[f]){var d="\n"+l[c].replace(" at new "," at ");return"function"==typeof e&&Te.set(e,d),d}}while(c>=1&&f>=0);break}}}finally{Oe=!1,Ee.current=a,function(){if(0==--xe){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t({},e,{value:he}),info:t({},e,{value:ge}),warn:t({},e,{value:ve}),error:t({},e,{value:ye}),group:t({},e,{value:be}),groupCollapsed:t({},e,{value:we}),groupEnd:t({},e,{value:ke})})}xe<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",m=p?Ce(p):"";return"function"==typeof e&&Te.set(e,m),m}function Ne(e,t,n){return Re(e,!1)}function Ae(t,n,r){if(null==t)return"";if("function"==typeof t)return Re(t,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(t));if("string"==typeof t)return Ce(t);switch(t){case e.Suspense:return Ce("Suspense");case s:return Ce("SuspenseList")}if("object"==typeof t)switch(t.$$typeof){case i:return Ne(t.render);case l:return Ae(t.type,n,r);case c:return Ne(t._render);case u:var o=t,a=o._payload,f=o._init;try{return Ae(f(a),n,r)}catch(e){}}return""}Te=new Pe;var Ie,Le={},De=_.ReactDebugCurrentFrame;function Fe(e){if(e){var t=e._owner,n=Ae(e.type,e._source,t?t.type:null);De.setExtraStackFrame(n)}else De.setExtraStackFrame(null)}function Me(e){if(e){var t=e._owner;S(Ae(e.type,e._source,t?t.type:null))}else S(null)}function je(){if(w.current){var e=U(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Ie=!1;var ze={};function Be(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=je();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!ze[n]){ze[n]=!0;var r="";e&&e._owner&&e._owner!==w.current&&(r=" It was passed a child from "+U(e._owner.type)+"."),Me(e),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),Me(null)}}}function Ue(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];Z(r)&&Be(r,t)}else if(Z(e))e._store&&(e._store.validated=!0);else if(e){var o=y(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)Z(a.value)&&Be(a.value,t)}}function $e(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==i&&n.$$typeof!==l)return;t=n.propTypes}if(t){var r=U(n);!function(e,t,n,r,o){var a=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(a(e,i)){var s=void 0;try{if("function"!=typeof e[i]){var l=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(Fe(o),C("%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).",r||"React class",n,i,typeof s),Fe(null)),s instanceof Error&&!(s.message in Le)&&(Le[s.message]=!0,Fe(o),C("Failed %s type: %s",n,s.message),Fe(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||Ie||(Ie=!0,C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",U(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function He(t,r,o){var a,i,s=pe(t);if(!s){var l="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(l+=" 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 u,c=null!=(a=r)&&void 0!==(i=a.__source)?"\n\nCheck your code at "+i.fileName.replace(/^.*[\\\/]/,"")+":"+i.lineNumber+".":"";l+=c||je(),null===t?u="null":Array.isArray(t)?u="array":void 0!==t&&t.$$typeof===n?(u="<"+(U(t.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):u=typeof t,C("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,l)}var f=Q.apply(this,arguments);if(null==f)return f;if(s)for(var d=2;d<arguments.length;d++)Ue(arguments[d],t);return t===e.Fragment?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){Me(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),Me(null);break}}null!==e.ref&&(Me(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),Me(null))}(f):$e(f),f}var qe=!1;try{var Ve=Object.freeze({});new Map([[Ve,null]]),new Set([Ve])}catch(e){}var We=He,Ge=function(e,t,n){for(var r=X.apply(this,arguments),o=2;o<arguments.length;o++)Ue(arguments[o],r.type);return $e(r),r},Ye=function(e){var t=He.bind(null,e);return t.type=e,qe||(qe=!0,E("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return E("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},Ke={map:ie,forEach:function(e,t,n){ie(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return ie(e,(function(){t++})),t},toArray:function(e){return ie(e,(function(e){return e}))||[]},only:function(e){if(!Z(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};e.Children=Ke,e.Component=A,e.PureComponent=M,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_,e.cloneElement=Ge,e.createContext=function(e,t){void 0===t?t=null:null!==t&&"function"!=typeof t&&C("createContext: Expected the optional second argument to be a function. Instead received: %s",t);var n={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null};n.Provider={$$typeof:o,_context:n};var r=!1,i=!1,s=!1,l={$$typeof:a,_context:n,_calculateChangedBits:n._calculateChangedBits};return Object.defineProperties(l,{Provider:{get:function(){return i||(i=!0,C("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),n.Provider},set:function(e){n.Provider=e}},_currentValue:{get:function(){return n._currentValue},set:function(e){n._currentValue=e}},_currentValue2:{get:function(){return n._currentValue2},set:function(e){n._currentValue2=e}},_threadCount:{get:function(){return n._threadCount},set:function(e){n._threadCount=e}},Consumer:{get:function(){return r||(r=!0,C("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),n.Consumer}},displayName:{get:function(){return n.displayName},set:function(e){s||(E("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),s=!0)}}}),n.Consumer=l,n._currentRenderer=null,n._currentRenderer2=null,n},e.createElement=We,e.createFactory=Ye,e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(e){null!=e&&e.$$typeof===l?C("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?C("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&C("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||C("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,n={$$typeof:i,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,null==e.displayName&&(e.displayName=n)}}),n},e.isValidElement=Z,e.lazy=function(e){var t,n,r={$$typeof:u,_payload:{_status:-1,_result:e},_init:fe};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){C("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){C("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},e.memo=function(e,t){pe(e)||C("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var n,r={$$typeof:l,type:e,compare:void 0===t?null:t};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,null==e.displayName&&(e.displayName=t)}}),r},e.useCallback=function(e,t){return me().useCallback(e,t)},e.useContext=function(e,t){var n=me();if(void 0!==t&&C("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",t,"number"==typeof t&&Array.isArray(arguments[2])?"\n\nDid you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://reactjs.org/link/rules-of-hooks":""),void 0!==e._context){var r=e._context;r.Consumer===e?C("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):r.Provider===e&&C("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return n.useContext(e,t)},e.useDebugValue=function(e,t){return me().useDebugValue(e,t)},e.useEffect=function(e,t){return me().useEffect(e,t)},e.useImperativeHandle=function(e,t,n){return me().useImperativeHandle(e,t,n)},e.useLayoutEffect=function(e,t){return me().useLayoutEffect(e,t)},e.useMemo=function(e,t){return me().useMemo(e,t)},e.useReducer=function(e,t,n){return me().useReducer(e,t,n)},e.useRef=function(e){return me().useRef(e)},e.useState=function(e){return me().useState(e)},e.version="17.0.2"}()),q;var e}H=j,"production"===R.env.NODE_ENV?H.exports=U():H.exports=V();var W,G=A(M),Y=e({__proto__:null,default:G},[M]),K={},Q={get exports(){return K},set exports(e){K=e}},X={},Z={},J={get exports(){return Z},set exports(e){Z=e}},ee={};var te,ne,re,oe={};function ae(){return te||(te=1,e=oe,"production"!==R.env.NODE_ENV&&function(){var t,n,r,o,a=!1,i=!1;if("object"==typeof performance&&"function"==typeof performance.now){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,f=null,d=function(){if(null!==c)try{var t=e.unstable_now();c(!0,t),c=null}catch(e){throw setTimeout(d,0),e}};t=function(e){null!==c?setTimeout(t,0,e):(c=e,setTimeout(d,0))},n=function(e,t){f=setTimeout(e,t)},r=function(){clearTimeout(f)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var h=window.requestAnimationFrame,g=window.cancelAnimationFrame;"function"!=typeof h&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,y=null,b=-1,w=5,k=0;e.unstable_shouldYield=function(){return e.unstable_now()>=k},o=function(){},e.unstable_forceFrameRate=function(e){e<0||e>125?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):w=e>0?Math.floor(1e3/e):5};var x=new MessageChannel,S=x.port2;x.port1.onmessage=function(){if(null!==y){var t=e.unstable_now();k=t+w;try{y(!0,t)?S.postMessage(null):(v=!1,y=null)}catch(e){throw S.postMessage(null),e}}else v=!1},t=function(e){y=e,v||(v=!0,S.postMessage(null))},n=function(t,n){b=p((function(){t(e.unstable_now())}),n)},r=function(){m(b),b=-1}}function _(e,t){var n=e.length;e.push(t),function(e,t,n){for(var r=n;;){var o=r-1>>>1,a=e[o];if(!(void 0!==a&&T(a,t)>0))return;e[o]=t,e[r]=a,r=o}}(e,t,n)}function E(e){var t=e[0];return void 0===t?null:t}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();return n!==t&&(e[0]=n,function(e,t,n){for(var r=n,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],s=a+1,l=e[s];if(void 0!==i&&T(i,t)<0)void 0!==l&&T(l,i)<0?(e[r]=l,e[s]=t,r=s):(e[r]=i,e[a]=t,r=a);else{if(!(void 0!==l&&T(l,t)<0))return;e[r]=l,e[s]=t,r=s}}}(e,n,0)),t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=1,P=2,R=3,N=4,A=5,I=-1,L=250,D=5e3,F=1e4,M=1073741823,j=[],z=[],B=1,U=null,$=R,H=!1,q=!1,V=!1;function W(e){for(var t=E(z);null!==t;){if(null===t.callback)C(z);else{if(!(t.startTime<=e))return;C(z),t.sortIndex=t.expirationTime,_(j,t)}t=E(z)}}function G(e){if(V=!1,W(e),!q)if(null!==E(j))q=!0,t(Y);else{var r=E(z);null!==r&&n(G,r.startTime-e)}}function Y(t,o){q=!1,V&&(V=!1,r()),H=!0;var s=$;try{if(!i)return function(t,r){var o=r;for(W(o),U=E(j);null!==U&&!a&&(!(U.expirationTime>o)||t&&!e.unstable_shouldYield());){var i=U.callback;if("function"==typeof i){U.callback=null,$=U.priorityLevel;var s=i(U.expirationTime<=o);o=e.unstable_now(),"function"==typeof s?U.callback=s:U===E(j)&&C(j),W(o)}else C(j);U=E(j)}if(null!==U)return!0;var l=E(z);return null!==l&&n(G,l.startTime-o),!1}(t,o)}finally{U=null,$=s,H=!1}}var K=o;e.unstable_IdlePriority=A,e.unstable_ImmediatePriority=O,e.unstable_LowPriority=N,e.unstable_NormalPriority=R,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=P,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){q||H||(q=!0,t(Y))},e.unstable_getCurrentPriorityLevel=function(){return $},e.unstable_getFirstCallbackNode=function(){return E(j)},e.unstable_next=function(e){var t;switch($){case O:case P:case R:t=R;break;default:t=$}var n=$;$=t;try{return e()}finally{$=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=K,e.unstable_runWithPriority=function(e,t){switch(e){case O:case P:case R:case N:case A:break;default:e=R}var n=$;$=e;try{return t()}finally{$=n}},e.unstable_scheduleCallback=function(o,a,i){var s,l,u=e.unstable_now();if("object"==typeof i&&null!==i){var c=i.delay;s="number"==typeof c&&c>0?u+c:u}else s=u;switch(o){case O:l=I;break;case P:l=L;break;case A:l=M;break;case N:l=F;break;default:l=D}var f=s+l,d={id:B++,callback:a,priorityLevel:o,startTime:s,expirationTime:f,sortIndex:-1};return s>u?(d.sortIndex=s,_(z,d),null===E(j)&&d===E(z)&&(V?r():V=!0,n(G,s-u))):(d.sortIndex=f,_(j,d),q||H||(q=!0,t(Y))),d},e.unstable_wrapCallback=function(e){var t=$;return function(){var n=$;$=t;try{return e.apply(this,arguments)}finally{$=n}}}}()),oe;var e}function ie(){return ne||(ne=1,function(e){"production"===R.env.NODE_ENV?e.exports=(W||(W=1,function(e){var t,n,r,o;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,u=null,c=function(){if(null!==l)try{var t=e.unstable_now();l(!0,t),l=null}catch(e){throw setTimeout(c,0),e}};t=function(e){null!==l?setTimeout(t,0,e):(l=e,setTimeout(c,0))},n=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,d=window.clearTimeout;if("undefined"!=typeof console){var p=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,h=null,g=-1,v=5,y=0;e.unstable_shouldYield=function(){return e.unstable_now()>=y},o=function(){},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,w=b.port2;b.port1.onmessage=function(){if(null!==h){var t=e.unstable_now();y=t+v;try{h(!0,t)?w.postMessage(null):(m=!1,h=null)}catch(e){throw w.postMessage(null),e}}else m=!1},t=function(e){h=e,m||(m=!0,w.postMessage(null))},n=function(t,n){g=f((function(){t(e.unstable_now())}),n)},r=function(){d(g),g=-1}}function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<_(o,t)))break e;e[r]=t,e[n]=o,n=r}}function x(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],s=a+1,l=e[s];if(void 0!==i&&0>_(i,n))void 0!==l&&0>_(l,i)?(e[r]=l,e[s]=n,r=s):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==l&&0>_(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var E=[],C=[],T=1,O=null,P=3,R=!1,N=!1,A=!1;function I(e){for(var t=x(C);null!==t;){if(null===t.callback)S(C);else{if(!(t.startTime<=e))break;S(C),t.sortIndex=t.expirationTime,k(E,t)}t=x(C)}}function L(e){if(A=!1,I(e),!N)if(null!==x(E))N=!0,t(D);else{var r=x(C);null!==r&&n(L,r.startTime-e)}}function D(t,o){N=!1,A&&(A=!1,r()),R=!0;var a=P;try{for(I(o),O=x(E);null!==O&&(!(O.expirationTime>o)||t&&!e.unstable_shouldYield());){var i=O.callback;if("function"==typeof i){O.callback=null,P=O.priorityLevel;var s=i(O.expirationTime<=o);o=e.unstable_now(),"function"==typeof s?O.callback=s:O===x(E)&&S(E),I(o)}else S(E);O=x(E)}if(null!==O)var l=!0;else{var u=x(C);null!==u&&n(L,u.startTime-o),l=!1}return l}finally{O=null,P=a,R=!1}}var F=o;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){N||R||(N=!0,t(D))},e.unstable_getCurrentPriorityLevel=function(){return P},e.unstable_getFirstCallbackNode=function(){return x(E)},e.unstable_next=function(e){switch(P){case 1:case 2:case 3:var t=3;break;default:t=P}var n=P;P=t;try{return e()}finally{P=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=F,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=P;P=e;try{return t()}finally{P=n}},e.unstable_scheduleCallback=function(o,a,i){var s=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?s+i:s,o){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return o={id:T++,callback:a,priorityLevel:o,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>s?(o.sortIndex=i,k(C,o),null===x(E)&&o===x(C)&&(A?r():A=!0,n(L,i-s))):(o.sortIndex=l,k(E,o),N||R||(N=!0,t(D))),o},e.unstable_wrapCallback=function(e){var t=P;return function(){var n=P;P=t;try{return e.apply(this,arguments)}finally{P=n}}}}(ee)),ee):e.exports=ae()}(J)),Z} /** @license React v17.0.2 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function se(){if(re)return X;re=1;var e=M,t=B(),n=ie();function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!e)throw Error(r(227));var o=new Set,a={};function i(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(a[e]=t,e=0;e<t.length;e++)o.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),u=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,c=Object.prototype.hasOwnProperty,f={},d={};function p(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new p(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new p(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new p(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new p(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new p(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new p(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new p(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new p(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new p(e,5,!1,e.toLowerCase(),null,!1,!1)}));var h=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function v(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!c.call(d,e)||!c.call(f,e)&&(u.test(e)?d[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(h,g);m[t]=new p(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(h,g);m[t]=new p(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(h,g);m[t]=new p(