@ekidpro/ui.portlet
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -1,20 +0,2 @@ | ||
"use strict";function e(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}Object.defineProperty(exports,"__esModule",{value:!0});var t={exports:{}},r={},n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var u=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,u,c=i(e),s=1;s<arguments.length;s++){for(var l in r=Object(arguments[s]))o.call(r,l)&&(c[l]=r[l]);if(n){u=n(r);for(var f=0;f<u.length;f++)a.call(r,u[f])&&(c[u[f]]=r[u[f]])}}return c},c=e(Object.freeze(Object.assign(Object.create(null),u,{default:u}))),s={exports:{}},l={},f=c,p=60103,d=60106,y=l.Fragment=60107,v=l.StrictMode=60108,m=l.Profiler=60114,h=60109,g=60110,b=60112,_=l.Suspense=60113,w=60115,j=60116;if("function"==typeof Symbol&&Symbol.for){var O=Symbol.for;p=O("react.element"),d=O("react.portal"),y=l.Fragment=O("react.fragment"),v=l.StrictMode=O("react.strict_mode"),m=l.Profiler=O("react.profiler"),h=O("react.provider"),g=O("react.context"),b=O("react.forward_ref"),_=l.Suspense=O("react.suspense"),w=O("react.memo"),j=O("react.lazy")}var k="function"==typeof Symbol&&Symbol.iterator;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S={};function E(e,t,r){this.props=e,this.context=t,this.refs=S,this.updater=r||C}function P(){}function x(e,t,r){this.props=e,this.context=t,this.refs=S,this.updater=r||C}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(R(85));this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},P.prototype=E.prototype;var $=x.prototype=new P;$.constructor=x,f($,E.prototype),$.isPureReactComponent=!0;var T={current:null},N=Object.prototype.hasOwnProperty,F={key:!0,ref:!0,__self:!0,__source:!0};function D(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)N.call(t,n)&&!F.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:p,type:e,key:a,ref:i,props:o,_owner:T.current}}function I(e){return"object"==typeof e&&null!==e&&e.$$typeof===p}var A=/\/+/g;function U(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 L(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 p:case d:i=!0}}if(i)return o=o(i=e),e=""===n?"."+U(i,0):n,Array.isArray(o)?(r="",null!=e&&(r=e.replace(A,"$&/")+"/"),L(o,t,r,"",(function(e){return e}))):null!=o&&(I(o)&&(o=function(e,t){return{$$typeof:p,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(A,"$&/")+"/")+e)),t.push(o)),1;if(i=0,n=""===n?".":n+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=n+U(a=e[u],u);i+=L(a,t,r,c,o)}else if("function"==typeof(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=k&&e[k]||e["@@iterator"])?e:null}(e)))for(e=c.call(e),u=0;!(a=e.next()).done;)i+=L(a=a.value,t,r,c=n+U(a,u++),o);else if("object"===a)throw t=""+e,Error(R(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return i}function M(e,t,r){if(null==e)return e;var n=[],o=0;return L(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function z(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var W={current:null};function V(){var e=W.current;if(null===e)throw Error(R(321));return e}var q={ReactCurrentDispatcher:W,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:f},Y=l.Children={map:M,forEach:function(e,t,r){M(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return M(e,(function(){t++})),t},toArray:function(e){return M(e,(function(e){return e}))||[]},only:function(e){if(!I(e))throw Error(R(143));return e}},B=l.Component=E,H=l.PureComponent=x,J=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q,X=l.cloneElement=function(e,t,r){if(null==e)throw Error(R(267,e));var n=f({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=T.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)N.call(t,c)&&!F.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:p,type:e.type,key:o,ref:a,props:n,_owner:i}},G=l.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:g,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:h,_context:e},e.Consumer=e},K=l.createElement=D,Q=l.createFactory=function(e){var t=D.bind(null,e);return t.type=e,t},Z=l.createRef=function(){return{current:null}},ee=l.forwardRef=function(e){return{$$typeof:b,render:e}},te=l.isValidElement=I,re=l.lazy=function(e){return{$$typeof:j,_payload:{_status:-1,_result:e},_init:z}},ne=l.memo=function(e,t){return{$$typeof:w,type:e,compare:void 0===t?null:t}},oe=l.useCallback=function(e,t){return V().useCallback(e,t)},ae=l.useContext=function(e,t){return V().useContext(e,t)},ie=l.useDebugValue=function(){},ue=l.useEffect=function(e,t){return V().useEffect(e,t)},ce=l.useImperativeHandle=function(e,t,r){return V().useImperativeHandle(e,t,r)},se=l.useLayoutEffect=function(e,t){return V().useLayoutEffect(e,t)},le=l.useMemo=function(e,t){return V().useMemo(e,t)},fe=l.useReducer=function(e,t,r){return V().useReducer(e,t,r)},pe=l.useRef=function(e){return V().useRef(e)},de=l.useState=function(e){return V().useState(e)},ye=l.version="17.0.2",ve=e(Object.freeze(Object.assign(Object.create(null),l,{default:l,get Fragment(){return y},get StrictMode(){return v},get Profiler(){return m},get Suspense(){return _},Children:Y,Component:B,PureComponent:H,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:J,cloneElement:X,createContext:G,createElement:K,createFactory:Q,createRef:Z,forwardRef:ee,isValidElement:te,lazy:re,memo:ne,useCallback:oe,useContext:ae,useDebugValue:ie,useEffect:ue,useImperativeHandle:ce,useLayoutEffect:se,useMemo:le,useReducer:fe,useRef:pe,useState:de,version:ye}))),me={}; | ||
/** @license React v17.0.2 | ||
* 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. | ||
*/ | ||
!function(e){"production"!==process.env.NODE_ENV&&function(){var t=c,r=60103,n=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var o=60109,a=60110,i=60112;e.Suspense=60113;var u=60120,s=60115,l=60116,f=60121,p=60122,d=60117,y=60129,v=60131;if("function"==typeof Symbol&&Symbol.for){var m=Symbol.for;r=m("react.element"),n=m("react.portal"),e.Fragment=m("react.fragment"),e.StrictMode=m("react.strict_mode"),e.Profiler=m("react.profiler"),o=m("react.provider"),a=m("react.context"),i=m("react.forward_ref"),e.Suspense=m("react.suspense"),u=m("react.suspense_list"),s=m("react.memo"),l=m("react.lazy"),f=m("react.block"),p=m("react.server.block"),d=m("react.fundamental"),m("react.scope"),m("react.opaque.id"),y=m("react.debug_trace_mode"),m("react.offscreen"),v=m("react.legacy_hidden")}var h="function"==typeof Symbol&&Symbol.iterator;function g(e){if(null===e||"object"!=typeof e)return null;var t=h&&e[h]||e["@@iterator"];return"function"==typeof t?t:null}var b={current:null},_={current:null},w={},j=null;function O(e){j=e}w.setExtraStackFrame=function(e){j=e},w.getCurrentStack=null,w.getStackAddendum=function(){var e="";j&&(e+=j);var t=w.getCurrentStack;return t&&(e+=t()||""),e};var k={ReactCurrentDispatcher:b,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:t};function R(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];S("warn",e,r)}function C(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];S("error",e,r)}function S(e,t,r){var n=k.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return""+e}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}k.ReactDebugCurrentFrame=w;var E={};function P(e,t){var r=e.constructor,n=r&&(r.displayName||r.name)||"ReactClass",o=n+"."+t;E[o]||(C("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,n),E[o]=!0)}var x={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,r){P(e,"forceUpdate")},enqueueReplaceState:function(e,t,r,n){P(e,"replaceState")},enqueueSetState:function(e,t,r,n){P(e,"setState")}},$={};function T(e,t,r){this.props=e,this.context=t,this.refs=$,this.updater=r||x}Object.freeze($),T.prototype.isReactComponent={},T.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")},T.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)."]},F=function(e,t){Object.defineProperty(T.prototype,e,{get:function(){R("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var D in N)N.hasOwnProperty(D)&&F(D,N[D]);function I(){}function A(e,t,r){this.props=e,this.context=t,this.refs=$,this.updater=r||x}I.prototype=T.prototype;var U=A.prototype=new I;function L(e){return e.displayName||"Context"}function M(t){if(null==t)return null;if("number"==typeof t.tag&&C("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case e.Fragment:return"Fragment";case n:return"Portal";case e.Profiler:return"Profiler";case e.StrictMode:return"StrictMode";case e.Suspense:return"Suspense";case u:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case a:return L(t)+".Consumer";case o:return L(t._context)+".Provider";case i:return d=t,y=t.render,v="ForwardRef",m=y.displayName||y.name||"",d.displayName||(""!==m?v+"("+m+")":v);case s:return M(t.type);case f:return M(t._render);case l:var r=t,c=r._payload,p=r._init;try{return M(p(c))}catch(e){return null}}var d,y,v,m;return null}U.constructor=A,t(U,T.prototype),U.isPureReactComponent=!0;var z,W,V,q=Object.prototype.hasOwnProperty,Y={key:!0,ref:!0,__self:!0,__source:!0};function B(e){if(q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function H(e){if(q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function J(e,t){var r=function(){z||(z=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}function X(e,t){var r=function(){W||(W=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}function G(e){if("string"==typeof e.ref&&_.current&&e.__self&&_.current.stateNode!==e.__self){var t=M(_.current.type);V[t]||(C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),V[t]=!0)}}V={};var K=function(e,t,n,o,a,i,u){var c={$$typeof:r,type:e,key:t,ref:n,props:u,_owner:i,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function Q(e,t,r){var n,o={},a=null,i=null,u=null,c=null;if(null!=t)for(n in B(t)&&(i=t.ref,G(t)),H(t)&&(a=""+t.key),u=void 0===t.__self?null:t.__self,c=void 0===t.__source?null:t.__source,t)q.call(t,n)&&!Y.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=r;else if(s>1){for(var l=Array(s),f=0;f<s;f++)l[f]=arguments[f+2];Object.freeze&&Object.freeze(l),o.children=l}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&&J(o,d),i&&X(o,d)}return K(e,a,i,u,c,_.current,o)}function Z(e,r,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o,a,i=t({},e.props),u=e.key,c=e.ref,s=e._self,l=e._source,f=e._owner;if(null!=r)for(o in B(r)&&(c=r.ref,f=_.current),H(r)&&(u=""+r.key),e.type&&e.type.defaultProps&&(a=e.type.defaultProps),r)q.call(r,o)&&!Y.hasOwnProperty(o)&&(void 0===r[o]&&void 0!==a?i[o]=a[o]:i[o]=r[o]);var p=arguments.length-2;if(1===p)i.children=n;else if(p>1){for(var d=Array(p),y=0;y<p;y++)d[y]=arguments[y+2];i.children=d}return K(e.type,u,c,s,l,f,i)}function ee(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var te=!1,re=/\/+/g;function ne(e){return e.replace(re,"$&/")}function oe(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function ae(e,t,o,a,i){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var c,s,l,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?"."+oe(p,0):a;if(Array.isArray(d)){var v="";null!=y&&(v=ne(y)+"/"),ae(d,t,v,"",(function(e){return e}))}else null!=d&&(ee(d)&&(c=d,s=o+(!d.key||p&&p.key===d.key?"":ne(""+d.key)+"/")+y,d=K(c.type,s,c.ref,c._self,c._source,c._owner,c.props)),t.push(d));return 1}var m=0,h=""===a?".":a+":";if(Array.isArray(e))for(var b=0;b<e.length;b++)m+=ae(l=e[b],t,o,h+oe(l,b),i);else{var _=g(e);if("function"==typeof _){var w=e;_===w.entries&&(te||R("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),te=!0);for(var j,O=_.call(w),k=0;!(j=O.next()).done;)m+=ae(l=j.value,t,o,h+oe(l,k++),i)}else if("object"===u){var C=""+e;throw Error("Objects are not valid as a React child (found: "+("[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C)+"). If you meant to render a collection of children, use an array instead.")}}return m}function ie(e,t,r){if(null==e)return e;var n=[],o=0;return ae(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function ue(e){if(-1===e._status){var t=(0,e._result)(),r=e;r._status=0,r._result=t,t.then((function(t){if(0===e._status){var r=t.default;void 0===r&&C("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t);var n=e;n._status=1,n._result=r}}),(function(t){if(0===e._status){var r=e;r._status=2,r._result=t}}))}if(1===e._status)return e._result;throw e._result}function ce(t){return"string"==typeof t||"function"==typeof t||(t===e.Fragment||t===e.Profiler||t===y||t===e.StrictMode||t===e.Suspense||t===u||t===v||"object"==typeof t&&null!==t&&(t.$$typeof===l||t.$$typeof===s||t.$$typeof===o||t.$$typeof===a||t.$$typeof===i||t.$$typeof===d||t.$$typeof===f||t[0]===p))}function se(){var e=b.current;if(null===e)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return e}var le,fe,pe,de,ye,ve,me,he=0;function ge(){}ge.__reactDisabledLog=!0;var be,_e=k.ReactCurrentDispatcher;function we(e,t,r){if(void 0===be)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);be=n&&n[1]||""}return"\n"+be+e}var je,Oe=!1,ke="function"==typeof WeakMap?WeakMap:Map;function Re(e,r){if(!e||Oe)return"";var n,o=je.get(e);if(void 0!==o)return o;Oe=!0;var a,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,a=_e.current,_e.current=null,function(){if(0===he){le=console.log,fe=console.info,pe=console.warn,de=console.error,ye=console.group,ve=console.groupCollapsed,me=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ge,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}he++}();try{if(r){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(u,[])}catch(e){n=e}Reflect.construct(e,[],u)}else{try{u.call()}catch(e){n=e}e.call(u.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var c=t.stack.split("\n"),s=n.stack.split("\n"),l=c.length-1,f=s.length-1;l>=1&&f>=0&&c[l]!==s[f];)f--;for(;l>=1&&f>=0;l--,f--)if(c[l]!==s[f]){if(1!==l||1!==f)do{if(l--,--f<0||c[l]!==s[f]){var p="\n"+c[l].replace(" at new "," at ");return"function"==typeof e&&je.set(e,p),p}}while(l>=1&&f>=0);break}}}finally{Oe=!1,_e.current=a,function(){if(0==--he){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t({},e,{value:le}),info:t({},e,{value:fe}),warn:t({},e,{value:pe}),error:t({},e,{value:de}),group:t({},e,{value:ye}),groupCollapsed:t({},e,{value:ve}),groupEnd:t({},e,{value:me})})}he<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var d=e?e.displayName||e.name:"",y=d?we(d):"";return"function"==typeof e&&je.set(e,y),y}function Ce(e,t,r){return Re(e,!1)}function Se(t,r,n){if(null==t)return"";if("function"==typeof t)return Re(t,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(t));if("string"==typeof t)return we(t);switch(t){case e.Suspense:return we("Suspense");case u:return we("SuspenseList")}if("object"==typeof t)switch(t.$$typeof){case i:return Ce(t.render);case s:return Se(t.type,r,n);case f:return Ce(t._render);case l:var o=t,a=o._payload,c=o._init;try{return Se(c(a),r,n)}catch(e){}}return""}je=new ke;var Ee,Pe={},xe=k.ReactDebugCurrentFrame;function $e(e){if(e){var t=e._owner,r=Se(e.type,e._source,t?t.type:null);xe.setExtraStackFrame(r)}else xe.setExtraStackFrame(null)}function Te(e){if(e){var t=e._owner;O(Se(e.type,e._source,t?t.type:null))}else O(null)}function Ne(){if(_.current){var e=M(_.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function Fe(e){return null!=e&&void 0!==(t=e.__source)?"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+".":"";var t}Ee=!1;var De={};function Ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=Ne();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(!De[r]){De[r]=!0;var n="";e&&e._owner&&e._owner!==_.current&&(n=" It was passed a child from "+M(e._owner.type)+"."),Te(e),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),Te(null)}}}function Ae(e,t){if("object"==typeof e)if(Array.isArray(e))for(var r=0;r<e.length;r++){var n=e[r];ee(n)&&Ie(n,t)}else if(ee(e))e._store&&(e._store.validated=!0);else if(e){var o=g(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ee(a.value)&&Ie(a.value,t)}}function Ue(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!==i&&r.$$typeof!==s)return;t=r.propTypes}if(t){var n=M(r);!function(e,t,r,n,o){var a=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(a(e,i)){var u=void 0;try{if("function"!=typeof e[i]){var c=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 c.name="Invariant Violation",c}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||($e(o),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",r,i,typeof u),$e(null)),u instanceof Error&&!(u.message in Pe)&&(Pe[u.message]=!0,$e(o),C("Failed %s type: %s",r,u.message),$e(null))}}(t,e.props,"prop",n,e)}else if(void 0!==r.PropTypes&&!Ee){Ee=!0,C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",M(r)||"Unknown")}"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Le(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){Te(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),Te(null);break}}null!==e.ref&&(Te(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),Te(null))}function Me(t,n,o){var a=ce(t);if(!a){var i="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var u,c=Fe(n);i+=c||Ne(),null===t?u="null":Array.isArray(t)?u="array":void 0!==t&&t.$$typeof===r?(u="<"+(M(t.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):u=typeof t,C("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,i)}var s=Q.apply(this,arguments);if(null==s)return s;if(a)for(var l=2;l<arguments.length;l++)Ae(arguments[l],t);return t===e.Fragment?Le(s):Ue(s),s}var ze=!1;try{var We=Object.freeze({});new Map([[We,null]]),new Set([We])}catch(e){}var Ve=Me,qe=function(e,t,r){for(var n=Z.apply(this,arguments),o=2;o<arguments.length;o++)Ae(arguments[o],n.type);return Ue(n),n},Ye=function(e){var t=Me.bind(null,e);return t.type=e,ze||(ze=!0,R("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 R("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},Be={map:ie,forEach:function(e,t,r){ie(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return ie(e,(function(){t++})),t},toArray:function(e){return ie(e,(function(e){return e}))||[]},only:function(e){if(!ee(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};e.Children=Be,e.Component=T,e.PureComponent=A,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=k,e.cloneElement=qe,e.createContext=function(e,t){void 0===t?t=null:null!==t&&"function"!=typeof t&&C("createContext: Expected the optional second argument to be a function. Instead received: %s",t);var r={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null};r.Provider={$$typeof:o,_context:r};var n=!1,i=!1,u=!1,c={$$typeof:a,_context:r,_calculateChangedBits:r._calculateChangedBits};return Object.defineProperties(c,{Provider:{get:function(){return i||(i=!0,C("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),r.Provider},set:function(e){r.Provider=e}},_currentValue:{get:function(){return r._currentValue},set:function(e){r._currentValue=e}},_currentValue2:{get:function(){return r._currentValue2},set:function(e){r._currentValue2=e}},_threadCount:{get:function(){return r._threadCount},set:function(e){r._threadCount=e}},Consumer:{get:function(){return n||(n=!0,C("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),r.Consumer}},displayName:{get:function(){return r.displayName},set:function(e){u||(R("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),u=!0)}}}),r.Consumer=c,r._currentRenderer=null,r._currentRenderer2=null,r},e.createElement=Ve,e.createFactory=Ye,e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(e){null!=e&&e.$$typeof===s?C("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?C("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&C("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||C("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,r={$$typeof:i,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,null==e.displayName&&(e.displayName=r)}}),r},e.isValidElement=ee,e.lazy=function(e){var t,r,n={$$typeof:l,_payload:{_status:-1,_result:e},_init:ue};return Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){C("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){C("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),r=e,Object.defineProperty(n,"propTypes",{enumerable:!0})}}}),n},e.memo=function(e,t){ce(e)||C("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var r,n={$$typeof:s,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,null==e.displayName&&(e.displayName=t)}}),n},e.useCallback=function(e,t){return se().useCallback(e,t)},e.useContext=function(e,t){var r=se();if(void 0!==t&&C("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",t,"number"==typeof t&&Array.isArray(arguments[2])?"\n\nDid you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://reactjs.org/link/rules-of-hooks":""),void 0!==e._context){var n=e._context;n.Consumer===e?C("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&C("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return r.useContext(e,t)},e.useDebugValue=function(e,t){return se().useDebugValue(e,t)},e.useEffect=function(e,t){return se().useEffect(e,t)},e.useImperativeHandle=function(e,t,r){return se().useImperativeHandle(e,t,r)},e.useLayoutEffect=function(e,t){return se().useLayoutEffect(e,t)},e.useMemo=function(e,t){return se().useMemo(e,t)},e.useReducer=function(e,t,r){return se().useReducer(e,t,r)},e.useRef=function(e){return se().useRef(e)},e.useState=function(e){return se().useState(e)},e.version="17.0.2"}()}(me);var he=e(Object.freeze(Object.assign(Object.create(null),me,{default:me})));"production"===process.env.NODE_ENV?s.exports=ve:s.exports=he;var ge=s.exports,be=e(Object.freeze(Object.assign(Object.create(null),s.exports,{default:ge}))),_e=be,we=60103,je=r.Fragment=60107;if("function"==typeof Symbol&&Symbol.for){var Oe=Symbol.for;we=Oe("react.element"),je=r.Fragment=Oe("react.fragment")}var ke=_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Re=Object.prototype.hasOwnProperty,Ce={key:!0,ref:!0,__self:!0,__source:!0};function Se(e,t,r){var n,o={},a=null,i=null;for(n in void 0!==r&&(a=""+r),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)Re.call(t,n)&&!Ce.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:we,type:e,key:a,ref:i,props:o,_owner:ke.current}}var Ee=r.jsx=Se,Pe=r.jsxs=Se,xe=e(Object.freeze(Object.assign(Object.create(null),r,{default:r,get Fragment(){return je},jsx:Ee,jsxs:Pe}))),$e={}; | ||
/** @license React v17.0.2 | ||
* 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. | ||
*/ | ||
!function(e){"production"!==process.env.NODE_ENV&&function(){var t=be,r=c,n=60103,o=60106;e.Fragment=60107;var a=60108,i=60114,u=60109,s=60110,l=60112,f=60113,p=60120,d=60115,y=60116,v=60121,m=60122,h=60117,g=60129,b=60131;if("function"==typeof Symbol&&Symbol.for){var _=Symbol.for;n=_("react.element"),o=_("react.portal"),e.Fragment=_("react.fragment"),a=_("react.strict_mode"),i=_("react.profiler"),u=_("react.provider"),s=_("react.context"),l=_("react.forward_ref"),f=_("react.suspense"),p=_("react.suspense_list"),d=_("react.memo"),y=_("react.lazy"),v=_("react.block"),m=_("react.server.block"),h=_("react.fundamental"),_("react.scope"),_("react.opaque.id"),g=_("react.debug_trace_mode"),_("react.offscreen"),b=_("react.legacy_hidden")}var w="function"==typeof Symbol&&Symbol.iterator;var j=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];k("error",e,r)}function k(e,t,r){var n=j.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return""+e}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}function R(e){return e.displayName||"Context"}function C(t){if(null==t)return null;if("number"==typeof t.tag&&O("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case e.Fragment:return"Fragment";case o:return"Portal";case i:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case p:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case s:return R(t)+".Consumer";case u:return R(t._context)+".Provider";case l:return m=t,h=t.render,g="ForwardRef",b=h.displayName||h.name||"",m.displayName||(""!==b?g+"("+b+")":g);case d:return C(t.type);case v:return C(t._render);case y:var r=t,n=r._payload,c=r._init;try{return C(c(n))}catch(e){return null}}var m,h,g,b;return null}var S,E,P,x,$,T,N,F=0;function D(){}D.__reactDisabledLog=!0;var I,A=j.ReactCurrentDispatcher;function U(e,t,r){if(void 0===I)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);I=n&&n[1]||""}return"\n"+I+e}var L,M=!1,z="function"==typeof WeakMap?WeakMap:Map;function W(e,t){if(!e||M)return"";var n,o=L.get(e);if(void 0!==o)return o;M=!0;var a,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,a=A.current,A.current=null,function(){if(0===F){S=console.log,E=console.info,P=console.warn,x=console.error,$=console.group,T=console.groupCollapsed,N=console.groupEnd;var e={configurable:!0,enumerable:!0,value:D,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}F++}();try{if(t){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(u,[])}catch(e){n=e}Reflect.construct(e,[],u)}else{try{u.call()}catch(e){n=e}e.call(u.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var c=t.stack.split("\n"),s=n.stack.split("\n"),l=c.length-1,f=s.length-1;l>=1&&f>=0&&c[l]!==s[f];)f--;for(;l>=1&&f>=0;l--,f--)if(c[l]!==s[f]){if(1!==l||1!==f)do{if(l--,--f<0||c[l]!==s[f]){var p="\n"+c[l].replace(" at new "," at ");return"function"==typeof e&&L.set(e,p),p}}while(l>=1&&f>=0);break}}}finally{M=!1,A.current=a,function(){if(0==--F){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:r({},e,{value:S}),info:r({},e,{value:E}),warn:r({},e,{value:P}),error:r({},e,{value:x}),group:r({},e,{value:$}),groupCollapsed:r({},e,{value:T}),groupEnd:r({},e,{value:N})})}F<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var d=e?e.displayName||e.name:"",y=d?U(d):"";return"function"==typeof e&&L.set(e,y),y}function V(e,t,r){return W(e,!1)}function q(e,t,r){if(null==e)return"";if("function"==typeof e)return W(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return U(e);switch(e){case f:return U("Suspense");case p:return U("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return V(e.render);case d:return q(e.type,t,r);case v:return V(e._render);case y:var n=e,o=n._payload,a=n._init;try{return q(a(o),t,r)}catch(e){}}return""}L=new z;var Y={},B=j.ReactDebugCurrentFrame;function H(e){if(e){var t=e._owner,r=q(e.type,e._source,t?t.type:null);B.setExtraStackFrame(r)}else B.setExtraStackFrame(null)}var J,X,G,K=j.ReactCurrentOwner,Q=Object.prototype.hasOwnProperty,Z={key:!0,ref:!0,__self:!0,__source:!0};G={};function ee(e,t,r,o,a){var i,u={},c=null,s=null;for(i in void 0!==r&&(c=""+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)&&(c=""+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)&&(s=t.ref,function(e,t){if("string"==typeof e.ref&&K.current&&t&&K.current.stateNode!==t){var r=C(K.current.type);G[r]||(O('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',C(K.current.type),e.ref),G[r]=!0)}}(t,a)),t)Q.call(t,i)&&!Z.hasOwnProperty(i)&&(u[i]=t[i]);if(e&&e.defaultProps){var l=e.defaultProps;for(i in l)void 0===u[i]&&(u[i]=l[i])}if(c||s){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;c&&function(e,t){var r=function(){J||(J=!0,O("%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})}(u,f),s&&function(e,t){var r=function(){X||(X=!0,O("%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})}(u,f)}return function(e,t,r,o,a,i,u){var c={$$typeof:n,type:e,key:t,ref:r,props:u,_owner:i,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c}(e,c,s,a,o,K.current,u)}var te,re=j.ReactCurrentOwner,ne=j.ReactDebugCurrentFrame;function oe(e){if(e){var t=e._owner,r=q(e.type,e._source,t?t.type:null);ne.setExtraStackFrame(r)}else ne.setExtraStackFrame(null)}function ae(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ie(){if(re.current){var e=C(re.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}te=!1;var ue={};function ce(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=ie();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(!ue[r]){ue[r]=!0;var n="";e&&e._owner&&e._owner!==re.current&&(n=" It was passed a child from "+C(e._owner.type)+"."),oe(e),O('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),oe(null)}}}function se(e,t){if("object"==typeof e)if(Array.isArray(e))for(var r=0;r<e.length;r++){var n=e[r];ae(n)&&ce(n,t)}else if(ae(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=w&&e[w]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ae(a.value)&&ce(a.value,t)}}function le(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!==l&&r.$$typeof!==d)return;t=r.propTypes}if(t){var n=C(r);!function(e,t,r,n,o){var a=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(a(e,i)){var u=void 0;try{if("function"!=typeof e[i]){var c=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 c.name="Invariant Violation",c}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||(H(o),O("%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),H(null)),u instanceof Error&&!(u.message in Y)&&(Y[u.message]=!0,H(o),O("Failed %s type: %s",r,u.message),H(null))}}(t,e.props,"prop",n,e)}else if(void 0!==r.PropTypes&&!te){te=!0,O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",C(r)||"Unknown")}"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fe(t,r,o,c,_,w){var j=function(t){return"string"==typeof t||"function"==typeof t||t===e.Fragment||t===i||t===g||t===a||t===f||t===p||t===b||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===d||t.$$typeof===u||t.$$typeof===s||t.$$typeof===l||t.$$typeof===h||t.$$typeof===v||t[0]===m)}(t);if(!j){var k="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(k+=" 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 R,S=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(_);k+=S||ie(),null===t?R="null":Array.isArray(t)?R="array":void 0!==t&&t.$$typeof===n?(R="<"+(C(t.type)||"Unknown")+" />",k=" Did you accidentally export a JSX literal instead of a component?"):R=typeof t,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,k)}var E=ee(t,r,o,_,w);if(null==E)return E;if(j){var P=r.children;if(void 0!==P)if(c)if(Array.isArray(P)){for(var x=0;x<P.length;x++)se(P[x],t);Object.freeze&&Object.freeze(P)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else se(P,t)}return t===e.Fragment?function(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){oe(e),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),oe(null);break}}null!==e.ref&&(oe(e),O("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null))}(E):le(E),E}var pe=function(e,t,r){return fe(e,t,r,!1)},de=function(e,t,r){return fe(e,t,r,!0)};e.jsx=pe,e.jsxs=de}()}($e);var Te=e(Object.freeze(Object.assign(Object.create(null),$e,{default:$e})));"production"===process.env.NODE_ENV?t.exports=xe:t.exports=Te;exports.Portlet=e=>{const{children:r}=e;return t.exports.jsx("div",Object.assign({className:"bg-white rounded-lg shadow-lg"},{children:r}),void 0)},exports.PortletBody=e=>{const{children:r}=e;return t.exports.jsx("div",Object.assign({className:"bg-white rounded p-7"},{children:r}),void 0)},exports.PortletFooter=()=>t.exports.jsx("div",{},void 0),exports.PortletHeader=e=>{const{title:r,toolbar:n}=e;return t.exports.jsxs("div",Object.assign({className:"flex items-center justify-between rounded bg-white px-7 py-4",style:{borderBottomWidth:1}},{children:[t.exports.jsx("div",{children:t.exports.jsx("span",Object.assign({className:"uppercase font-bold"},{children:r}),void 0)},void 0),t.exports.jsx("div",{children:n},void 0)]}),void 0)}; | ||
//# sourceMappingURL=index.js.map | ||
/*! For license information please see index.js.LICENSE.txt */ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["lib/index.js"]=t():e["lib/index.js"]=t()}(self,(function(){return(()=>{"use strict";var e={320:e=>{var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,u){for(var i,a,c=o(e),f=1;f<arguments.length;f++){for(var l in i=Object(arguments[f]))r.call(i,l)&&(c[l]=i[l]);if(t){a=t(i);for(var s=0;s<a.length;s++)n.call(i,a[s])&&(c[a[s]]=i[a[s]])}}return c}},426:(e,t,r)=>{var n=r(320),o=60103,u=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,a=60110,c=60112;t.Suspense=60113;var f=60115,l=60116;if("function"==typeof Symbol&&Symbol.for){var s=Symbol.for;o=s("react.element"),u=s("react.portal"),t.Fragment=s("react.fragment"),t.StrictMode=s("react.strict_mode"),t.Profiler=s("react.profiler"),i=s("react.provider"),a=s("react.context"),c=s("react.forward_ref"),t.Suspense=s("react.suspense"),f=s("react.memo"),l=s("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function h(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||d}function m(){}function b(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||d}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=h.prototype;var _=b.prototype=new m;_.constructor=b,n(_,h.prototype),_.isPureReactComponent=!0;var g={current:null},j=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,r){var n,u={},i=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)j.call(t,n)&&!w.hasOwnProperty(n)&&(u[n]=t[n]);var c=arguments.length-2;if(1===c)u.children=r;else if(1<c){for(var f=Array(c),l=0;l<c;l++)f[l]=arguments[l+2];u.children=f}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===u[n]&&(u[n]=c[n]);return{$$typeof:o,type:e,key:i,ref:a,props:u,_owner:g.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var E=/\/+/g;function P(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 k(e,t,r,n,i){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var c=!1;if(null===e)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case o:case u:c=!0}}if(c)return i=i(c=e),e=""===n?"."+P(c,0):n,Array.isArray(i)?(r="",null!=e&&(r=e.replace(E,"$&/")+"/"),k(i,t,r,"",(function(e){return e}))):null!=i&&(S(i)&&(i=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,r+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(E,"$&/")+"/")+e)),t.push(i)),1;if(c=0,n=""===n?".":n+":",Array.isArray(e))for(var f=0;f<e.length;f++){var l=n+P(a=e[f],f);c+=k(a,t,r,l,i)}else if("function"==typeof(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e)))for(e=l.call(e),f=0;!(a=e.next()).done;)c+=k(a=a.value,t,r,l=n+P(a,f++),i);else if("object"===a)throw t=""+e,Error(y(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return c}function $(e,t,r){if(null==e)return e;var n=[],o=0;return k(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function x(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var C={current:null};function R(){var e=C.current;if(null===e)throw Error(y(321));return e}var A={ReactCurrentDispatcher:C,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:g,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:$,forEach:function(e,t,r){$(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return $(e,(function(){t++})),t},toArray:function(e){return $(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error(y(143));return e}},t.Component=h,t.PureComponent=b,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,t.cloneElement=function(e,t,r){if(null==e)throw Error(y(267,e));var u=n({},e.props),i=e.key,a=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,c=g.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var f=e.type.defaultProps;for(l in t)j.call(t,l)&&!w.hasOwnProperty(l)&&(u[l]=void 0===t[l]&&void 0!==f?f[l]:t[l])}var l=arguments.length-2;if(1===l)u.children=r;else if(1<l){f=Array(l);for(var s=0;s<l;s++)f[s]=arguments[s+2];u.children=f}return{$$typeof:o,type:e.type,key:i,ref:a,props:u,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=O,t.createFactory=function(e){var t=O.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:l,_payload:{_status:-1,_result:e},_init:x}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return R().useCallback(e,t)},t.useContext=function(e,t){return R().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return R().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return R().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return R().useLayoutEffect(e,t)},t.useMemo=function(e,t){return R().useMemo(e,t)},t.useReducer=function(e,t,r){return R().useReducer(e,t,r)},t.useRef=function(e){return R().useRef(e)},t.useState=function(e){return R().useState(e)},t.version="17.0.2"},784:(e,t,r)=>{e.exports=r(426)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var u=t[n]={exports:{}};return e[n](u,u.exports,r),u.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{r.r(n),r.d(n,{Portlet:()=>t,PortletBody:()=>o,PortletFooter:()=>u,PortletHeader:()=>i});var e=r(784),t=function(t){var r=t.children;return e.createElement("div",{className:"bg-white rounded-lg shadow-lg"},r)},o=function(t){var r=t.children;return e.createElement("div",{className:"bg-white rounded p-7"},r)},u=function(){return e.createElement("div",null)},i=function(t){var r=t.title,n=t.toolbar;return e.createElement("div",{className:"flex items-center justify-between rounded bg-white px-7 py-4",style:{borderBottomWidth:1}},e.createElement("div",null,e.createElement("span",{className:"uppercase font-bold"},r)),e.createElement("div",null,n))}})(),n})()})); |
@@ -0,0 +0,0 @@ export * from './portlet'; |
import React from 'react'; | ||
export declare const PortletBody: React.FC; | ||
//# sourceMappingURL=portlet-body.d.ts.map |
import React from 'react'; | ||
export declare const PortletFooter: React.FC; | ||
//# sourceMappingURL=portlet-footer.d.ts.map |
@@ -0,0 +0,0 @@ import React from 'react'; |
import React from 'react'; | ||
export declare const Portlet: React.FC; | ||
//# sourceMappingURL=portlet.d.ts.map |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
{ | ||
"name": "@ekidpro/ui.portlet", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "> TODO: description", | ||
@@ -33,3 +33,3 @@ "author": "lamlv <lam.luongvan2305@gmail.com>", | ||
}, | ||
"gitHead": "b066ddeaf7a9714e6017a495e87d8f07a8f332f5" | ||
"gitHead": "77a7f069c6ce323c87fe6ce8398b26a949fbda2a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11635
15
1
20