@openmrs/esm-home-app 4.0.3-pre.200 → 4.0.3-pre.204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +21 -13
- package/dist/319.js +1 -1
- package/dist/361.js +1 -1
- package/dist/574.js +1 -1
- package/dist/679.js +1 -0
- package/dist/757.js +1 -1
- package/dist/784.js +1 -1
- package/dist/858.js +1 -1
- package/dist/904.js +1 -1
- package/dist/91.js +1 -1
- package/dist/main.js +1 -1
- package/dist/openmrs-esm-home-app.js +1 -1
- package/dist/openmrs-esm-home-app.js.buildmanifest.json +28 -253
- package/dist/openmrs-esm-home-app.old +1 -1
- package/package.json +2 -2
- package/src/createDashboardLink.tsx +30 -23
- package/src/dashboard/dashboard-view.scss +0 -1
- package/src/dashboard/home-dashboard.component.tsx +8 -10
- package/src/dashboard/home-dashboard.scss +2 -1
- package/src/dashboard.meta.ts +2 -2
- package/src/index.ts +4 -54
- package/src/root.component.tsx +22 -8
- package/src/side-menu/side-menu.component.tsx +1 -2
- package/dist/122.js +0 -2
- package/dist/122.js.LICENSE.txt +0 -5
- package/dist/184.js +0 -1
- package/dist/193.js +0 -1
- package/dist/423.js +0 -1
- package/dist/444.js +0 -1
- package/dist/572.js +0 -1
- package/dist/631.js +0 -1
- package/dist/709.js +0 -1
- package/dist/787.js +0 -1
- package/dist/81.js +0 -1
- package/src/dashboard-button/dashboard-button.component.tsx +0 -21
- package/src/dashboard-button/dashboard-button.css +0 -15
- package/src/refapp-links/active-visits.tsx +0 -13
- package/src/refapp-links/appointment-scheduling.tsx +0 -13
- package/src/refapp-links/capture-vitals.tsx +0 -13
- package/src/refapp-links/configure-metadata.tsx +0 -13
- package/src/refapp-links/data-management.tsx +0 -13
- package/src/refapp-links/reports.tsx +0 -11
- package/src/refapp-links/system-administration.tsx +0 -13
- package/src/side-menu/side-menu.scss +0 -7
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,31 @@
|
|
|
1
1
|
Browserslist: caniuse-lite is outdated. Please run:
|
|
2
2
|
npx update-browserslist-db@latest
|
|
3
3
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
4
|
-
assets by chunk
|
|
4
|
+
assets by chunk 448 KiB (id hint: vendors)
|
|
5
5
|
asset [1m[33m858.js[39m[22m [1m[33m397 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (id hint: vendors) 1 related asset
|
|
6
6
|
asset [1m[32m372.js[39m[22m 50.7 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
asset [1m[32mmain.js[39m[22m 6.58 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (name: main)
|
|
8
|
+
asset [1m[32m784.js[39m[22m 6.45 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m 1 related asset
|
|
9
|
+
asset [1m[32mopenmrs-esm-home-app.js[39m[22m 6.35 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (name: @openmrs/esm-home-app)
|
|
10
|
+
asset [1m[32m361.js[39m[22m 6.24 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m
|
|
11
|
+
asset [1m[32mopenmrs-esm-home-app.js.buildmanifest.json[39m[22m 5.93 KiB [1m[32m[emitted][39m[22m
|
|
12
|
+
asset [1m[32m904.js[39m[22m 4.04 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m
|
|
13
|
+
asset [1m[32m91.js[39m[22m 2.63 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m
|
|
14
|
+
asset [1m[32m757.js[39m[22m 442 bytes [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m
|
|
15
|
+
asset [1m[32m574.js[39m[22m 404 bytes [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m
|
|
16
|
+
asset [1m[32m319.js[39m[22m 287 bytes [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m
|
|
17
|
+
asset [1m[32m679.js[39m[22m 254 bytes [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m
|
|
18
|
+
runtime modules 37.1 KiB 28 modules
|
|
19
|
+
orphan modules 165 KiB [1m[33m[orphan][39m[22m 10 modules
|
|
20
|
+
built modules 616 KiB (javascript) 126 bytes (share-init) 126 bytes (consume-shared) [1m[33m[built][39m[22m
|
|
21
|
+
javascript modules 615 KiB 32 modules
|
|
22
|
+
provide-module modules 126 bytes
|
|
15
23
|
[1mprovide shared module (default) @openmrs/esm-framework@4.0.3-pre.434 = ../../node_modules/@openmrs/esm-framework/src/internal.ts[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
16
|
-
+
|
|
17
|
-
consume-shared-module modules
|
|
24
|
+
+ 2 modules
|
|
25
|
+
consume-shared-module modules 126 bytes
|
|
18
26
|
[1mconsume shared module (default) @openmrs/esm-framework@^4 (singleton) (fallback: ../../node_modules/@openmrs/esm-framework/src/internal.ts)[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
19
27
|
[1mconsume shared module (default) react@^18 (singleton) (fallback: ../../node_modules/react/index.js)[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
20
|
-
|
|
28
|
+
[1mconsume shared module (default) react-router-dom@^6 (singleton) (fallback: ../../node_modules/react-router-dom/dist/index.js)[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
21
29
|
optional modules 716 bytes [1m[33m[optional][39m[22m
|
|
22
30
|
[1m./translations/en.json[39m[22m 267 bytes [1m[33m[optional][39m[22m [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
23
31
|
[1m./translations/es.json[39m[22m 148 bytes [1m[33m[optional][39m[22m [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
@@ -28,4 +36,4 @@ This can impact web performance.
|
|
|
28
36
|
Assets:
|
|
29
37
|
858.js (397 KiB)[39m[22m
|
|
30
38
|
|
|
31
|
-
webpack 5.75.0 compiled with [1m[33m1 warning[39m[22m in
|
|
39
|
+
webpack 5.75.0 compiled with [1m[33m1 warning[39m[22m in 16150 ms
|
package/dist/319.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[319],{
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[319],{319:e=>{e.exports=JSON.parse('{"patient":"paciente","found":"encontró","containing":"conteniendo","patientSearchText":"Búsqueda por nombre de paciente O identificador"}')}}]);
|
package/dist/361.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[361],{
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[361],{795:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(601),o=n.n(a),r=n(609),s=n.n(r)()(o());s.push([e.id,".-esm-home__dashboard-view__dashboardView___nFcbS{background-color:#fff}",""]),s.locals={dashboardView:"-esm-home__dashboard-view__dashboardView___nFcbS"};const i=s},137:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(601),o=n.n(a),r=n(609),s=n.n(r)()(o());s.push([e.id,".-esm-home__home-dashboard__dashboardContainer___P4IFK{display:flex;flex-direction:column;margin:0;height:calc(100vh - 3rem);margin-left:16rem;background-color:#fff}.-esm-home__home-dashboard__dashboardContainer___P4IFK li{display:flex}.-esm-home__home-dashboard__dashboardContainer___P4IFK a{width:100%}li::marker{font-size:0px}.-esm-home__home-dashboard__logoSection___mKcOF{display:flex;justify-content:center}",""]),s.locals={dashboardContainer:"-esm-home__home-dashboard__dashboardContainer___P4IFK",logoSection:"-esm-home__home-dashboard__logoSection___mKcOF"};const i=s},609:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,o,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(a)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);a&&s[d[0]]||(void 0!==r&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=r),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},601:e=>{e.exports=function(e){return e[1]}},354:e=>{var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var r={},s=[],i=0;i<e.length;i++){var c=e[i],l=a.base?c[0]+a.base:c[0],d=r[l]||0,u="".concat(l," ").concat(d);r[l]=d+1;var m=n(u),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(h);else{var f=o(h,a);a.byIndex=i,t.splice(i,0,{identifier:u,updater:f,references:1})}s.push(u)}return s}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var r=a(e=e||[],o=o||{});return function(e){e=e||[];for(var s=0;s<r.length;s++){var i=n(r[s]);t[i].references--}for(var c=a(e,o),l=0;l<r.length;l++){var d=n(r[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}r=c}}},378:e=>{var t={};e.exports=function(e,n){var a=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},154:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},993:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},583:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var a="";n.supports&&(a+="@supports (".concat(n.supports,") {")),n.media&&(a+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(a+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),a+=n.css,o&&(a+="}"),n.media&&(a+="}"),n.supports&&(a+="}");var r=n.sourceMap;r&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleTagTransform(a,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},141:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},361:(e,t,n)=>{n.r(t),n.d(t,{default:()=>I});var a=n(268),o=n.n(a),r=n(744),s=n(906),i=n(354),c=n.n(i),l=n(583),d=n.n(l),u=n(378),m=n.n(u),h=n(993),f=n.n(h),p=n(154),_=n.n(p),v=n(141),b=n.n(v),y=n(795),g={};g.styleTagTransform=b(),g.setAttributes=f(),g.insert=m().bind(null,"head"),g.domAPI=d(),g.insertStyleElement=_(),c()(y.Z,g);const E=y.Z&&y.Z.locals?y.Z.locals:void 0,x=function(e){var t=e.dashboardSlot,n=e.title;return o().createElement(s.ExtensionSlot,{className:E.dashboardView,extensionSlotName:t,state:{dashboardTitle:n}})};var w=n(137),S={};S.styleTagTransform=b(),S.setAttributes=f(),S.insert=m().bind(null,"head"),S.domAPI=d(),S.insertStyleElement=_(),c()(w.Z,S);const C=w.Z&&w.Z.locals?w.Z.locals:void 0;function T(){var e,t=(0,r.useParams)(),n=(0,s.useExtensionStore)(),a=(0,s.useLayoutType)(),i=(null===(e=n.slots["homepage-dashboard-slot"])||void 0===e?void 0:e.assignedExtensions.map((function(e){return e.meta})).filter((function(e){return Object.keys(e).length})))||[],c=i.find((function(e){return e.name===(null==t?void 0:t.dashboard)}))||i[0];return o().createElement("section",{className:(0,s.isDesktop)(a)&&C.dashboardContainer},(0,s.isDesktop)(a)&&o().createElement(s.ExtensionSlot,{name:"home-sidebar-slot",key:a}),o().createElement(x,{title:null==c?void 0:c.name,dashboardSlot:null==c?void 0:c.slot}))}function k(){var e=(0,r.useParams)().dashboard,t=(0,r.useNavigate)();return(0,a.useEffect)((function(){["appointments","service-queues","patient-lists"].includes(e)||t("/home")}),[e,t]),o().createElement(T,null)}const I=function(){var e=window.spaBase;return(0,a.useEffect)((function(){return(0,s.setLeftNav)({name:"homepage-dashboard-slot",basePath:e}),function(){return(0,s.unsetLeftNav)("homepage-dashboard-slot")}}),[e]),o().createElement(r.BrowserRouter,{basename:window.spaBase},o().createElement("main",{className:"omrs-main-content"},o().createElement(r.Routes,null,o().createElement(r.Route,{path:"/home",element:o().createElement(T,null)}),o().createElement(r.Route,{path:"/home/:dashboard/*",element:o().createElement(k,null)}))))}}}]);
|
package/dist/574.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[574],{
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[574],{574:e=>{e.exports=JSON.parse('{"activeVisits":"Active Visits","appointmentScheduling":"Appointment Scheduling","captureVitals":"Capture Vitals","configureMetadata":"Configure Metadata","dataManagement":"Data Management","reports":"Reports","systemAdministration":"System Administration"}')}}]);
|
package/dist/679.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[679],{679:(e,n,s)=>{s.r(n),s.d(n,{default:()=>a});var p=s(268),t=s.n(p),u=s(906);const a=function(){return t().createElement(u.LeftNavMenu,null)}}}]);
|
package/dist/757.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[757],{
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[757],{757:e=>{e.exports=JSON.parse('{"activeVisits":"Visites actives","appointmentScheduling":"Planification de rendez-vous","captureVitals":"Entrer les signes vitaux","configureMetadata":"Configurer les métadonnées","dataManagement":"Gestion de données","reports":"Rapports","systemAdministration":"Administration du système"}')}}]);
|
package/dist/784.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 784.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[784],{
|
|
2
|
+
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[784],{426:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,h={};function m(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}function b(){}function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}m.prototype.isReactComponent={},m.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")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var S=v.prototype=new b;S.constructor=v,_(S,m.prototype),S.isPureReactComponent=!0;var k=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,n){var o,u={},a=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,o)&&!$.hasOwnProperty(o)&&(u[o]=t[o]);var i=arguments.length-2;if(1===i)u.children=n;else if(1<i){for(var f=Array(i),s=0;s<i;s++)f[s]=arguments[s+2];u.children=f}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===u[o]&&(u[o]=i[o]);return{$$typeof:r,type:e,key:a,ref:c,props:u,_owner:E.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var g=/\/+/g;function j(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 O(e,t,o,u,a){var c=typeof e;"undefined"!==c&&"boolean"!==c||(e=null);var i=!1;if(null===e)i=!0;else switch(c){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case r:case n:i=!0}}if(i)return a=a(i=e),e=""===u?"."+j(i,0):u,k(a)?(o="",null!=e&&(o=e.replace(g,"$&/")+"/"),O(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||i&&i.key===a.key?"":(""+a.key).replace(g,"$&/")+"/")+e)),t.push(a)),1;if(i=0,u=""===u?".":u+":",k(e))for(var f=0;f<e.length;f++){var s=u+j(c=e[f],f);i+=O(c,t,o,s,a)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=y&&e[y]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),f=0;!(c=e.next()).done;)i+=O(c=c.value,t,o,s=u+j(c,f++),a);else if("object"===c)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 x(e,t,r){if(null==e)return e;var n=[],o=0;return O(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function P(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 I={current:null},T={transition:null},V={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:T,ReactCurrentOwner:E};t.Children={map:x,forEach:function(e,t,r){x(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return x(e,(function(){t++})),t},toArray:function(e){return x(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=a,t.PureComponent=v,t.StrictMode=u,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=_({},e.props),u=e.key,a=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,c=E.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(f in t)w.call(t,f)&&!$.hasOwnProperty(f)&&(o[f]=void 0===t[f]&&void 0!==i?i[f]:t[f])}var f=arguments.length-2;if(1===f)o.children=n;else if(1<f){i=Array(f);for(var s=0;s<f;s++)i[s]=arguments[s+2];o.children=i}return{$$typeof:r,type:e.type,key:u,ref:a,props:o,_owner:c}},t.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=R,t.createFactory=function(e){var t=R.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,r){return I.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,r){return I.current.useReducer(e,t,r)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return I.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return I.current.useTransition()},t.version="18.2.0"},784:(e,t,r)=>{e.exports=r(426)}}]);
|