-
Notifications
You must be signed in to change notification settings - Fork 0
/
bundle.js
10 lines (10 loc) · 45.9 KB
/
bundle.js
1
2
3
4
5
6
7
8
9
10
"use strict";function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach((function(e){r(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,u=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return u}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){return e(t={exports:{}},t.exports),t.exports
/**
* @license React
* 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.
*/}Object.defineProperty(exports,"__esModule",{value:!0});var l=Symbol.for("react.element"),c=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),y=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,C={};function S(e,t,r){this.props=e,this.context=t,this.refs=C,this.updater=r||_}function E(){}function k(e,t,r){this.props=e,this.context=t,this.refs=C,this.updater=r||_}S.prototype.isReactComponent={},S.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")},S.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=S.prototype;var O=k.prototype=new E;O.constructor=k,w(O,S.prototype),O.isPureReactComponent=!0;var x=Array.isArray,R=Object.prototype.hasOwnProperty,j={current:null},D={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,r){var n,o={},a=null,i=null;if(null!=t)for(n in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)R.call(t,n)&&!D.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];o.children=c}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:l,type:e,key:a,ref:i,props:o,_owner:j.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===l}var N=/\/+/g;function $(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 I(e,t,r,n,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i=!1;if(null===e)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case l:case c:i=!0}}if(i)return o=o(i=e),e=""===n?"."+$(i,0):n,x(o)?(r="",null!=e&&(r=e.replace(N,"$&/")+"/"),I(o,t,r,"",(function(e){return e}))):null!=o&&(T(o)&&(o=function(e,t){return{$$typeof:l,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,r+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(N,"$&/")+"/")+e)),t.push(o)),1;if(i=0,n=""===n?".":n+":",x(e))for(var u=0;u<e.length;u++){var s=n+$(a=e[u],u);i+=I(a,t,r,s,o)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=v&&e[v]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),u=0;!(a=e.next()).done;)i+=I(a=a.value,t,r,s=n+$(a,u++),o);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function A(e,t,r){if(null==e)return e;var n=[],o=0;return I(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function L(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 F={current:null},M={transition:null},V={Children:{map:A,forEach:function(e,t,r){A(e,(function(){t.apply(this,arguments)}),r)},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(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},Component:S,Fragment:s,Profiler:p,PureComponent:k,StrictMode:f,Suspense:h,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:F,ReactCurrentBatchConfig:M,ReactCurrentOwner:j},cloneElement:function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=w({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=j.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)R.call(t,c)&&!D.hasOwnProperty(c)&&(n[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)n.children=r;else if(1<c){u=Array(c);for(var s=0;s<c;s++)u[s]=arguments[s+2];n.children=u}return{$$typeof:l,type:e.type,key:o,ref:a,props:n,_owner:i}},createContext:function(e){return(e={$$typeof:y,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:d,_context:e},e.Consumer=e},createElement:P,createFactory:function(e){var t=P.bind(null,e);return t.type=e,t},createRef:function(){return{current:null}},forwardRef:function(e){return{$$typeof:m,render:e}},isValidElement:T,lazy:function(e){return{$$typeof:g,_payload:{_status:-1,_result:e},_init:L}},memo:function(e,t){return{$$typeof:b,type:e,compare:void 0===t?null:t}},startTransition:function(e){var t=M.transition;M.transition={};try{e()}finally{M.transition=t}},unstable_act:function(){throw Error("act(...) is not supported in production builds of React.")},useCallback:function(e,t){return F.current.useCallback(e,t)},useContext:function(e){return F.current.useContext(e)},useDebugValue:function(){},useDeferredValue:function(e){return F.current.useDeferredValue(e)},useEffect:function(e,t){return F.current.useEffect(e,t)},useId:function(){return F.current.useId()},useImperativeHandle:function(e,t,r){return F.current.useImperativeHandle(e,t,r)},useInsertionEffect:function(e,t){return F.current.useInsertionEffect(e,t)},useLayoutEffect:function(e,t){return F.current.useLayoutEffect(e,t)},useMemo:function(e,t){return F.current.useMemo(e,t)},useReducer:function(e,t,r){return F.current.useReducer(e,t,r)},useRef:function(e){return F.current.useRef(e)},useState:function(e){return F.current.useState(e)},useSyncExternalStore:function(e,t,r){return F.current.useSyncExternalStore(e,t,r)},useTransition:function(){return F.current.useTransition()},version:"18.2.0"},B=u((function(e,t){"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),m=Symbol.iterator,h="@@iterator";function b(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[h];return"function"==typeof t?t:null}var g={current:null},v={transition:null},_={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},w={current:null},C={},S=null;function E(e){S=e}C.setExtraStackFrame=function(e){S=e},C.getCurrentStack=null,C.getStackAddendum=function(){var e="";S&&(e+=S);var t=C.getCurrentStack;return t&&(e+=t()||""),e};var k=!1,O=!1,x=!1,R=!1,j=!1,D={ReactCurrentDispatcher:g,ReactCurrentBatchConfig:v,ReactCurrentOwner:w};function P(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];N("warn",e,r)}function T(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];N("error",e,r)}function N(e,t,r){var n=D.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}D.ReactDebugCurrentFrame=C,D.ReactCurrentActQueue=_;var $={};function I(e,t){var r=e.constructor,n=r&&(r.displayName||r.name)||"ReactClass",o=n+"."+t;$[o]||(T("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,n),$[o]=!0)}var A={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,r){I(e,"forceUpdate")},enqueueReplaceState:function(e,t,r,n){I(e,"replaceState")},enqueueSetState:function(e,t,r,n){I(e,"setState")}},L=Object.assign,F={};function M(e,t,r){this.props=e,this.context=t,this.refs=F,this.updater=r||A}Object.freeze(F),M.prototype.isReactComponent={},M.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")},M.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var V={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)."]},B=function(e,t){Object.defineProperty(M.prototype,e,{get:function(){P("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var z in V)V.hasOwnProperty(z)&&B(z,V[z]);function U(){}function H(e,t,r){this.props=e,this.context=t,this.refs=F,this.updater=r||A}U.prototype=M.prototype;var q=H.prototype=new U;q.constructor=H,L(q,M.prototype),q.isPureReactComponent=!0;var W=Array.isArray;function Y(e){return W(e)}function K(e){return""+e}function G(e){if(function(e){try{return K(e),!1}catch(e){return!0}}(e))return T("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)),K(e)}function J(e){return e.displayName||"Context"}function Z(e){if(null==e)return null;if("number"==typeof e.tag&&T("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 o:return"Fragment";case n:return"Portal";case i:return"Profiler";case a:return"StrictMode";case s:return"Suspense";case f:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return J(e)+".Consumer";case u:return J(e._context)+".Provider";case c:return function(e,t,r){var n=e.displayName;if(n)return n;var o=t.displayName||t.name||"";return""!==o?r+"("+o+")":r}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:Z(e.type)||"Memo";case d:var r=e,y=r._payload,m=r._init;try{return Z(m(y))}catch(e){return null}}return null}var X,Q,ee,te=Object.prototype.hasOwnProperty,re={key:!0,ref:!0,__self:!0,__source:!0};function ne(e){if(te.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function oe(e){if(te.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}ee={};var ae=function(e,t,n,o,a,i,u){var l={$$typeof:r,type:e,key:t,ref:n,props:u,_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 ie(e,t,r){var n,o={},a=null,i=null,u=null,l=null;if(null!=t)for(n in ne(t)&&(i=t.ref,function(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=Z(w.current.type);ee[t]||(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),ee[t]=!0)}}(t)),oe(t)&&(G(t.key),a=""+t.key),u=void 0===t.__self?null:t.__self,l=void 0===t.__source?null:t.__source,t)te.call(t,n)&&!re.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=r;else if(c>1){for(var s=Array(c),f=0;f<c;f++)s[f]=arguments[f+2];Object.freeze&&Object.freeze(s),o.children=s}if(e&&e.defaultProps){var p=e.defaultProps;for(n in p)void 0===o[n]&&(o[n]=p[n])}if(a||i){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var r=function(){X||(X=!0,T("%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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,d),i&&function(e,t){var r=function(){Q||(Q=!0,T("%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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}(o,d)}return ae(e,a,i,u,l,w.current,o)}function ue(e,t,r){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n,o,a=L({},e.props),i=e.key,u=e.ref,l=e._self,c=e._source,s=e._owner;if(null!=t)for(n in ne(t)&&(u=t.ref,s=w.current),oe(t)&&(G(t.key),i=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)te.call(t,n)&&!re.hasOwnProperty(n)&&(void 0===t[n]&&void 0!==o?a[n]=o[n]:a[n]=t[n]);var f=arguments.length-2;if(1===f)a.children=r;else if(f>1){for(var p=Array(f),d=0;d<f;d++)p[d]=arguments[d+2];a.children=p}return ae(e.type,i,u,l,c,s,a)}function le(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var ce=".",se=":";var fe=!1,pe=/\/+/g;function de(e){return e.replace(pe,"$&/")}function ye(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(G(e.key),r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function me(e,t,o,a,i){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var l,c,s,f=!1;if(null===e)f=!0;else switch(u){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case r:case n:f=!0}}if(f){var p=e,d=i(p),y=""===a?ce+ye(p,0):a;if(Y(d)){var m="";null!=y&&(m=de(y)+"/"),me(d,t,m,"",(function(e){return e}))}else null!=d&&(le(d)&&(!d.key||p&&p.key===d.key||G(d.key),l=d,c=o+(!d.key||p&&p.key===d.key?"":de(""+d.key)+"/")+y,d=ae(l.type,c,l.ref,l._self,l._source,l._owner,l.props)),t.push(d));return 1}var h=0,g=""===a?ce:a+se;if(Y(e))for(var v=0;v<e.length;v++)h+=me(s=e[v],t,o,g+ye(s,v),i);else{var _=b(e);if("function"==typeof _){var w=e;_===w.entries&&(fe||P("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),fe=!0);for(var C,S=_.call(w),E=0;!(C=S.next()).done;)h+=me(s=C.value,t,o,g+ye(s,E++),i)}else if("object"===u){var k=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===k?"object with keys {"+Object.keys(e).join(", ")+"}":k)+"). If you meant to render a collection of children, use an array instead.")}}return h}function he(e,t,r){if(null==e)return e;var n=[],o=0;return me(e,n,"","",(function(e){return t.call(r,e,o++)})),n}var be,ge=-1,ve=0,_e=1,we=2;function Ce(e){if(e._status===ge){var t=(0,e._result)();if(t.then((function(t){if(e._status===ve||e._status===ge){var r=e;r._status=_e,r._result=t}}),(function(t){if(e._status===ve||e._status===ge){var r=e;r._status=we,r._result=t}})),e._status===ge){var r=e;r._status=ve,r._result=t}}if(e._status===_e){var n=e._result;return void 0===n&&T("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?",n),"default"in n||T("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),n.default}throw e._result}function Se(e){return"string"==typeof e||"function"==typeof e||(!!(e===o||e===i||j||e===a||e===s||e===f||R||e===y||k||O||x)||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===l||e.$$typeof===c||e.$$typeof===be||void 0!==e.getModuleId))}function Ee(){var e=g.current;return null===e&&T("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}be=Symbol.for("react.module.reference");var ke,Oe,xe,Re,je,De,Pe,Te=0;function Ne(){}Ne.__reactDisabledLog=!0;var $e,Ie=D.ReactCurrentDispatcher;function Ae(e,t,r){if(void 0===$e)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);$e=n&&n[1]||""}return"\n"+$e+e}var Le,Fe=!1,Me="function"==typeof WeakMap?WeakMap:Map;function Ve(e,t){if(!e||Fe)return"";var r,n=Le.get(e);if(void 0!==n)return n;Fe=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Ie.current,Ie.current=null,function(){if(0===Te){ke=console.log,Oe=console.info,xe=console.warn,Re=console.error,je=console.group,De=console.groupCollapsed,Pe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ne,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Te++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){r=e}Reflect.construct(e,[],i)}else{try{i.call()}catch(e){r=e}e.call(i.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var u=t.stack.split("\n"),l=r.stack.split("\n"),c=u.length-1,s=l.length-1;c>=1&&s>=0&&u[c]!==l[s];)s--;for(;c>=1&&s>=0;c--,s--)if(u[c]!==l[s]){if(1!==c||1!==s)do{if(c--,--s<0||u[c]!==l[s]){var f="\n"+u[c].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&Le.set(e,f),f}}while(c>=1&&s>=0);break}}}finally{Fe=!1,Ie.current=o,function(){if(0==--Te){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},e,{value:ke}),info:L({},e,{value:Oe}),warn:L({},e,{value:xe}),error:L({},e,{value:Re}),group:L({},e,{value:je}),groupCollapsed:L({},e,{value:De}),groupEnd:L({},e,{value:Pe})})}Te<0&&T("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",d=p?Ae(p):"";return"function"==typeof e&&Le.set(e,d),d}function Be(e,t,r){if(null==e)return"";if("function"==typeof e)return Ve(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Ae(e);switch(e){case s:return Ae("Suspense");case f:return Ae("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return Ve(e.render,!1);case p:return Be(e.type,t,r);case d:var n=e,o=n._payload,a=n._init;try{return Be(a(o),t,r)}catch(e){}}return""}Le=new Me;var ze,Ue={},He=D.ReactDebugCurrentFrame;function qe(e){if(e){var t=e._owner,r=Be(e.type,e._source,t?t.type:null);He.setExtraStackFrame(r)}else He.setExtraStackFrame(null)}function We(e){if(e){var t=e._owner;E(Be(e.type,e._source,t?t.type:null))}else E(null)}function Ye(){if(w.current){var e=Z(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ze=!1;var Ke={};function Ge(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=Ye();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!Ke[r]){Ke[r]=!0;var n="";e&&e._owner&&e._owner!==w.current&&(n=" It was passed a child from "+Z(e._owner.type)+"."),We(e),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),We(null)}}}function Je(e,t){if("object"==typeof e)if(Y(e))for(var r=0;r<e.length;r++){var n=e[r];le(n)&&Ge(n,t)}else if(le(e))e._store&&(e._store.validated=!0);else if(e){var o=b(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)le(a.value)&&Ge(a.value,t)}}function Ze(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==c&&r.$$typeof!==p)return;t=r.propTypes}if(t){var n=Z(r);!function(e,t,r,n,o){var a=Function.call.bind(te);for(var i in e)if(a(e,i)){var u=void 0;try{if("function"!=typeof e[i]){var l=Error((n||"React class")+": "+r+" 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}u=e[i](t,i,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){u=e}!u||u instanceof Error||(qe(o),T("%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).",n||"React class",r,i,typeof u),qe(null)),u instanceof Error&&!(u.message in Ue)&&(Ue[u.message]=!0,qe(o),T("Failed %s type: %s",r,u.message),qe(null))}}(t,e.props,"prop",n,e)}else if(void 0!==r.PropTypes&&!ze){ze=!0,T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Z(r)||"Unknown")}"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xe(e,t,n){var a,i,u=Se(e);if(!u){var l="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).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 c,s=null!=(a=t)&&void 0!==(i=a.__source)?"\n\nCheck your code at "+i.fileName.replace(/^.*[\\\/]/,"")+":"+i.lineNumber+".":"";l+=s||Ye(),null===e?c="null":Y(e)?c="array":void 0!==e&&e.$$typeof===r?(c="<"+(Z(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,T("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,l)}var f=ie.apply(this,arguments);if(null==f)return f;if(u)for(var p=2;p<arguments.length;p++)Je(arguments[p],e);return e===o?function(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){We(e),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),We(null);break}}null!==e.ref&&(We(e),T("Invalid attribute `ref` supplied to `React.Fragment`."),We(null))}(f):Ze(f),f}var Qe=!1;var et=!1,tt=null;var rt=0,nt=!1;function ot(e){e!==rt-1&&T("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),rt=e}function at(t,r,n){var o=_.current;if(null!==o)try{ut(o),function(t){if(null===tt)try{var r=("require"+Math.random()).slice(0,7),n=e&&e[r];tt=n.call(e,"timers").setImmediate}catch(e){tt=function(e){!1===et&&(et=!0,"undefined"==typeof MessageChannel&&T("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)}}tt(t)}((function(){0===o.length?(_.current=null,r(t)):at(t,r,n)}))}catch(e){n(e)}else r(t)}var it=!1;function ut(e){if(!it){it=!0;var t=0;try{for(;t<e.length;t++){var r=e[t];do{r=r(!0)}while(null!==r)}e.length=0}catch(r){throw e=e.slice(t+1),r}finally{it=!1}}}var lt=Xe,ct=function(e,t,r){for(var n=ue.apply(this,arguments),o=2;o<arguments.length;o++)Je(arguments[o],n.type);return Ze(n),n},st=function(e){var t=Xe.bind(null,e);return t.type=e,Qe||(Qe=!0,P("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 P("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},ft={map:he,forEach:function(e,t,r){he(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return he(e,(function(){t++})),t},toArray:function(e){return he(e,(function(e){return e}))||[]},only:function(e){if(!le(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=ft,t.Component=M,t.Fragment=o,t.Profiler=i,t.PureComponent=H,t.StrictMode=a,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=ct,t.createContext=function(e){var t={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:u,_context:t};var r=!1,n=!1,o=!1,a={$$typeof:l,_context:t};return Object.defineProperties(a,{Provider:{get:function(){return n||(n=!0,T("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 r||(r=!0,T("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){o||(P("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),o=!0)}}}),t.Consumer=a,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=lt,t.createFactory=st,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===p?T("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?T("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&T("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||T("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,r={$$typeof:c,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,e.name||e.displayName||(e.displayName=r)}}),r},t.isValidElement=le,t.lazy=function(e){var t,r,n={$$typeof:d,_payload:{_status:ge,_result:e},_init:Ce};return Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){T("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(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){T("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."),r=e,Object.defineProperty(n,"propTypes",{enumerable:!0})}}}),n},t.memo=function(e,t){Se(e)||T("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var r,n={$$typeof:p,type:e,compare:void 0===t?null:t};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,e.name||e.displayName||(e.displayName=t)}}),n},t.startTransition=function(e,t){var r=v.transition;v.transition={};var n=v.transition;v.transition._updatedFibers=new Set;try{e()}finally{if(v.transition=r,null===r&&n._updatedFibers)n._updatedFibers.size>10&&P("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."),n._updatedFibers.clear()}},t.unstable_act=function(e){var t=rt;rt++,null===_.current&&(_.current=[]);var r,n=_.isBatchingLegacy;try{if(_.isBatchingLegacy=!0,r=e(),!n&&_.didScheduleLegacyUpdate){var o=_.current;null!==o&&(_.didScheduleLegacyUpdate=!1,ut(o))}}catch(e){throw ot(t),e}finally{_.isBatchingLegacy=n}if(null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r,i=!1,u={then:function(e,r){i=!0,a.then((function(n){ot(t),0===rt?at(n,e,r):e(n)}),(function(e){ot(t),r(e)}))}};return nt||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){i||(nt=!0,T("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 () => ...);"))})),u}var l=r;if(ot(t),0===rt){var c=_.current;return null!==c&&(ut(c),_.current=null),{then:function(e,t){null===_.current?(_.current=[],at(l,e,t)):e(l)}}}return{then:function(e,t){e(l)}}},t.useCallback=function(e,t){return Ee().useCallback(e,t)},t.useContext=function(e){var t=Ee();if(void 0!==e._context){var r=e._context;r.Consumer===e?T("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&&T("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return Ee().useDebugValue(e,t)},t.useDeferredValue=function(e){return Ee().useDeferredValue(e)},t.useEffect=function(e,t){return Ee().useEffect(e,t)},t.useId=function(){return Ee().useId()},t.useImperativeHandle=function(e,t,r){return Ee().useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return Ee().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return Ee().useLayoutEffect(e,t)},t.useMemo=function(e,t){return Ee().useMemo(e,t)},t.useReducer=function(e,t,r){return Ee().useReducer(e,t,r)},t.useRef=function(e){return Ee().useRef(e)},t.useState=function(e){return Ee().useState(e)},t.useSyncExternalStore=function(e,t,r){return Ee().useSyncExternalStore(e,t,r)},t.useTransition=function(){return Ee().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}));B.Children,B.Component,B.Fragment,B.Profiler,B.PureComponent,B.StrictMode,B.Suspense,B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,B.cloneElement,B.createContext,B.createElement,B.createFactory,B.createRef,B.forwardRef,B.isValidElement,B.lazy,B.memo,B.startTransition,B.unstable_act,B.useCallback,B.useContext,B.useDebugValue,B.useDeferredValue,B.useEffect,B.useId,B.useImperativeHandle,B.useInsertionEffect,B.useLayoutEffect,B.useMemo,B.useReducer,B.useRef,B.useState,B.useSyncExternalStore,B.useTransition,B.version;var z=u((function(e){"production"===process.env.NODE_ENV?e.exports=V:e.exports=B}));var U={tableCompContainer:"Datablify-module_tableCompContainer__ysFTk",tableContainer:"Datablify-module_tableContainer__K5Vxu",viewAndSearch:"Datablify-module_viewAndSearch__DtD6-",limitViewContainer:"Datablify-module_limitViewContainer__ZUEvV",tableRow:"Datablify-module_tableRow__sM1yG",title:"Datablify-module_title__M83Zq",rowData:"Datablify-module_rowData__gK-1h",searchInput:"Datablify-module_searchInput__-PGty",spaninfo:"Datablify-module_spaninfo__sc8Xf",errorContainer:"Datablify-module_errorContainer__R-cD8",errorTitle:"Datablify-module_errorTitle__BvTkv",errorText:"Datablify-module_errorText__ZMZHS",errorCompare:"Datablify-module_errorCompare__rOIaJ",counter:"Datablify-module_counter__sA54y",myTooltip:"Datablify-module_myTooltip__fHECj",show:"Datablify-module_show__xzB-E",notFound:"Datablify-module_notFound__AwKNP",pagination:"Datablify-module_pagination__3PJfW",paginationButton:"Datablify-module_paginationButton__gjdRl"};!function(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("* {\r\n box-sizing: border-box;\r\n margin: 0;\r\n padding: 0;\r\n}\r\n\r\n.Datablify-module_tableCompContainer__ysFTk {\r\n width: 100%;\r\n /* max-width: 80vw;\r\n min-width: 770px; */\r\n /* padding: 20px; */\r\n /* background-color: aqua; */\r\n}\r\n\r\n\r\n.Datablify-module_tableContainer__K5Vxu {\r\n background-color: rgb(255, 255, 255);\r\n width: 100%;\r\n min-width: 900px;\r\n border-spacing:0; /* Removes the cell spacing via CSS */\r\n border-collapse: collapse; \r\n}\r\n\r\n.Datablify-module_viewAndSearch__DtD6- {\r\n display: flex;\r\n justify-content: space-between;\r\n margin-bottom: 10px;\r\n align-items: center;\r\n}\r\n\r\n.Datablify-module_limitViewContainer__ZUEvV {\r\n display: flex;\r\n align-items: center;\r\n column-gap: 10px;\r\n}\r\n\r\n.Datablify-module_tableRow__sM1yG:hover {\r\n background-color: #5e5e68;\r\n color: white;\r\n}\r\n\r\n.Datablify-module_title__M83Zq {\r\n font-family: 'Poppins', sans-serif;\r\n font-size: 12px;\r\n background-color: #161618;\r\n color: white;\r\n border: 1px solid black;\r\n padding: 3px 7px;\r\n text-align: start;\r\n}\r\n\r\n.Datablify-module_rowData__gK-1h {\r\n font-family: 'Poppins', sans-serif;\r\n font-size: 12px;\r\n border-left: 1px solid black;\r\n border-right: 1px solid black;\r\n padding: 3px 8px;\r\n cursor: pointer;\r\n /* beautiful cubic bezier */\r\n /* transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1); */\r\n}\r\n\r\n.Datablify-module_rowData__gK-1h:hover {\r\n background-color: #161618;\r\n color: white;\r\n /* transition: all 0.05s cubic-bezier(0.25, 0.8, 0.25, 1); */\r\n}\r\n\r\n\r\n.Datablify-module_searchInput__-PGty {\r\n width: 200px;\r\n height: 30px;\r\n border: 1px solid black;\r\n border-radius: 5px;\r\n padding: 0 10px;\r\n font-family: 'Poppins', sans-serif;\r\n font-size: 12px;\r\n}\r\n\r\n.Datablify-module_spaninfo__sc8Xf {\r\n font-family: 'Poppins', sans-serif;\r\n font-size: 18px;\r\n color: rgb(0, 0, 0);\r\n font-weight: 600;\r\n}\r\n\r\n.Datablify-module_errorContainer__R-cD8 {\r\n border: 2px dashed rgb(22, 22, 22);\r\n width: fit-content;\r\n padding: 10px;\r\n}\r\n\r\n.Datablify-module_errorTitle__BvTkv {\r\n font-family: 'Poppins', sans-serif;\r\n font-size: 32px;\r\n color: rgb(0, 0, 0);\r\n font-weight: 600;\r\n}\r\n\r\n.Datablify-module_errorText__ZMZHS {\r\n font-family: 'Poppins', sans-serif;\r\n font-size: 18px;\r\n color: rgb(0, 0, 0);\r\n font-weight: 600;\r\n}\r\n\r\n.Datablify-module_errorCompare__rOIaJ {\r\n font-family: 'Poppins', sans-serif;\r\n font-size: 18px;\r\n color: rgb(0, 0, 0);\r\n font-weight: 600;\r\n}\r\n\r\n.Datablify-module_counter__sA54y {\r\n font-family: 'Poppins', sans-serif;\r\n font-size: 18px;\r\n color: rgb(250, 73, 73);\r\n font-weight: 600;\r\n}\r\n\r\n.Datablify-module_myTooltip__fHECj {\r\n position: relative;\r\n display: inline-block;\r\n border-bottom: 1px dotted black;\r\n}\r\n\r\n.Datablify-module_show__xzB-E {\r\n visibility: visible;\r\n opacity: 1;\r\n transition: opacity 1s;\r\n}\r\n\r\n.Datablify-module_notFound__AwKNP {\r\n display: none;\r\n}\r\n\r\n.Datablify-module_pagination__3PJfW {\r\n width: 100%;\r\n height: 40px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n /* margin-top: 20px; */\r\n}\r\n\r\n.Datablify-module_paginationButton__gjdRl:hover {\r\n background-color: #c0baba;\r\n Color: #333333;\r\n cursor: pointer;\r\n transition: all 0.3s ease-in-out;\r\n}\r\n\r\n.Datablify-module_paginationButton__gjdRl {\r\n background-color: #201f1f;\r\n Color: #fff;\r\n font-family: 'Poppins', sans-serif;\r\n min-width: 30px;\r\n height: 30px;\r\n border: none;\r\n border-radius: 3px;\r\n font-weight: 500;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin: 0 5px;\r\n}\r\n@media screen and (max-width: 550px) {\r\n .Datablify-module_viewAndSearch__DtD6- {\r\n flex-direction: column;\r\n align-items: flex-start;\r\n row-gap: 10px;\r\n width: 100%;\r\n \r\n }\r\n \r\n .Datablify-module_viewAndSearch__DtD6- :nth-child(1) { order: 1; }\r\n .Datablify-module_viewAndSearch__DtD6- :nth-child(2) { order: 3; } \r\n .Datablify-module_viewAndSearch__DtD6- :nth-child(3) { order: 2; }\r\n\r\n\r\n .Datablify-module_pagination__3PJfW {\r\n justify-content: flex-start;\r\n }\r\n }");var H=function(e){var t=e.nPages,r=e.currentPage,n=e.setCurrentPage,a=o(Array(t+1).keys()).slice(1),i=function(e){if(e===r)return"black"},u=function(e){if(e===r)return"white"};return z.createElement("div",{className:U.pagination},2===r?z.createElement(z.Fragment,null,z.createElement("button",{key:1,className:U.paginationButton,onClick:function(){return n(1)},style:{order:0,color:i(1),backgroundColor:u(1)}},1)):z.createElement(z.Fragment,null,z.createElement("button",{key:1,className:U.paginationButton,onClick:function(){return n(1)},style:{order:0,color:i(1),backgroundColor:u(1)}},1),z.createElement("button",{className:U.paginationButton,style:{order:1},onClick:function(){1!==r&&console.log(r),n(r<=1?a.length:r-1)}},z.createElement("span",{className:U.paginationButtonIcon},"<"))),z.createElement("button",{key:r,className:U.paginationButton,onClick:function(){return n(r)},style:{order:2,color:i(r),backgroundColor:u(r)}},r),r===a.length-1?z.createElement(z.Fragment,null,z.createElement("button",{key:a.length,className:U.paginationButton,onClick:function(){return n(a.length)},style:{order:a.length+1,color:i(a.length),backgroundColor:u(a.length)}},a.length)):z.createElement(z.Fragment,null,z.createElement("button",{key:a.length,className:U.paginationButton,onClick:function(){return n(a.length)},style:{order:a.length+2,color:i(a.length),backgroundColor:u(a.length)}},a.length),z.createElement("button",{className:U.paginationButton,style:{order:a.length+1},onClick:function(){r!==t&&console.log(r),n(r>=t?1:r+1)}},z.createElement("span",{className:U.paginationButtonIcon},">"))))};exports.Datablify=function(e){var r=e.data,a=n(z.useState("#020202"),2),i=a[0],u=a[1],l=n(z.useState("#020202"),2),c=l[0],s=l[1],f=n(z.useState(0),2),p=f[0],d=f[1],y=n(z.useState("asc"),2),m=y[0],h=y[1],b=n(z.useState({activeCategory:"",direction:""}),2),g=b[0],v=b[1],_=n(z.useState(o(r)),2),w=_[0],C=_[1],S=n(z.useState(1),2),E=S[0],k=S[1],O=n(z.useState(10),2),x=O[0],R=O[1],j=n(z.useState(""),2),D=j[0],P=j[1],T=E*x,N=T-x,$=w.slice(N,T),I=e.categories,A=I.length===Object.keys(r[0]).length,L=e.headColor?e.headColor:"black",F=e.titleHeadColor?e.titleHeadColor:"white",M=null,V=Math.ceil(w.length/x),B=n(z.useState(!0),2),q=B[0],W=B[1];z.useEffect((function(){u(L),s(F)}),[L,F]),z.useEffect((function(){var e=r.filter((function(e){return Object.values(e).join(" ").toLowerCase().includes(D)}));0===e.length?C([{"No data found":"no data found"}]):C(e),k(1),W((function(e){return!e}))}),[D]),z.useEffect((function(){var e=o(w);if(null!==p&&null!==m){var t="asc"===m;e.sort((function(e,r){var n=e[Object.keys(e)[p]],o=r[Object.keys(r)[p]];return t?n<o?-1:n>o?1:0:n>o?-1:n<o?1:0}))}C(e)}),[q,p,m]);var Y=function(e,t){return Object.entries(e).map((function(e){var r=n(e,2);r[0];var o=r[1];return z.createElement("td",{key:t+Math.random(),className:U.rowData,style:{textAlign:"start"},onClick:function(e){return function(e){if(null===M){var t=e.target.innerText;navigator.clipboard.writeText(t),e.target.innerText="Copied",M=setTimeout((function(){e.target.innerText=t,M=null}),750)}}(e)}},o)}))},K=function(e){p===e?h("asc"===m?"desc":"asc"):(d(e),h("asc"))},G=function(e){var t=e.target.value.toLowerCase();P(t)};return console.log("hello"),z.createElement("section",{className:U.tableCompContainer,style:{overflowX:"auto"}},A?z.createElement(z.Fragment,null,z.createElement("div",{className:U.viewAndSearch},z.createElement("div",{className:U.limitViewContainer},z.createElement("span",{className:U.spaninfo},"Show"),z.createElement("select",{onChange:function(e){return function(e){var t=Number(e.target.value);R(t),k(1)}(e)}},z.createElement("option",{value:"10"},"10"),z.createElement("option",{value:"25"},"25"),z.createElement("option",{value:"50"},"50"),z.createElement("option",{value:"100"},"100")),z.createElement("span",{className:U.spaninfo},"entries")),z.createElement(H,{nPages:V,currentPage:E,setCurrentPage:k}),z.createElement("div",null,z.createElement("input",{onKeyUp:function(e){return G(e)},onPaste:function(e){return G(e)},type:"text",className:U.searchInput,placeholder:"Search..."}))),z.createElement("table",{className:U.tableContainer},z.createElement("thead",null,z.createElement("tr",{className:"".concat(U.categoryHandle," categoryHandleStyle")},function(e){return e.map((function(e,r){return z.createElement("th",{key:r,className:U.title,style:{backgroundColor:i,color:c},onClick:function(){g.activeCategory===e?v(t(t({},g),{},{direction:"asc"===g.direction?"desc":"asc"})):v({activeCategory:e,direction:"asc"}),K(r)}},e,g.activeCategory===e&&("asc"===g.direction?" ▲":" ▼"))}))}(I))),z.createElement("tbody",null,null==$?void 0:$.map((function(e,t){return z.createElement("tr",{className:"".concat(U.tableRow," tableRowLimit"),key:t},Y(e,t))})),z.createElement("tr",{className:"dataTables_empty",style:{display:"none"}},z.createElement("td",null,"No matching records found"))))):function(e,t){return z.createElement("div",{className:U.errorContainer},z.createElement("h1",{className:U.errorTitle},"Error"),z.createElement("p",{className:U.errorText},"Categories and datas are not corresponding"),z.createElement("p",{className:U.errorCompare},"you have ",z.createElement("span",{className:U.counter},t.length)," categories and"," ",z.createElement("span",{className:U.counter},Object.keys(e[0]).length)," value(s) per row"," "))}(r,I))};