@mptransformation/omisdk
Version:
An embeddable TypeScript SDK for integrating into websites
30 lines • 1.54 MB
JavaScript
"use strict";var e=Object.defineProperty,t=(t,n,r)=>((t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r)(t,"symbol"!=typeof n?n+"":n,r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n=(e=>(e.CALL_INCOMING="call_incoming",e.CALL_OUTGOING="call_outgoing",e.CALL_HANGUP="call_hangup",e.CALL_ANSWERED="call_answered",e.CALL_REJECTED="call_rejected",e.CALL_HOLD="call_hold",e.CALL_UNHOLD="call_unhold",e.CALL_MUTE="call_mute",e.CALL_UNMUTE="call_unmute",e.CALL_TRANSFER="call_transfer",e.CALL_CONNECTED="call_connected",e.CALL_CLOSE_CONVERSATION="call_close_conversation",e.CALL_REFUSE_TRANSFER="call_refuse_transfer",e.CALL_ACCEPT_TRANSFER="call_accept_transfer",e.CALL_TRANSFER_FAILED="call_transfer_failed",e.CALL_TRANSFER_RINGING="call_transfer_ringing",e.CALL_TRANSFER_ANSWER="call_transfer_answer",e.CALL_TRANSFER_ACCEPTED="call_transfer_accepted",e.CALL_TERMINATED_OR_IVR_MISSED="call_terminated_or_ivr_missed",e.CALL_CROSS_PLATFORM="call_cross_platform",e.CALL_RECORDING="call_recording",e.SNAPSHOT_SUCCESS="snapshot_success",e.SNAPSHOT_ERROR="snapshot_error",e))(n||{}),r=(e=>(e.READY="ready",e.DISPLAY_CHANGED="display_changed",e.BUBBLE_HIDDEN="bubble_hidden",e.BUBBLE_SHOWN="bubble_shown",e.LOGGED_IN="logged_in",e.LOGGED_OUT="logged_out",e.TOKEN_EXPIRED="token_expired",e.ERROR="error",e.NETWORK_ERROR="network_error",e.DISCONNECTED="disconnected",e.CONNECTED="connected",e.PERMISSION_DENIED="permission_denied",e.DISCONNECTED_WEB_SOCKET="disconnected_web_socket",e.CONNECTED_WEB_SOCKET="connected_web_socket",e.AUTO_CONNECT="auto_connect",e.NOT_AUTO_CONNECT="not_auto_connect",e.FORCE_LOGOUT="force_logout",e))(r||{}),i=(e=>(e.NEW_CONVERSATION="new_conversation",e.NEW_MESSAGE="new_message",e.CLOSE_CONVERSATION="close_conversation",e.MESSAGE_RECEIVED="message_received",e.MESSAGE_SENT="message_sent",e.MESSAGE_DELIVERED="message_delivered",e.MESSAGE_READ="message_read",e.CONVERSATION_ENDED="conversation_ended",e))(i||{}),s=(e=>(e.BLIND_TRANSFER="BLIND_TRANSFER",e.ATTENDED_TRANSFER="ATTENDED_TRANSFER",e))(s||{}),o=(e=>(e.WEB="WEB",e.MOBILE="MOBILE",e.DESKTOP="DESKTOP",e.TABLET="TABLET",e.PWA="PWA",e))(o||{});function a(e,t={},n=[]){const r=document.createElement(e);return Object.entries(t).forEach((([e,t])=>{r.setAttribute(e,t)})),n.forEach((e=>{"string"==typeof e?r.appendChild(document.createTextNode(e)):r.appendChild(e)})),r}function l(e,t){const n=function(e,t){const n=document.createElement("style");return n.textContent=e,t&&(n.id=t),n}(e,t);return document.head.appendChild(n),n}function c(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var u=(e=>(e.DEBUG="debug",e.INFO="info",e.WARN="warn",e.ERROR="error",e))(u||{});const d={enabled:!1,level:"info",prefix:"[OmiSDK]"};let h=class{constructor(e={}){t(this,"config"),this.config={...d,...e}}updateConfig(e){this.config={...this.config,...e}}debug(e,...t){this.log("debug",e,...t)}info(e,...t){this.log("info",e,...t)}warn(e,...t){this.log("warn",e,...t)}error(e,...t){this.log("error",e,...t)}log(e,t,...n){if(!this.config.enabled)return;const r=Object.values(u),i=r.indexOf(this.config.level);if(r.indexOf(e)<i)return;const s=`${this.config.prefix} ${t}`;switch(e){case"debug":console.debug(s,...n);break;case"info":console.info(s,...n);break;case"warn":console.warn(s,...n);break;case"error":console.error(s,...n)}}};const p={primaryColor:"#3498db",secondaryColor:"#2ecc71",textColor:"#333333",backgroundColor:"#ffffff",fontFamily:"Arial, sans-serif",borderRadius:"4px",customClasses:{}};function f(e,t){const n=function(e,t){const n={...p,...e};return`\n .${t} {\n --primary-color: ${n.primaryColor};\n --secondary-color: ${n.secondaryColor};\n --text-color: ${n.textColor};\n --background-color: ${n.backgroundColor};\n --font-family: ${n.fontFamily};\n --border-radius: ${n.borderRadius};\n \n font-family: var(--font-family);\n color: var(--text-color);\n background-color: var(--background-color);\n }\n \n .${t} .btn {\n background-color: var(--primary-color);\n color: white;\n border: none;\n border-radius: var(--border-radius);\n padding: 8px 16px;\n cursor: pointer;\n transition: background-color 0.3s ease;\n }\n \n .${t} .btn:hover {\n background-color: var(--secondary-color);\n }\n \n .${t} .container {\n border-radius: var(--border-radius);\n border: 1px solid #e0e0e0;\n padding: 16px;\n margin: 8px 0;\n }\n \n .${t} .header {\n font-weight: bold;\n margin-bottom: 8px;\n }\n \n ${Object.entries(n.customClasses||{}).map((([e,n])=>`.${t} .${e} { ${n} }`)).join("\n")}\n `}(e,t),r=`${t}-theme`,i=document.getElementById(r);return i&&i.remove(),l(n,r)}var g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function v(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):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 y={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,r,s,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new i(r,s||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],a]:e._events[l].push(a):(e._events[l]=a,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),a.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},a.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,s=r.length,o=new Array(s);i<s;i++)o[i]=r[i].fn;return o},a.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},a.prototype.emit=function(e,t,r,i,s,o){var a=n?n+e:e;if(!this._events[a])return!1;var l,c,u=this._events[a],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,i),!0;case 5:return u.fn.call(u.context,t,r,i,s),!0;case 6:return u.fn.call(u.context,t,r,i,s,o),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var h,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,i);break;default:if(!l)for(h=1,l=new Array(d-1);h<d;h++)l[h-1]=arguments[h];u[c].fn.apply(u[c].context,l)}}return!0},a.prototype.on=function(e,t,n){return s(this,e,t,n,!1)},a.prototype.once=function(e,t,n){return s(this,e,t,n,!0)},a.prototype.removeListener=function(e,t,r,i){var s=n?n+e:e;if(!this._events[s])return this;if(!t)return o(this,s),this;var a=this._events[s];if(a.fn)a.fn!==t||i&&!a.once||r&&a.context!==r||o(this,s);else{for(var l=0,c=[],u=a.length;l<u;l++)(a[l].fn!==t||i&&!a[l].once||r&&a[l].context!==r)&&c.push(a[l]);c.length?this._events[s]=1===c.length?c[0]:c:o(this,s)}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&o(this,t)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,e.exports=a}(y);const b=new(m(y.exports)),w={on:(e,t)=>b.on(e,t),once:(e,t)=>b.once(e,t),off:(e,t)=>b.off(e,t),emit:(e,t)=>b.emit(e,t)};Object.freeze(w);class S{constructor(){t(this,"events",new Map)}on(e,t){w.on(e,t)}off(e,t){if(!this.events.has(e))return;const n=this.events.get(e),r=n.indexOf(t);-1!==r&&n.splice(r,1),0===n.length&&this.events.delete(e)}emit(e,t){w.emit(e,t)}}var E,k={exports:{}},_={},C={exports:{}},I={};var T,R={exports:{}};var x,A;C.exports="production"==={}.NODE_ENV?function(){if(E)return I;E=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),o=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),d=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,f={};function g(e,t,n){this.props=e,this.context=t,this.refs=f,this.updater=n||h}function m(){}function v(e,t,n){this.props=e,this.context=t,this.refs=f,this.updater=n||h}g.prototype.isReactComponent={},g.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")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=g.prototype;var y=v.prototype=new m;y.constructor=v,p(y,g.prototype),y.isPureReactComponent=!0;var b=Array.isArray,w=Object.prototype.hasOwnProperty,S={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function _(t,n,r){var i,s={},o=null,a=null;if(null!=n)for(i in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(o=""+n.key),n)w.call(n,i)&&!k.hasOwnProperty(i)&&(s[i]=n[i]);var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];s.children=c}if(t&&t.defaultProps)for(i in l=t.defaultProps)void 0===s[i]&&(s[i]=l[i]);return{$$typeof:e,type:t,key:o,ref:a,props:s,_owner:S.current}}function C(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var T=/\/+/g;function R(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 x(n,r,i,s,o){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var l=!1;if(null===n)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(n.$$typeof){case e:case t:l=!0}}if(l)return o=o(l=n),n=""===s?"."+R(l,0):s,b(o)?(i="",null!=n&&(i=n.replace(T,"$&/")+"/"),x(o,r,i,"",(function(e){return e}))):null!=o&&(C(o)&&(o=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(o,i+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(T,"$&/")+"/")+n)),r.push(o)),1;if(l=0,s=""===s?".":s+":",b(n))for(var c=0;c<n.length;c++){var u=s+R(a=n[c],c);l+=x(a,r,i,u,o)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof u)for(n=u.call(n),c=0;!(a=n.next()).done;)l+=x(a=a.value,r,i,u=s+R(a,c++),o);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return l}function A(e,t,n){if(null==e)return e;var r=[],i=0;return x(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function D(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},O={transition:null},N={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:O,ReactCurrentOwner:S};function $(){throw Error("act(...) is not supported in production builds of React.")}return I.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},I.Component=g,I.Fragment=n,I.Profiler=i,I.PureComponent=v,I.StrictMode=r,I.Suspense=l,I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,I.act=$,I.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var i=p({},t.props),s=t.key,o=t.ref,a=t._owner;if(null!=n){if(void 0!==n.ref&&(o=n.ref,a=S.current),void 0!==n.key&&(s=""+n.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(c in n)w.call(n,c)&&!k.hasOwnProperty(c)&&(i[c]=void 0===n[c]&&void 0!==l?l[c]:n[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}return{$$typeof:e,type:t.type,key:s,ref:o,props:i,_owner:a}},I.createContext=function(e){return(e={$$typeof:o,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},I.createElement=_,I.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},I.createRef=function(){return{current:null}},I.forwardRef=function(e){return{$$typeof:a,render:e}},I.isValidElement=C,I.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:D}},I.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},I.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},I.unstable_act=$,I.useCallback=function(e,t){return P.current.useCallback(e,t)},I.useContext=function(e){return P.current.useContext(e)},I.useDebugValue=function(){},I.useDeferredValue=function(e){return P.current.useDeferredValue(e)},I.useEffect=function(e,t){return P.current.useEffect(e,t)},I.useId=function(){return P.current.useId()},I.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},I.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},I.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},I.useMemo=function(e,t){return P.current.useMemo(e,t)},I.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},I.useRef=function(e){return P.current.useRef(e)},I.useState=function(e){return P.current.useState(e)},I.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},I.useTransition=function(){return P.current.useTransition()},I.version="18.3.1",I}():(T||(T=1,x=R,A=R.exports,
/**
* @license React
* react.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.
*/
"production"!=={}.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),o=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),p=Symbol.iterator;function f(e){if(null===e||"object"!=typeof e)return null;var t=p&&e[p]||e["@@iterator"];return"function"==typeof t?t:null}var g={current:null},m={transition:null},v={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},y={current:null},b={},w=null;function S(e){w=e}b.setExtraStackFrame=function(e){w=e},b.getCurrentStack=null,b.getStackAddendum=function(){var e="";w&&(e+=w);var t=b.getCurrentStack;return t&&(e+=t()||""),e};var E={ReactCurrentDispatcher:g,ReactCurrentBatchConfig:m,ReactCurrentOwner:y};function k(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];C("warn",e,n)}function _(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];C("error",e,n)}function C(e,t,n){var r=E.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var i=n.map((function(e){return String(e)}));i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}E.ReactDebugCurrentFrame=b,E.ReactCurrentActQueue=v;var I={};function T(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",i=r+"."+t;I[i]||(_("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),I[i]=!0)}var R={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){T(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){T(e,"replaceState")},enqueueSetState:function(e,t,n,r){T(e,"setState")}},D=Object.assign,P={};function O(e,t,n){this.props=e,this.context=t,this.refs=P,this.updater=n||R}Object.freeze(P),O.prototype.isReactComponent={},O.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new 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")},O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var N={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)."]},$=function(e,t){Object.defineProperty(O.prototype,e,{get:function(){k("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var L in N)N.hasOwnProperty(L)&&$(L,N[L]);function M(){}function H(e,t,n){this.props=e,this.context=t,this.refs=P,this.updater=n||R}M.prototype=O.prototype;var j=H.prototype=new M;j.constructor=H,D(j,O.prototype),j.isPureReactComponent=!0;var q=Array.isArray;function U(e){return q(e)}function F(e){return""+e}function B(e){if(function(e){try{return F(e),!1}catch(Wl){return!0}}(e))return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),F(e)}function V(e){return e.displayName||"Context"}function z(e){if(null==e)return null;if("number"==typeof e.tag&&_("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case n:return"Fragment";case t:return"Portal";case i:return"Profiler";case r:return"StrictMode";case l:return"Suspense";case c:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case o:return V(e)+".Consumer";case s:return V(e._context)+".Provider";case a:return function(e,t,n){var r=e.displayName;if(r)return r;var i=t.displayName||t.name||"";return""!==i?n+"("+i+")":n}(e,e.render,"ForwardRef");case u:var h=e.displayName||null;return null!==h?h:z(e.type)||"Memo";case d:var p=e,f=p._payload,g=p._init;try{return z(g(f))}catch(m){return null}}return null}var W,G,K,Y=Object.prototype.hasOwnProperty,J={key:!0,ref:!0,__self:!0,__source:!0};function Q(e){if(Y.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function X(e){if(Y.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}K={};var Z=function(t,n,r,i,s,o,a){var l={$$typeof:e,type:t,key:n,ref:r,props:a,_owner:o,_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:i}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ee(e,t,n){var r,i={},s=null,o=null,a=null,l=null;if(null!=t)for(r in Q(t)&&(o=t.ref,function(e){if("string"==typeof e.ref&&y.current&&e.__self&&y.current.stateNode!==e.__self){var t=z(y.current.type);K[t]||(_('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),K[t]=!0)}}(t)),X(t)&&(B(t.key),s=""+t.key),a=void 0===t.__self?null:t.__self,l=void 0===t.__source?null:t.__source,t)Y.call(t,r)&&!J.hasOwnProperty(r)&&(i[r]=t[r]);var c=arguments.length-2;if(1===c)i.children=n;else if(c>1){for(var u=Array(c),d=0;d<c;d++)u[d]=arguments[d+2];Object.freeze&&Object.freeze(u),i.children=u}if(e&&e.defaultProps){var h=e.defaultProps;for(r in h)void 0===i[r]&&(i[r]=h[r])}if(s||o){var p="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,t){var n=function(){W||(W=!0,_("%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})}(i,p),o&&function(e,t){var n=function(){G||(G=!0,_("%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})}(i,p)}return Z(e,s,o,a,l,y.current,i)}function te(e,t,n){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r,i,s=D({},e.props),o=e.key,a=e.ref,l=e._self,c=e._source,u=e._owner;if(null!=t)for(r in Q(t)&&(a=t.ref,u=y.current),X(t)&&(B(t.key),o=""+t.key),e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)Y.call(t,r)&&!J.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==i?s[r]=i[r]:s[r]=t[r]);var d=arguments.length-2;if(1===d)s.children=n;else if(d>1){for(var h=Array(d),p=0;p<d;p++)h[p]=arguments[p+2];s.children=h}return Z(e.type,o,a,l,c,u,s)}function ne(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var re,se=!1,oe=/\/+/g;function ae(e){return e.replace(oe,"$&/")}function le(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(B(e.key),n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function ce(n,r,i,s,o){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var l,c,u,d=!1;if(null===n)d=!0;else switch(a){case"string":case"number":d=!0;break;case"object":switch(n.$$typeof){case e:case t:d=!0}}if(d){var h=n,p=o(h),g=""===s?"."+le(h,0):s;if(U(p)){var m="";null!=g&&(m=ae(g)+"/"),ce(p,r,m,"",(function(e){return e}))}else null!=p&&(ne(p)&&(!p.key||h&&h.key===p.key||B(p.key),l=p,c=i+(!p.key||h&&h.key===p.key?"":ae(""+p.key)+"/")+g,p=Z(l.type,c,l.ref,l._self,l._source,l._owner,l.props)),r.push(p));return 1}var v=0,y=""===s?".":s+":";if(U(n))for(var b=0;b<n.length;b++)v+=ce(u=n[b],r,i,y+le(u,b),o);else{var w=f(n);if("function"==typeof w){var S=n;w===S.entries&&(se||k("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),se=!0);for(var E,_=w.call(S),C=0;!(E=_.next()).done;)v+=ce(u=E.value,r,i,y+le(u,C++),o)}else if("object"===a){var I=String(n);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===I?"object with keys {"+Object.keys(n).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}}return v}function ue(e,t,n){if(null==e)return e;var r=[],i=0;return ce(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function de(e){if(-1===e._status){var t=(0,e._result)();if(t.then((function(t){if(0===e._status||-1===e._status){var n=e;n._status=1,n._result=t}}),(function(t){if(0===e._status||-1===e._status){var n=e;n._status=2,n._result=t}})),-1===e._status){var n=e;n._status=0,n._result=t}}if(1===e._status){var r=e._result;return void 0===r&&_("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",r),"default"in r||_("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",r),r.default}throw e._result}function he(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===r||e===l||e===c||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===u||e.$$typeof===s||e.$$typeof===o||e.$$typeof===a||e.$$typeof===re||void 0!==e.getModuleId)}function pe(){var e=g.current;return null===e&&_("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."),e}re=Symbol.for("react.module.reference");var fe,ge,me,ve,ye,be,we,Se=0;function Ee(){}Ee.__reactDisabledLog=!0;var ke,_e=E.ReactCurrentDispatcher;function Ce(e,t,n){if(void 0===ke)try{throw Error()}catch(i){var r=i.stack.trim().match(/\n( *(at )?)/);ke=r&&r[1]||""}return"\n"+ke+e}var Ie,Te=!1,Re="function"==typeof WeakMap?WeakMap:Map;function xe(e,t){if(!e||Te)return"";var n,r=Ie.get(e);if(void 0!==r)return r;Te=!0;var i,s=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=_e.current,_e.current=null,function(){if(0===Se){fe=console.log,ge=console.info,me=console.warn,ve=console.error,ye=console.group,be=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ee,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Se++}();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(o,[])}catch(f){n=f}Reflect.construct(e,[],o)}else{try{o.call()}catch(f){n=f}e.call(o.prototype)}}else{try{throw Error()}catch(f){n=f}e()}}catch(g){if(g&&n&&"string"==typeof g.stack){for(var a=g.stack.split("\n"),l=n.stack.split("\n"),c=a.length-1,u=l.length-1;c>=1&&u>=0&&a[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(a[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||a[c]!==l[u]){var d="\n"+a[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&Ie.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{Te=!1,_e.current=i,function(){if(0==--Se){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:fe}),info:D({},e,{value:ge}),warn:D({},e,{value:me}),error:D({},e,{value:ve}),group:D({},e,{value:ye}),groupCollapsed:D({},e,{value:be}),groupEnd:D({},e,{value:we})})}Se<0&&_("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=s}var h=e?e.displayName||e.name:"",p=h?Ce(h):"";return"function"==typeof e&&Ie.set(e,p),p}function Ae(e,t,n){if(null==e)return"";if("function"==typeof e)return xe(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return Ce(e);switch(e){case l:return Ce("Suspense");case c:return Ce("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case a:return xe(e.render,!1);case u:return Ae(e.type,t,n);case d:var i=e,s=i._payload,o=i._init;try{return Ae(o(s),t,n)}catch(h){}}return""}Ie=new Re;var De,Pe={},Oe=E.ReactDebugCurrentFrame;function Ne(e){if(e){var t=e._owner,n=Ae(e.type,e._source,t?t.type:null);Oe.setExtraStackFrame(n)}else Oe.setExtraStackFrame(null)}function $e(e){if(e){var t=e._owner;S(Ae(e.type,e._source,t?t.type:null))}else S(null)}function Le(){if(y.current){var e=z(y.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}De=!1;var Me={};function He(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=Le();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(!Me[n]){Me[n]=!0;var r="";e&&e._owner&&e._owner!==y.current&&(r=" It was passed a child from "+z(e._owner.type)+"."),$e(e),_('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),$e(null)}}}function je(e,t){if("object"==typeof e)if(U(e))for(var n=0;n<e.length;n++){var r=e[n];ne(r)&&He(r,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var i=f(e);if("function"==typeof i&&i!==e.entries)for(var s,o=i.call(e);!(s=o.next()).done;)ne(s.value)&&He(s.value,t)}}function qe(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!==a&&n.$$typeof!==u)return;t=n.propTypes}if(t){var r=z(n);!function(e,t,n,r,i){var s=Function.call.bind(Y);for(var o in e)if(s(e,o)){var a=void 0;try{if("function"!=typeof e[o]){var l=Error((r||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}a=e[o](t,o,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ie){a=ie}!a||a instanceof Error||(Ne(i),_("%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,o,typeof a),Ne(null)),a instanceof Error&&!(a.message in Pe)&&(Pe[a.message]=!0,Ne(i),_("Failed %s type: %s",n,a.message),Ne(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||De||(De=!0,_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",z(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ue(t,r,i){var s,o,a=he(t);if(!a){var l,c="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(c+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),c+=(null!=(s=r)&&void 0!==(o=s.__source)?"\n\nCheck your code at "+o.fileName.replace(/^.*[\\\/]/,"")+":"+o.lineNumber+".":"")||Le(),null===t?l="null":U(t)?l="array":void 0!==t&&t.$$typeof===e?(l="<"+(z(t.type)||"Unknown")+" />",c=" Did you accidentally export a JSX literal instead of a component?"):l=typeof t,_("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,c)}var u=ee.apply(this,arguments);if(null==u)return u;if(a)for(var d=2;d<arguments.length;d++)je(arguments[d],t);return t===n?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){$e(e),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),$e(null);break}}null!==e.ref&&($e(e),_("Invalid attribute `ref` supplied to `React.Fragment`."),$e(null))}(u):qe(u),u}var Fe=!1,Be=!1,Ve=null,ze=0,We=!1;function Ge(e){var t=ze;ze++,null===v.current&&(v.current=[]);var n,r=v.isBatchingLegacy;try{if(v.isBatchingLegacy=!0,n=e(),!r&&v.didScheduleLegacyUpdate){var i=v.current;null!==i&&(v.didScheduleLegacyUpdate=!1,Qe(i))}}catch(u){throw Ke(t),u}finally{v.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var s=n,o=!1,a={then:function(e,n){o=!0,s.then((function(r){Ke(t),0===ze?Ye(r,e,n):e(r)}),(function(e){Ke(t),n(e)}))}};return We||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){o||(We=!0,_("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),a}var l=n;if(Ke(t),0===ze){var c=v.current;return null!==c&&(Qe(c),v.current=null),{then:function(e,t){null===v.current?(v.current=[],Ye(l,e,t)):e(l)}}}return{then:function(e,t){e(l)}}}function Ke(e){e!==ze-1&&_("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ze=e}function Ye(e,t,n){var r=v.current;if(null!==r)try{Qe(r),function(e){if(null===Ve)try{var t=("require"+Math.random()).slice(0,7);Ve=(x&&x[t]).call(x,"timers").setImmediate}catch(n){Ve=function(e){!1===Be&&(Be=!0,"undefined"==typeof MessageChannel&&_("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}Ve(e)}((function(){0===r.length?(v.current=null,t(e)):Ye(e,t,n)}))}catch(i){n(i)}else t(e)}var Je=!1;function Qe(e){if(!Je){Je=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}e.length=0}catch(r){throw e=e.slice(t+1),r}finally{Je=!1}}}var Xe=Ue,Ze=function(e,t,n){for(var r=te.apply(this,arguments),i=2;i<arguments.length;i++)je(arguments[i],r.type);return qe(r),r},et=function(e){var t=Ue.bind(null,e);return t.type=e,Fe||(Fe=!0,k("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 k("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},tt={map:ue,forEach:function(e,t,n){ue(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return ue(e,(function(){t++})),t},toArray:function(e){return ue(e,(function(e){return e}))||[]},only:function(e){if(!ne(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};A.Children=tt,A.Component=O,A.Fragment=n,A.Profiler=i,A.PureComponent=H,A.StrictMode=r,A.Suspense=l,A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E,A.act=Ge,A.cloneElement=Ze,A.createContext=function(e){var t={$$typeof:o,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:s,_context:t};var n=!1,r=!1,i=!1,a={$$typeof:o,_context:t};return Object.defineProperties(a,{Provider:{get:function(){return r||(r=!0,_("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return n||(n=!0,_("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){i||(k("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),i=!0)}}}),t.Consumer=a,t._currentRenderer=null,t._currentRenderer2=null,t},A.createElement=Xe,A.createFactory=et,A.createRef=function(){var e={current:null};return Object.seal(e),e},A.forwardRef=function(e){null!=e&&e.$$typeof===u?_("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?_("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&_("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||_("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,n={$$typeof:a,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,e.name||e.displayName||(e.displayName=n)}}),n},A.isValidElement=ne,A.lazy=function(e){var t,n,r={$$typeof:d,_payload:{_status:-1,_result:e},_init:de};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){_("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){_("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},A.memo=function(e,t){he(e)||_("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var n,r={$$typeof:u,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,e.name||e.displayName||(e.displayName=t)}}),r},A.startTransition=function(e,t){var n=m.transition;m.transition={};var r=m.transition;m.transition._updatedFibers=new Set;try{e()}finally{m.transition=n,null===n&&r._updatedFibers&&(r._updatedFibers.size>10&&k("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),r._updatedFibers.clear())}},A.unstable_act=Ge,A.useCallback=function(e,t){return pe().useCallback(e,t)},A.useContext=function(e){var t=pe();if(void 0!==e._context){var n=e._context;n.Consumer===e?_("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?"):n.Provider===e&&_("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},A.useDebugValue=function(e,t){return pe().useDebugValue(e,t)},A.useDeferredValue=function(e){return pe().useDeferredValue(e)},A.useEffect=function(e,t){return pe().useEffect(e,t)},A.useId=function(){return pe().useId()},A.useImperativeHandle=function(e,t,n){return pe().useImperativeHandle(e,t,n)},A.useInsertionEffect=function(e,t){return pe().useInsertionEffect(e,t)},A.useLayoutEffect=function(e,t){return pe().useLayoutEffect(e,t)},A.useMemo=function(e,t){return pe().useMemo(e,t)},A.useReducer=function(e,t,n){return pe().useReducer(e,t,n)},A.useRef=function(e){return pe().useRef(e)},A.useState=function(e){return pe().useState(e)},A.useSyncExternalStore=function(e,t,n){return pe().useSyncExternalStore(e,t,n)},A.useTransition=function(){return pe().useTransition()},A.version="18.3.1","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),R.exports);var D=C.exports;const P=m(D);
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var O;var N,$={};k.exports="production"==={}.NODE_ENV?function(){if(O)return _;O=1;var e=D,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function o(e,n,o){var a,l={},c=null,u=null;for(a in void 0!==o&&(c=""+o),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(u=n.ref),n)r.call(n,a)&&!s.hasOwnProperty(a)&&(l[a]=n[a]);if(e&&e.defaultProps)for(a in n=e.defaultProps)void 0===l[a]&&(l[a]=n[a]);return{$$typeof:t,type:e,key:c,ref:u,props:l,_owner:i.current}}return _.Fragment=n,_.jsx=o,_.jsxs=o,_}():(N||(N=1,
/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
"production"!=={}.NODE_ENV&&function(){var e,t=D,n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),g=Symbol.iterator,m=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=m.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var i=n.map((function(e){return String(e)}));i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}("error",e,n)}function y(e){return e.displayName||"Context"}function b(e){if(null==e)return null;if("number"==typeof e.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case i:return"Fragment";case r:return"Portal";case o:return"Profiler";case s:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return y(e)+".Consumer";case a:return y(e._context)+".Provider";case c:return function(e,t,n){var r=e.displayName;if(r)return r;var i=t.displayName||t.name||"";return""!==i?n+"("+i+")":n}(e,e.render,"ForwardRef");case h:var t=e.displayName||null;return null!==t?t:b(e.type)||"Memo";case p:var n=e,f=n._payload,g=n._init;try{return b(g(f))}catch(m){return null}}return null}e=Symbol.for("react.module.reference");var w,S,E,k,_,C,I,T=Object.assign,R=0;function x(){}x.__reactDisabledLog=!0;var A,P=m.ReactCurrentDispatcher;function O(e,t,n){if(void 0===A)try{throw Error()}catch(i){var r=i.stack.trim().match(/\n( *(at )?)/);A=r&&r[1]||""}return"\n"+A+e}var N,L=!1,M="function"==typeof WeakMap?WeakMap:Map;function H(e,t){if(!e||L)return"";var n,r=N.get(e);if(void 0!==r)return r;L=!0;var i,s=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=P.current,P.current=null,function(){if(0===R){w=console.log,S=console.info,E=console.warn,k=console.error,_=console.group,C=console.groupCollapsed,I=console.groupEnd;var e={configurable:!0,enumerable:!0,value:x,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}R++}();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(o,[])}catch(f){n=f}Reflect.construct(e,[],o)}else{try{o.call()}catch(f){n=f}e.call(o.prototype)}}else{try{throw Error()}catch(f){n=f}e()}}catch(g){if(g&&n&&"string"==typeof g.stack){for(var a=g.stack.split("\n"),l=n.stack.split("\n"),c=a.length-1,u=l.length-1;c>=1&&u>=0&&a[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(a[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||a[c]!==l[u]){var d="\n"+a[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&N.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{L=!1,P.current=i,function(){if(0==--R){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:w}),info:T({},e,{value:S}),warn:T({},e,{value:E}),error:T({},e,{value:k}),group:T({},e,{value:_}),groupCollapsed:T({},e,{value:C}),groupEnd:T({},e,{value:I})})}R<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=s}var h=e?e.displayName||e.name:"",p=h?O(h):"";return"function"==typeof e&&N.set(e,p),p}function j(e,t,n){if(null==e)return"";if("function"==typeof e)return H(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return O(e);switch(e){case u:return O("Suspense");case d:return O("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return H(e.render,!1);case h:return j(e.type,t,n);case p:var i=e,s=i._payload,o=i._init;try{return j(o(s),t,n)}catch(a){}}return""}N=new M;var q=Object.prototype.hasOwnProperty,U={},F=m.ReactDebugCurrentFrame;function B(e){if(e){var t=e._owner,n=j(e.type,e._source,t?t.type:null);F.setExtraStackFrame(n)}else F.setExtraStackFrame(null)}var V=Array.isArray;function z(e){return V(e)}function W(e){return""+e}function G(e){if(function(e){try{return W(e),!1}catch(Wl){return!0}}(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),W(e)}var K,Y,J=m.ReactCurrentOwner,Q={key:!0,ref:!0,__self:!0,__source:!0};function X(e,t,r,i,s){var o,a={},l=null,c=null;for(o in void 0!==r&&(G(r),l=""+r),function(e){if(q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(G(t.key),l=""+t.key),function(e){if(q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(c=t.ref,function(e){"string"==typeof e.ref&&J.current}(t)),t)q.call(t,o)&&!Q.hasOwnProperty(o)&&(a[o]=t[o]);if(e&&e.defaultProps){var u=e.defaultProps;for(o in u)void 0===a[o]&&(a[o]=u[o])}if(l||c){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){K||(K=!0,v("%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})}(a,d),c&&function(e,t){var n=function(){Y||(Y=!0,v("%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})}(a,d)}return function(e,t,r,i,s,o,a){var l={$$typeof:n,type:e,key:t,ref:r,props:a,_owner:o,_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:i}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,c,s,i,J.current,a)}var Z,ee=m.ReactCurrentOwner,te=m.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,n=j(e.type,e._source,t?t.type:null);te.setExtraStackFrame(n)}else te.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function se(){if(ee.current){var e=b(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Z=!1;var oe={};function ae(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=se();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(!oe[n]){oe[n]=!0;var r="";e&&e._owner&&e._owner!==ee.current&&(r=" It was passed a child from "+b(e._owner.type)+"."),ne(e),v('Each child in a list should have a unique "key"