@argon-router/react 0.2.2 → 0.2.3
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/dist/index.cjs +16 -15
- package/dist/index.d.ts +2 -0
- package/dist/index.js +391 -582
- package/package.json +12 -12
package/dist/index.cjs
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const X=require("react"),B=require("effector-react");var H={exports:{}},k={};/**
|
|
2
2
|
* @license React
|
|
3
|
-
* react-jsx-runtime.production.
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var ge;function ke(){if(ge)return k;ge=1;var a=Symbol.for("react.transitional.element"),v=Symbol.for("react.fragment");function d(E,s,c){var b=null;if(c!==void 0&&(b=""+c),s.key!==void 0&&(b=""+s.key),"key"in s){c={};for(var g in s)g!=="key"&&(c[g]=s[g])}else c=s;return s=c.ref,{$$typeof:a,type:E,key:b,ref:s!==void 0?s:null,props:c}}return k.Fragment=v,k.jsx=d,k.jsxs=d,k}var O={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
13
|
-
* Copyright (c)
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
`),
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Check the render method of \``+e+"`."}return""}}function ar(e){return""}var we={};function or(e){{var r=me();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
24
|
-
|
|
25
|
-
Check the top-level render call using <`+t+">.")}return r}}function Te(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=or(r);if(we[t])return;we[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+P(e._owner.type)+"."),D(e),d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),D(null)}}function Pe(e,r){{if(typeof e!="object")return;if(G(e))for(var t=0;t<e.length;t++){var n=e[t];Z(n)&&Te(n,r)}else if(Z(e))e._store&&(e._store.validated=!0);else if(e){var u=De(e);if(typeof u=="function"&&u!==e.entries)for(var s=u.call(e),o;!(o=s.next()).done;)Z(o.value)&&Te(o.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===i||r.$$typeof===w))t=r.propTypes;else return;if(t){var n=P(r);Be(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!H){H=!0;var u=P(r);d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",u||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ur(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){D(e),d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),D(null);break}}e.ref!==null&&(D(e),d("Invalid attribute `ref` supplied to `React.Fragment`."),D(null))}}var Oe={};function Se(e,r,t,n,u,s){{var o=Ve(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 p=ar();p?a+=p:a+=me();var l;e===null?l="null":G(e)?l="array":e!==void 0&&e.$$typeof===y?(l="<"+(P(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,a)}var f=nr(e,r,t,u,s);if(f==null)return f;if(o){var _=r.children;if(_!==void 0)if(n)if(G(_)){for(var F=0;F<_.length;F++)Pe(_[F],e);Object.freeze&&Object.freeze(_)}else d("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 Pe(_,e)}if(I.call(r,"key")){var x=P(e),h=Object.keys(r).filter(function(vr){return vr!=="key"}),Q=h.length>0?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}";if(!Oe[x+Q]){var dr=h.length>0?"{"+h.join(": ..., ")+": ...}":"{}";d(`A props object containing a "key" prop is being spread into JSX:
|
|
17
|
+
*/var me;function Oe(){return me||(me=1,process.env.NODE_ENV!=="production"&&function(){function a(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===je?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case M:return"Fragment";case he:return"Portal";case D:return"Profiler";case Q:return"StrictMode";case U:return"Suspense";case W:return"SuspenseList"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case re:return(e.displayName||"Context")+".Provider";case ee:return(e._context.displayName||"Context")+".Consumer";case $:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return r=e.displayName||null,r!==null?r:a(e.type)||"Memo";case q:r=e._payload,e=e._init;try{return a(e(r))}catch{}}return null}function v(e){return""+e}function d(e){try{v(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),v(e)}}function E(){}function s(){if(p===0){ne=console.log,ae=console.info,ue=console.warn,ie=console.error,se=console.group,le=console.groupCollapsed,ce=console.groupEnd;var e={configurable:!0,enumerable:!0,value:E,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}p++}function c(){if(p--,p===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:h({},e,{value:ne}),info:h({},e,{value:ae}),warn:h({},e,{value:ue}),error:h({},e,{value:ie}),group:h({},e,{value:se}),groupCollapsed:h({},e,{value:le}),groupEnd:h({},e,{value:ce})})}0>p&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function b(e){if(G===void 0)try{throw Error()}catch(t){var r=t.stack.trim().match(/\n( *(at )?)/);G=r&&r[1]||"",fe=-1<t.stack.indexOf(`
|
|
18
|
+
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
19
|
+
`+G+e+fe}function g(e,r){if(!e||J)return"";var t=L.get(e);if(t!==void 0)return t;J=!0,t=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var n=null;n=_.H,_.H=null,s();try{var l={DetermineComponentFrameRoot:function(){try{if(r){var x=function(){throw Error()};if(Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(x,[])}catch(R){var S=R}Reflect.construct(e,[],x)}else{try{x.call()}catch(R){S=R}e.call(x.prototype)}}else{try{throw Error()}catch(R){S=R}(x=e())&&typeof x.catch=="function"&&x.catch(function(){})}}catch(R){if(R&&S&&typeof R.stack=="string")return[R.stack,S.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=l.DetermineComponentFrameRoot(),m=o[0],j=o[1];if(m&&j){var f=m.split(`
|
|
20
|
+
`),T=j.split(`
|
|
21
|
+
`);for(o=u=0;u<f.length&&!f[u].includes("DetermineComponentFrameRoot");)u++;for(;o<T.length&&!T[o].includes("DetermineComponentFrameRoot");)o++;if(u===f.length||o===T.length)for(u=f.length-1,o=T.length-1;1<=u&&0<=o&&f[u]!==T[o];)o--;for(;1<=u&&0<=o;u--,o--)if(f[u]!==T[o]){if(u!==1||o!==1)do if(u--,o--,0>o||f[u]!==T[o]){var C=`
|
|
22
|
+
`+f[u].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),typeof e=="function"&&L.set(e,C),C}while(1<=u&&0<=o);break}}}finally{J=!1,_.H=n,c(),Error.prepareStackTrace=t}return f=(f=e?e.displayName||e.name:"")?b(f):"",typeof e=="function"&&L.set(e,f),f}function y(e){if(e==null)return"";if(typeof e=="function"){var r=e.prototype;return g(e,!(!r||!r.isReactComponent))}if(typeof e=="string")return b(e);switch(e){case U:return b("Suspense");case W:return b("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case $:return e=g(e.render,!1),e;case V:return y(e.type);case q:r=e._payload,e=e._init;try{return y(e(r))}catch{}}return""}function i(){var e=_.A;return e===null?null:e.getOwner()}function A(e){if(oe.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function N(e,r){function t(){de||(de=!0,console.error("%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://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function we(){var e=a(this.type);return ve[e]||(ve[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function ye(e,r,t,n,l,u){return t=u.ref,e={$$typeof:Y,type:e,key:r,props:u,_owner:l},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:we}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function K(e,r,t,n,l,u){if(typeof e=="string"||typeof e=="function"||e===M||e===D||e===Q||e===U||e===W||e===Te||typeof e=="object"&&e!==null&&(e.$$typeof===q||e.$$typeof===V||e.$$typeof===re||e.$$typeof===ee||e.$$typeof===$||e.$$typeof===pe||e.getModuleId!==void 0)){var o=r.children;if(o!==void 0)if(n)if(z(o)){for(n=0;n<o.length;n++)I(o[n],e);Object.freeze&&Object.freeze(o)}else console.error("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 I(o,e)}else o="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":z(e)?n="array":e!==void 0&&e.$$typeof===Y?(n="<"+(a(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",n,o);if(oe.call(r,"key")){o=a(e);var m=Object.keys(r).filter(function(f){return f!=="key"});n=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",Ee[o+n]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
26
23
|
let props = %s;
|
|
27
24
|
<%s {...props} />
|
|
28
25
|
React keys must be passed directly to JSX without using spread:
|
|
29
26
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,
|
|
27
|
+
<%s key={someKey} {...props} />`,n,o,m,o),Ee[o+n]=!0)}if(o=null,t!==void 0&&(d(t),o=""+t),A(r)&&(d(r.key),o=""+r.key),"key"in r){t={};for(var j in r)j!=="key"&&(t[j]=r[j])}else t=r;return o&&N(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),ye(e,o,u,l,i(),t)}function I(e,r){if(typeof e=="object"&&e&&e.$$typeof!==Ce){if(z(e))for(var t=0;t<e.length;t++){var n=e[t];P(n)&&Z(n,r)}else if(P(e))e._store&&(e._store.validated=1);else if(e===null||typeof e!="object"?t=null:(t=te&&e[te]||e["@@iterator"],t=typeof t=="function"?t:null),typeof t=="function"&&t!==e.entries&&(t=t.call(e),t!==e))for(;!(e=t.next()).done;)P(e.value)&&Z(e.value,r)}}function P(e){return typeof e=="object"&&e!==null&&e.$$typeof===Y}function Z(e,r){if(e._store&&!e._store.validated&&e.key==null&&(e._store.validated=1,r=xe(r),!be[r])){be[r]=!0;var t="";e&&e._owner!=null&&e._owner!==i()&&(t=null,typeof e._owner.tag=="number"?t=a(e._owner.type):typeof e._owner.name=="string"&&(t=e._owner.name),t=" It was passed a child from "+t+".");var n=_.getCurrentStack;_.getCurrentStack=function(){var l=y(e.type);return n&&(l+=n()||""),l},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',r,t),_.getCurrentStack=n}}function xe(e){var r="",t=i();return t&&(t=a(t.type))&&(r=`
|
|
28
|
+
|
|
29
|
+
Check the render method of \``+t+"`."),r||(e=a(e))&&(r=`
|
|
30
|
+
|
|
31
|
+
Check the top-level render call using <`+e+">."),r}var _e=X,Y=Symbol.for("react.transitional.element"),he=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),ee=Symbol.for("react.consumer"),re=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),Te=Symbol.for("react.offscreen"),te=Symbol.iterator,je=Symbol.for("react.client.reference"),_=_e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe=Object.prototype.hasOwnProperty,h=Object.assign,pe=Symbol.for("react.client.reference"),z=Array.isArray,p=0,ne,ae,ue,ie,se,le,ce;E.__reactDisabledLog=!0;var G,fe,J=!1,L=new(typeof WeakMap=="function"?WeakMap:Map),Ce=Symbol.for("react.client.reference"),de,ve={},Ee={},be={};O.Fragment=M,O.jsx=function(e,r,t,n,l){return K(e,r,t,!1,n,l)},O.jsxs=function(e,r,t,n,l){return K(e,r,t,!0,n,l)}}()),O}process.env.NODE_ENV==="production"?H.exports=ke():H.exports=Oe();var w=H.exports;const Re=X.createContext(null),Se=a=>w.jsx(Re.Provider,{value:a.router,children:a.children});function F(){const a=X.useContext(Re);if(!a)throw new Error("[useRouter] Router not found. Insert RouterProvider in app root");return a}function Ae(a){const{to:v,params:d,onClick:E,ref:s,...c}=a,g=F().mappedRoutes.find(({route:i})=>i===v),{onOpen:y}=B.useUnit(v);if(!g){const{internal:i}=v;throw new Error(`[Link] Route with path "${i.path}" not found. Maybe it is not passed into createRouter?`)}return w.jsx("a",{...c,ref:s,href:g.toPath(d??void 0),onClick:i=>{E==null||E(i),!i.defaultPrevented&&(c.target&&c.target!=="_self"||i.metaKey||i.altKey||i.ctrlKey||i.shiftKey||(i.preventDefault(),y({params:d||{}})))}})}const Ne=a=>({...a,view:()=>{const{view:v,layout:d,route:E}=a,{isOpened:s}=B.useUnit(E);return s?d?w.jsx(d,{children:w.jsx(v,{})}):w.jsx(v,{}):null}}),Pe=a=>{const{routes:v,otherwise:d}=a;return()=>{const E=F(),s=B.useUnit(E.$activeRoutes),c=s.reduce((i,A)=>i.filter(N=>N!==A.internal.parent),s),b=v.find(i=>i.route===c.at(-1));if(!b)return d?w.jsx(d,{}):null;const{view:g,layout:y}=b;return y?w.jsx(y,{children:w.jsx(g,{})}):w.jsx(g,{})}};exports.Link=Ae;exports.RouterProvider=Se;exports.createRouteView=Ne;exports.createRoutesView=Pe;exports.useRouter=F;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { AnchorHTMLAttributes } from 'react';
|
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
3
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
|
+
import { RefObject } from 'react';
|
|
5
6
|
import { Route } from '@argon-router/core';
|
|
6
7
|
import { Router } from '@argon-router/core';
|
|
7
8
|
|
|
@@ -10,6 +11,7 @@ declare type AnchorProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>
|
|
|
10
11
|
declare type BaseLinkProps<Params> = {
|
|
11
12
|
to: Route<Params>;
|
|
12
13
|
children?: ReactNode;
|
|
14
|
+
ref?: RefObject<HTMLAnchorElement>;
|
|
13
15
|
} & AnchorProps;
|
|
14
16
|
|
|
15
17
|
export declare const createRoutesView: (props: CreateRoutesViewProps) => () => JSX_2.Element | null;
|
package/dist/index.js
CHANGED
|
@@ -1,687 +1,496 @@
|
|
|
1
|
-
import Ce, { createContext as
|
|
2
|
-
import { useUnit as
|
|
3
|
-
var
|
|
1
|
+
import Ce, { createContext as ke, useContext as Oe } from "react";
|
|
2
|
+
import { useUnit as X } from "effector-react";
|
|
3
|
+
var L = { exports: {} }, k = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
|
-
* react-jsx-runtime.production.
|
|
6
|
+
* react-jsx-runtime.production.js
|
|
7
7
|
*
|
|
8
|
-
* Copyright (c)
|
|
8
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9
9
|
*
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
var Ee;
|
|
14
|
+
function Se() {
|
|
15
|
+
if (Ee) return k;
|
|
16
|
+
Ee = 1;
|
|
17
|
+
var a = Symbol.for("react.transitional.element"), v = Symbol.for("react.fragment");
|
|
18
|
+
function d(E, i, c) {
|
|
19
|
+
var b = null;
|
|
20
|
+
if (c !== void 0 && (b = "" + c), i.key !== void 0 && (b = "" + i.key), "key" in i) {
|
|
21
|
+
c = {};
|
|
22
|
+
for (var m in i)
|
|
23
|
+
m !== "key" && (c[m] = i[m]);
|
|
24
|
+
} else c = i;
|
|
25
|
+
return i = c.ref, {
|
|
26
|
+
$$typeof: a,
|
|
27
|
+
type: E,
|
|
28
|
+
key: b,
|
|
29
|
+
ref: i !== void 0 ? i : null,
|
|
30
|
+
props: c
|
|
31
|
+
};
|
|
24
32
|
}
|
|
25
|
-
return
|
|
33
|
+
return k.Fragment = v, k.jsx = d, k.jsxs = d, k;
|
|
26
34
|
}
|
|
27
|
-
var
|
|
35
|
+
var O = {};
|
|
28
36
|
/**
|
|
29
37
|
* @license React
|
|
30
38
|
* react-jsx-runtime.development.js
|
|
31
39
|
*
|
|
32
|
-
* Copyright (c)
|
|
40
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
33
41
|
*
|
|
34
42
|
* This source code is licensed under the MIT license found in the
|
|
35
43
|
* LICENSE file in the root directory of this source tree.
|
|
36
44
|
*/
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
if (
|
|
43
|
-
return null;
|
|
44
|
-
|
|
45
|
-
return typeof r == "function" ? r : null;
|
|
46
|
-
}
|
|
47
|
-
var k = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
-
function d(e) {
|
|
49
|
-
{
|
|
50
|
-
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
51
|
-
t[n - 1] = arguments[n];
|
|
52
|
-
Fe("error", e, t);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
function Fe(e, r, t) {
|
|
56
|
-
{
|
|
57
|
-
var n = k.ReactDebugCurrentFrame, u = n.getStackAddendum();
|
|
58
|
-
u !== "" && (r += "%s", t = t.concat([u]));
|
|
59
|
-
var s = t.map(function(o) {
|
|
60
|
-
return String(o);
|
|
61
|
-
});
|
|
62
|
-
s.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, s);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
var Ae = !1, Ie = !1, $e = !1, We = !1, Ye = !1, te;
|
|
66
|
-
te = Symbol.for("react.module.reference");
|
|
67
|
-
function Le(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e === y || e === j || Ye || e === g || e === T || e === v || We || e === L || Ae || Ie || $e || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === w || e.$$typeof === m || e.$$typeof === E || e.$$typeof === i || // This needs to include all possible module reference object
|
|
69
|
-
// types supported by any Flight configuration anywhere since
|
|
70
|
-
// we don't know which Flight build this will end up being used
|
|
71
|
-
// with.
|
|
72
|
-
e.$$typeof === te || e.getModuleId !== void 0));
|
|
73
|
-
}
|
|
74
|
-
function Ve(e, r, t) {
|
|
75
|
-
var n = e.displayName;
|
|
76
|
-
if (n)
|
|
77
|
-
return n;
|
|
78
|
-
var u = r.displayName || r.name || "";
|
|
79
|
-
return u !== "" ? t + "(" + u + ")" : t;
|
|
80
|
-
}
|
|
81
|
-
function ne(e) {
|
|
82
|
-
return e.displayName || "Context";
|
|
83
|
-
}
|
|
84
|
-
function O(e) {
|
|
85
|
-
if (e == null)
|
|
86
|
-
return null;
|
|
87
|
-
if (typeof e.tag == "number" && d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
88
|
-
return e.displayName || e.name || null;
|
|
89
|
-
if (typeof e == "string")
|
|
90
|
-
return e;
|
|
45
|
+
var be;
|
|
46
|
+
function Ae() {
|
|
47
|
+
return be || (be = 1, process.env.NODE_ENV !== "production" && function() {
|
|
48
|
+
function a(e) {
|
|
49
|
+
if (e == null) return null;
|
|
50
|
+
if (typeof e == "function")
|
|
51
|
+
return e.$$typeof === he ? null : e.displayName || e.name || null;
|
|
52
|
+
if (typeof e == "string") return e;
|
|
91
53
|
switch (e) {
|
|
92
|
-
case
|
|
54
|
+
case $:
|
|
93
55
|
return "Fragment";
|
|
94
|
-
case
|
|
56
|
+
case _e:
|
|
95
57
|
return "Portal";
|
|
96
|
-
case
|
|
58
|
+
case Z:
|
|
97
59
|
return "Profiler";
|
|
98
|
-
case
|
|
60
|
+
case I:
|
|
99
61
|
return "StrictMode";
|
|
100
|
-
case
|
|
62
|
+
case W:
|
|
101
63
|
return "Suspense";
|
|
102
|
-
case
|
|
64
|
+
case U:
|
|
103
65
|
return "SuspenseList";
|
|
104
66
|
}
|
|
105
67
|
if (typeof e == "object")
|
|
106
|
-
switch (
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
return
|
|
113
|
-
case
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
return
|
|
118
|
-
case
|
|
119
|
-
|
|
68
|
+
switch (typeof e.tag == "number" && console.error(
|
|
69
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
70
|
+
), e.$$typeof) {
|
|
71
|
+
case D:
|
|
72
|
+
return (e.displayName || "Context") + ".Provider";
|
|
73
|
+
case Q:
|
|
74
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
75
|
+
case M:
|
|
76
|
+
var r = e.render;
|
|
77
|
+
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
78
|
+
case V:
|
|
79
|
+
return r = e.displayName || null, r !== null ? r : a(e.type) || "Memo";
|
|
80
|
+
case z:
|
|
81
|
+
r = e._payload, e = e._init;
|
|
120
82
|
try {
|
|
121
|
-
return
|
|
83
|
+
return a(e(r));
|
|
122
84
|
} catch {
|
|
123
|
-
return null;
|
|
124
85
|
}
|
|
125
|
-
}
|
|
126
86
|
}
|
|
127
87
|
return null;
|
|
128
88
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
ce.__reactDisabledLog = !0;
|
|
133
|
-
function Me() {
|
|
134
|
-
{
|
|
135
|
-
if (A === 0) {
|
|
136
|
-
ae = console.log, oe = console.info, ie = console.warn, ue = console.error, se = console.group, fe = console.groupCollapsed, le = console.groupEnd;
|
|
137
|
-
var e = {
|
|
138
|
-
configurable: !0,
|
|
139
|
-
enumerable: !0,
|
|
140
|
-
value: ce,
|
|
141
|
-
writable: !0
|
|
142
|
-
};
|
|
143
|
-
Object.defineProperties(console, {
|
|
144
|
-
info: e,
|
|
145
|
-
log: e,
|
|
146
|
-
warn: e,
|
|
147
|
-
error: e,
|
|
148
|
-
group: e,
|
|
149
|
-
groupCollapsed: e,
|
|
150
|
-
groupEnd: e
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
A++;
|
|
154
|
-
}
|
|
89
|
+
function v(e) {
|
|
90
|
+
return "" + e;
|
|
155
91
|
}
|
|
156
|
-
function
|
|
157
|
-
{
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
writable: !0
|
|
163
|
-
};
|
|
164
|
-
Object.defineProperties(console, {
|
|
165
|
-
log: S({}, e, {
|
|
166
|
-
value: ae
|
|
167
|
-
}),
|
|
168
|
-
info: S({}, e, {
|
|
169
|
-
value: oe
|
|
170
|
-
}),
|
|
171
|
-
warn: S({}, e, {
|
|
172
|
-
value: ie
|
|
173
|
-
}),
|
|
174
|
-
error: S({}, e, {
|
|
175
|
-
value: ue
|
|
176
|
-
}),
|
|
177
|
-
group: S({}, e, {
|
|
178
|
-
value: se
|
|
179
|
-
}),
|
|
180
|
-
groupCollapsed: S({}, e, {
|
|
181
|
-
value: fe
|
|
182
|
-
}),
|
|
183
|
-
groupEnd: S({}, e, {
|
|
184
|
-
value: le
|
|
185
|
-
})
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
A < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
92
|
+
function d(e) {
|
|
93
|
+
try {
|
|
94
|
+
v(e);
|
|
95
|
+
var r = !1;
|
|
96
|
+
} catch {
|
|
97
|
+
r = !0;
|
|
189
98
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
var n = u.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
-
B = n && n[1] || "";
|
|
200
|
-
}
|
|
201
|
-
return `
|
|
202
|
-
` + B + e;
|
|
99
|
+
if (r) {
|
|
100
|
+
r = console;
|
|
101
|
+
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
102
|
+
return t.call(
|
|
103
|
+
r,
|
|
104
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
105
|
+
n
|
|
106
|
+
), v(e);
|
|
203
107
|
}
|
|
204
108
|
}
|
|
205
|
-
|
|
206
|
-
{
|
|
207
|
-
var Ne = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
-
M = new Ne();
|
|
109
|
+
function E() {
|
|
209
110
|
}
|
|
210
|
-
function
|
|
211
|
-
if (
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
111
|
+
function i() {
|
|
112
|
+
if (j === 0) {
|
|
113
|
+
te = console.log, oe = console.info, ne = console.warn, ae = console.error, ue = console.group, se = console.groupCollapsed, ie = console.groupEnd;
|
|
114
|
+
var e = {
|
|
115
|
+
configurable: !0,
|
|
116
|
+
enumerable: !0,
|
|
117
|
+
value: E,
|
|
118
|
+
writable: !0
|
|
119
|
+
};
|
|
120
|
+
Object.defineProperties(console, {
|
|
121
|
+
info: e,
|
|
122
|
+
log: e,
|
|
123
|
+
warn: e,
|
|
124
|
+
error: e,
|
|
125
|
+
group: e,
|
|
126
|
+
groupCollapsed: e,
|
|
127
|
+
groupEnd: e
|
|
128
|
+
});
|
|
217
129
|
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
130
|
+
j++;
|
|
131
|
+
}
|
|
132
|
+
function c() {
|
|
133
|
+
if (j--, j === 0) {
|
|
134
|
+
var e = { configurable: !0, enumerable: !0, writable: !0 };
|
|
135
|
+
Object.defineProperties(console, {
|
|
136
|
+
log: p({}, e, { value: te }),
|
|
137
|
+
info: p({}, e, { value: oe }),
|
|
138
|
+
warn: p({}, e, { value: ne }),
|
|
139
|
+
error: p({}, e, { value: ae }),
|
|
140
|
+
group: p({}, e, { value: ue }),
|
|
141
|
+
groupCollapsed: p({}, e, { value: se }),
|
|
142
|
+
groupEnd: p({}, e, { value: ie })
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
0 > j && console.error(
|
|
146
|
+
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
function b(e) {
|
|
150
|
+
if (G === void 0)
|
|
151
|
+
try {
|
|
152
|
+
throw Error();
|
|
153
|
+
} catch (t) {
|
|
154
|
+
var r = t.stack.trim().match(/\n( *(at )?)/);
|
|
155
|
+
G = r && r[1] || "", le = -1 < t.stack.indexOf(`
|
|
156
|
+
at`) ? " (<anonymous>)" : -1 < t.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
157
|
+
}
|
|
158
|
+
return `
|
|
159
|
+
` + G + e + le;
|
|
160
|
+
}
|
|
161
|
+
function m(e, r) {
|
|
162
|
+
if (!e || J) return "";
|
|
163
|
+
var t = H.get(e);
|
|
164
|
+
if (t !== void 0) return t;
|
|
165
|
+
J = !0, t = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
|
|
166
|
+
var n = null;
|
|
167
|
+
n = _.H, _.H = null, i();
|
|
224
168
|
try {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
throw Error();
|
|
228
|
-
};
|
|
229
|
-
if (Object.defineProperty(o.prototype, "props", {
|
|
230
|
-
set: function() {
|
|
231
|
-
throw Error();
|
|
232
|
-
}
|
|
233
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
169
|
+
var l = {
|
|
170
|
+
DetermineComponentFrameRoot: function() {
|
|
234
171
|
try {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
172
|
+
if (r) {
|
|
173
|
+
var y = function() {
|
|
174
|
+
throw Error();
|
|
175
|
+
};
|
|
176
|
+
if (Object.defineProperty(y.prototype, "props", {
|
|
177
|
+
set: function() {
|
|
178
|
+
throw Error();
|
|
179
|
+
}
|
|
180
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
181
|
+
try {
|
|
182
|
+
Reflect.construct(y, []);
|
|
183
|
+
} catch (w) {
|
|
184
|
+
var S = w;
|
|
185
|
+
}
|
|
186
|
+
Reflect.construct(e, [], y);
|
|
187
|
+
} else {
|
|
188
|
+
try {
|
|
189
|
+
y.call();
|
|
190
|
+
} catch (w) {
|
|
191
|
+
S = w;
|
|
192
|
+
}
|
|
193
|
+
e.call(y.prototype);
|
|
194
|
+
}
|
|
195
|
+
} else {
|
|
196
|
+
try {
|
|
197
|
+
throw Error();
|
|
198
|
+
} catch (w) {
|
|
199
|
+
S = w;
|
|
200
|
+
}
|
|
201
|
+
(y = e()) && typeof y.catch == "function" && y.catch(function() {
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
} catch (w) {
|
|
205
|
+
if (w && S && typeof w.stack == "string")
|
|
206
|
+
return [w.stack, S.stack];
|
|
245
207
|
}
|
|
246
|
-
|
|
208
|
+
return [null, null];
|
|
247
209
|
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
210
|
+
};
|
|
211
|
+
l.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
|
|
212
|
+
var u = Object.getOwnPropertyDescriptor(
|
|
213
|
+
l.DetermineComponentFrameRoot,
|
|
214
|
+
"name"
|
|
215
|
+
);
|
|
216
|
+
u && u.configurable && Object.defineProperty(
|
|
217
|
+
l.DetermineComponentFrameRoot,
|
|
218
|
+
"name",
|
|
219
|
+
{ value: "DetermineComponentFrameRoot" }
|
|
220
|
+
);
|
|
221
|
+
var o = l.DetermineComponentFrameRoot(), g = o[0], T = o[1];
|
|
222
|
+
if (g && T) {
|
|
223
|
+
var f = g.split(`
|
|
224
|
+
`), h = T.split(`
|
|
225
|
+
`);
|
|
226
|
+
for (o = u = 0; u < f.length && !f[u].includes(
|
|
227
|
+
"DetermineComponentFrameRoot"
|
|
228
|
+
); )
|
|
229
|
+
u++;
|
|
230
|
+
for (; o < h.length && !h[o].includes(
|
|
231
|
+
"DetermineComponentFrameRoot"
|
|
232
|
+
); )
|
|
233
|
+
o++;
|
|
234
|
+
if (u === f.length || o === h.length)
|
|
235
|
+
for (u = f.length - 1, o = h.length - 1; 1 <= u && 0 <= o && f[u] !== h[o]; )
|
|
236
|
+
o--;
|
|
237
|
+
for (; 1 <= u && 0 <= o; u--, o--)
|
|
238
|
+
if (f[u] !== h[o]) {
|
|
239
|
+
if (u !== 1 || o !== 1)
|
|
265
240
|
do
|
|
266
|
-
if (
|
|
267
|
-
var
|
|
268
|
-
` +
|
|
269
|
-
|
|
241
|
+
if (u--, o--, 0 > o || f[u] !== h[o]) {
|
|
242
|
+
var C = `
|
|
243
|
+
` + f[u].replace(
|
|
244
|
+
" at new ",
|
|
245
|
+
" at "
|
|
246
|
+
);
|
|
247
|
+
return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, C), C;
|
|
270
248
|
}
|
|
271
|
-
while (
|
|
249
|
+
while (1 <= u && 0 <= o);
|
|
272
250
|
break;
|
|
273
251
|
}
|
|
274
252
|
}
|
|
275
253
|
} finally {
|
|
276
|
-
J = !1,
|
|
254
|
+
J = !1, _.H = n, c(), Error.prepareStackTrace = t;
|
|
277
255
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
if (e ==
|
|
290
|
-
return "";
|
|
291
|
-
if (typeof e == "function")
|
|
292
|
-
return de(e, Be(e));
|
|
293
|
-
if (typeof e == "string")
|
|
294
|
-
return V(e);
|
|
256
|
+
return f = (f = e ? e.displayName || e.name : "") ? b(f) : "", typeof e == "function" && H.set(e, f), f;
|
|
257
|
+
}
|
|
258
|
+
function x(e) {
|
|
259
|
+
if (e == null) return "";
|
|
260
|
+
if (typeof e == "function") {
|
|
261
|
+
var r = e.prototype;
|
|
262
|
+
return m(
|
|
263
|
+
e,
|
|
264
|
+
!(!r || !r.isReactComponent)
|
|
265
|
+
);
|
|
266
|
+
}
|
|
267
|
+
if (typeof e == "string") return b(e);
|
|
295
268
|
switch (e) {
|
|
296
|
-
case
|
|
297
|
-
return
|
|
298
|
-
case
|
|
299
|
-
return
|
|
269
|
+
case W:
|
|
270
|
+
return b("Suspense");
|
|
271
|
+
case U:
|
|
272
|
+
return b("SuspenseList");
|
|
300
273
|
}
|
|
301
274
|
if (typeof e == "object")
|
|
302
275
|
switch (e.$$typeof) {
|
|
303
|
-
case
|
|
304
|
-
return
|
|
305
|
-
case
|
|
306
|
-
return
|
|
307
|
-
case
|
|
308
|
-
|
|
276
|
+
case M:
|
|
277
|
+
return e = m(e.render, !1), e;
|
|
278
|
+
case V:
|
|
279
|
+
return x(e.type);
|
|
280
|
+
case z:
|
|
281
|
+
r = e._payload, e = e._init;
|
|
309
282
|
try {
|
|
310
|
-
return
|
|
283
|
+
return x(e(r));
|
|
311
284
|
} catch {
|
|
312
285
|
}
|
|
313
|
-
}
|
|
314
286
|
}
|
|
315
287
|
return "";
|
|
316
288
|
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
321
|
-
pe.setExtraStackFrame(t);
|
|
322
|
-
} else
|
|
323
|
-
pe.setExtraStackFrame(null);
|
|
324
|
-
}
|
|
325
|
-
function Je(e, r, t, n, u) {
|
|
326
|
-
{
|
|
327
|
-
var s = Function.call.bind(I);
|
|
328
|
-
for (var o in e)
|
|
329
|
-
if (s(e, o)) {
|
|
330
|
-
var a = void 0;
|
|
331
|
-
try {
|
|
332
|
-
if (typeof e[o] != "function") {
|
|
333
|
-
var p = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
-
throw p.name = "Invariant Violation", p;
|
|
335
|
-
}
|
|
336
|
-
a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
-
} catch (f) {
|
|
338
|
-
a = f;
|
|
339
|
-
}
|
|
340
|
-
a && !(a instanceof Error) && (N(u), d("%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", t, o, typeof a), N(null)), a instanceof Error && !(a.message in ve) && (ve[a.message] = !0, N(u), d("Failed %s type: %s", t, a.message), N(null));
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
var qe = Array.isArray;
|
|
345
|
-
function q(e) {
|
|
346
|
-
return qe(e);
|
|
347
|
-
}
|
|
348
|
-
function Ge(e) {
|
|
349
|
-
{
|
|
350
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
|
-
return t;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
function ze(e) {
|
|
355
|
-
try {
|
|
356
|
-
return he(e), !1;
|
|
357
|
-
} catch {
|
|
358
|
-
return !0;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
function he(e) {
|
|
362
|
-
return "" + e;
|
|
363
|
-
}
|
|
364
|
-
function ye(e) {
|
|
365
|
-
if (ze(e))
|
|
366
|
-
return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ge(e)), he(e);
|
|
367
|
-
}
|
|
368
|
-
var $ = k.ReactCurrentOwner, Xe = {
|
|
369
|
-
key: !0,
|
|
370
|
-
ref: !0,
|
|
371
|
-
__self: !0,
|
|
372
|
-
__source: !0
|
|
373
|
-
}, Re, ge, G;
|
|
374
|
-
G = {};
|
|
375
|
-
function He(e) {
|
|
376
|
-
if (I.call(e, "ref")) {
|
|
377
|
-
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
378
|
-
if (r && r.isReactWarning)
|
|
379
|
-
return !1;
|
|
380
|
-
}
|
|
381
|
-
return e.ref !== void 0;
|
|
289
|
+
function s() {
|
|
290
|
+
var e = _.A;
|
|
291
|
+
return e === null ? null : e.getOwner();
|
|
382
292
|
}
|
|
383
|
-
function
|
|
384
|
-
if (
|
|
293
|
+
function A(e) {
|
|
294
|
+
if (re.call(e, "key")) {
|
|
385
295
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
386
|
-
if (r && r.isReactWarning)
|
|
387
|
-
return !1;
|
|
296
|
+
if (r && r.isReactWarning) return !1;
|
|
388
297
|
}
|
|
389
298
|
return e.key !== void 0;
|
|
390
299
|
}
|
|
391
|
-
function
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
function er(e, r) {
|
|
398
|
-
{
|
|
399
|
-
var t = function() {
|
|
400
|
-
Re || (Re = !0, d("%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)", r));
|
|
401
|
-
};
|
|
402
|
-
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
403
|
-
get: t,
|
|
404
|
-
configurable: !0
|
|
405
|
-
});
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
function rr(e, r) {
|
|
409
|
-
{
|
|
410
|
-
var t = function() {
|
|
411
|
-
ge || (ge = !0, d("%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)", r));
|
|
412
|
-
};
|
|
413
|
-
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
414
|
-
get: t,
|
|
415
|
-
configurable: !0
|
|
416
|
-
});
|
|
300
|
+
function N(e, r) {
|
|
301
|
+
function t() {
|
|
302
|
+
ce || (ce = !0, console.error(
|
|
303
|
+
"%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://react.dev/link/special-props)",
|
|
304
|
+
r
|
|
305
|
+
));
|
|
417
306
|
}
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
307
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
308
|
+
get: t,
|
|
309
|
+
configurable: !0
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
function we() {
|
|
313
|
+
var e = a(this.type);
|
|
314
|
+
return fe[e] || (fe[e] = !0, console.error(
|
|
315
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
316
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
317
|
+
}
|
|
318
|
+
function Re(e, r, t, n, l, u) {
|
|
319
|
+
return t = u.ref, e = {
|
|
320
|
+
$$typeof: Y,
|
|
424
321
|
type: e,
|
|
425
322
|
key: r,
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
_owner: s
|
|
430
|
-
};
|
|
431
|
-
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
432
|
-
configurable: !1,
|
|
323
|
+
props: u,
|
|
324
|
+
_owner: l
|
|
325
|
+
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
|
|
433
326
|
enumerable: !1,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
}), Object.defineProperty(a, "_self", {
|
|
327
|
+
get: we
|
|
328
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
437
329
|
configurable: !1,
|
|
438
330
|
enumerable: !1,
|
|
439
|
-
writable: !
|
|
440
|
-
value:
|
|
441
|
-
}), Object.defineProperty(
|
|
331
|
+
writable: !0,
|
|
332
|
+
value: 0
|
|
333
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
442
334
|
configurable: !1,
|
|
443
335
|
enumerable: !1,
|
|
444
|
-
writable: !
|
|
445
|
-
value:
|
|
446
|
-
}), Object.freeze && (Object.freeze(
|
|
447
|
-
}
|
|
448
|
-
function
|
|
449
|
-
{
|
|
450
|
-
var
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
}
|
|
463
|
-
return tr(e, a, p, u, n, $.current, o);
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
var z = k.ReactCurrentOwner, be = k.ReactDebugCurrentFrame;
|
|
467
|
-
function D(e) {
|
|
468
|
-
if (e) {
|
|
469
|
-
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
470
|
-
be.setExtraStackFrame(t);
|
|
336
|
+
writable: !0,
|
|
337
|
+
value: null
|
|
338
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
339
|
+
}
|
|
340
|
+
function B(e, r, t, n, l, u) {
|
|
341
|
+
if (typeof e == "string" || typeof e == "function" || e === $ || e === Z || e === I || e === W || e === U || e === pe || typeof e == "object" && e !== null && (e.$$typeof === z || e.$$typeof === V || e.$$typeof === D || e.$$typeof === Q || e.$$typeof === M || e.$$typeof === Te || e.getModuleId !== void 0)) {
|
|
342
|
+
var o = r.children;
|
|
343
|
+
if (o !== void 0)
|
|
344
|
+
if (n)
|
|
345
|
+
if (q(o)) {
|
|
346
|
+
for (n = 0; n < o.length; n++)
|
|
347
|
+
F(o[n], e);
|
|
348
|
+
Object.freeze && Object.freeze(o);
|
|
349
|
+
} else
|
|
350
|
+
console.error(
|
|
351
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
352
|
+
);
|
|
353
|
+
else F(o, e);
|
|
471
354
|
} else
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
var _e = {};
|
|
495
|
-
function or(e) {
|
|
496
|
-
{
|
|
497
|
-
var r = Ee();
|
|
498
|
-
if (!r) {
|
|
499
|
-
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
500
|
-
t && (r = `
|
|
501
|
-
|
|
502
|
-
Check the top-level render call using <` + t + ">.");
|
|
503
|
-
}
|
|
504
|
-
return r;
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
function me(e, r) {
|
|
508
|
-
{
|
|
509
|
-
if (!e._store || e._store.validated || e.key != null)
|
|
510
|
-
return;
|
|
511
|
-
e._store.validated = !0;
|
|
512
|
-
var t = or(r);
|
|
513
|
-
if (_e[t])
|
|
514
|
-
return;
|
|
515
|
-
_e[t] = !0;
|
|
516
|
-
var n = "";
|
|
517
|
-
e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + O(e._owner.type) + "."), D(e), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), D(null);
|
|
355
|
+
o = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? n = "null" : q(e) ? n = "array" : e !== void 0 && e.$$typeof === Y ? (n = "<" + (a(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : n = typeof e, console.error(
|
|
356
|
+
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
357
|
+
n,
|
|
358
|
+
o
|
|
359
|
+
);
|
|
360
|
+
if (re.call(r, "key")) {
|
|
361
|
+
o = a(e);
|
|
362
|
+
var g = Object.keys(r).filter(function(f) {
|
|
363
|
+
return f !== "key";
|
|
364
|
+
});
|
|
365
|
+
n = 0 < g.length ? "{key: someKey, " + g.join(": ..., ") + ": ...}" : "{key: someKey}", de[o + n] || (g = 0 < g.length ? "{" + g.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
366
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
367
|
+
let props = %s;
|
|
368
|
+
<%s {...props} />
|
|
369
|
+
React keys must be passed directly to JSX without using spread:
|
|
370
|
+
let props = %s;
|
|
371
|
+
<%s key={someKey} {...props} />`,
|
|
372
|
+
n,
|
|
373
|
+
o,
|
|
374
|
+
g,
|
|
375
|
+
o
|
|
376
|
+
), de[o + n] = !0);
|
|
518
377
|
}
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
378
|
+
if (o = null, t !== void 0 && (d(t), o = "" + t), A(r) && (d(r.key), o = "" + r.key), "key" in r) {
|
|
379
|
+
t = {};
|
|
380
|
+
for (var T in r)
|
|
381
|
+
T !== "key" && (t[T] = r[T]);
|
|
382
|
+
} else t = r;
|
|
383
|
+
return o && N(
|
|
384
|
+
t,
|
|
385
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
386
|
+
), Re(e, o, u, l, s(), t);
|
|
387
|
+
}
|
|
388
|
+
function F(e, r) {
|
|
389
|
+
if (typeof e == "object" && e && e.$$typeof !== je) {
|
|
524
390
|
if (q(e))
|
|
525
391
|
for (var t = 0; t < e.length; t++) {
|
|
526
392
|
var n = e[t];
|
|
527
|
-
|
|
528
|
-
}
|
|
529
|
-
else if (H(e))
|
|
530
|
-
e._store && (e._store.validated = !0);
|
|
531
|
-
else if (e) {
|
|
532
|
-
var u = De(e);
|
|
533
|
-
if (typeof u == "function" && u !== e.entries)
|
|
534
|
-
for (var s = u.call(e), o; !(o = s.next()).done; )
|
|
535
|
-
H(o.value) && me(o.value, r);
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
function ir(e) {
|
|
540
|
-
{
|
|
541
|
-
var r = e.type;
|
|
542
|
-
if (r == null || typeof r == "string")
|
|
543
|
-
return;
|
|
544
|
-
var t;
|
|
545
|
-
if (typeof r == "function")
|
|
546
|
-
t = r.propTypes;
|
|
547
|
-
else if (typeof r == "object" && (r.$$typeof === i || // Note: Memo only checks outer props here.
|
|
548
|
-
// Inner props are checked in the reconciler.
|
|
549
|
-
r.$$typeof === w))
|
|
550
|
-
t = r.propTypes;
|
|
551
|
-
else
|
|
552
|
-
return;
|
|
553
|
-
if (t) {
|
|
554
|
-
var n = O(r);
|
|
555
|
-
Je(t, e.props, "prop", n, e);
|
|
556
|
-
} else if (r.PropTypes !== void 0 && !X) {
|
|
557
|
-
X = !0;
|
|
558
|
-
var u = O(r);
|
|
559
|
-
d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
|
|
560
|
-
}
|
|
561
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
function ur(e) {
|
|
565
|
-
{
|
|
566
|
-
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
567
|
-
var n = r[t];
|
|
568
|
-
if (n !== "children" && n !== "key") {
|
|
569
|
-
D(e), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), D(null);
|
|
570
|
-
break;
|
|
393
|
+
P(n) && K(n, r);
|
|
571
394
|
}
|
|
572
|
-
|
|
573
|
-
|
|
395
|
+
else if (P(e))
|
|
396
|
+
e._store && (e._store.validated = 1);
|
|
397
|
+
else if (e === null || typeof e != "object" ? t = null : (t = ee && e[ee] || e["@@iterator"], t = typeof t == "function" ? t : null), typeof t == "function" && t !== e.entries && (t = t.call(e), t !== e))
|
|
398
|
+
for (; !(e = t.next()).done; )
|
|
399
|
+
P(e.value) && K(e.value, r);
|
|
574
400
|
}
|
|
575
401
|
}
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
if (_ !== void 0)
|
|
594
|
-
if (n)
|
|
595
|
-
if (q(_)) {
|
|
596
|
-
for (var F = 0; F < _.length; F++)
|
|
597
|
-
we(_[F], e);
|
|
598
|
-
Object.freeze && Object.freeze(_);
|
|
599
|
-
} else
|
|
600
|
-
d("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
601
|
-
else
|
|
602
|
-
we(_, e);
|
|
603
|
-
}
|
|
604
|
-
if (I.call(r, "key")) {
|
|
605
|
-
var x = O(e), R = Object.keys(r).filter(function(vr) {
|
|
606
|
-
return vr !== "key";
|
|
607
|
-
}), Z = R.length > 0 ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
608
|
-
if (!Te[x + Z]) {
|
|
609
|
-
var dr = R.length > 0 ? "{" + R.join(": ..., ") + ": ...}" : "{}";
|
|
610
|
-
d(`A props object containing a "key" prop is being spread into JSX:
|
|
611
|
-
let props = %s;
|
|
612
|
-
<%s {...props} />
|
|
613
|
-
React keys must be passed directly to JSX without using spread:
|
|
614
|
-
let props = %s;
|
|
615
|
-
<%s key={someKey} {...props} />`, Z, x, dr, x), Te[x + Z] = !0;
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
return e === y ? ur(l) : ir(l), l;
|
|
402
|
+
function P(e) {
|
|
403
|
+
return typeof e == "object" && e !== null && e.$$typeof === Y;
|
|
404
|
+
}
|
|
405
|
+
function K(e, r) {
|
|
406
|
+
if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r = xe(r), !ve[r])) {
|
|
407
|
+
ve[r] = !0;
|
|
408
|
+
var t = "";
|
|
409
|
+
e && e._owner != null && e._owner !== s() && (t = null, typeof e._owner.tag == "number" ? t = a(e._owner.type) : typeof e._owner.name == "string" && (t = e._owner.name), t = " It was passed a child from " + t + ".");
|
|
410
|
+
var n = _.getCurrentStack;
|
|
411
|
+
_.getCurrentStack = function() {
|
|
412
|
+
var l = x(e.type);
|
|
413
|
+
return n && (l += n() || ""), l;
|
|
414
|
+
}, console.error(
|
|
415
|
+
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
416
|
+
r,
|
|
417
|
+
t
|
|
418
|
+
), _.getCurrentStack = n;
|
|
619
419
|
}
|
|
620
420
|
}
|
|
621
|
-
function
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
421
|
+
function xe(e) {
|
|
422
|
+
var r = "", t = s();
|
|
423
|
+
return t && (t = a(t.type)) && (r = `
|
|
424
|
+
|
|
425
|
+
Check the render method of \`` + t + "`."), r || (e = a(e)) && (r = `
|
|
426
|
+
|
|
427
|
+
Check the top-level render call using <` + e + ">."), r;
|
|
428
|
+
}
|
|
429
|
+
var ye = Ce, Y = Symbol.for("react.transitional.element"), _e = Symbol.for("react.portal"), $ = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), Z = Symbol.for("react.profiler"), Q = Symbol.for("react.consumer"), D = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), W = Symbol.for("react.suspense"), U = Symbol.for("react.suspense_list"), V = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), pe = Symbol.for("react.offscreen"), ee = Symbol.iterator, he = Symbol.for("react.client.reference"), _ = ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, re = Object.prototype.hasOwnProperty, p = Object.assign, Te = Symbol.for("react.client.reference"), q = Array.isArray, j = 0, te, oe, ne, ae, ue, se, ie;
|
|
430
|
+
E.__reactDisabledLog = !0;
|
|
431
|
+
var G, le, J = !1, H = new (typeof WeakMap == "function" ? WeakMap : Map)(), je = Symbol.for("react.client.reference"), ce, fe = {}, de = {}, ve = {};
|
|
432
|
+
O.Fragment = $, O.jsx = function(e, r, t, n, l) {
|
|
433
|
+
return B(e, r, t, !1, n, l);
|
|
434
|
+
}, O.jsxs = function(e, r, t, n, l) {
|
|
435
|
+
return B(e, r, t, !0, n, l);
|
|
436
|
+
};
|
|
437
|
+
}()), O;
|
|
630
438
|
}
|
|
631
|
-
process.env.NODE_ENV === "production" ?
|
|
632
|
-
var
|
|
633
|
-
const
|
|
634
|
-
function
|
|
635
|
-
const
|
|
636
|
-
if (!
|
|
439
|
+
process.env.NODE_ENV === "production" ? L.exports = Se() : L.exports = Ae();
|
|
440
|
+
var R = L.exports;
|
|
441
|
+
const me = ke(null), Ye = (a) => /* @__PURE__ */ R.jsx(me.Provider, { value: a.router, children: a.children });
|
|
442
|
+
function ge() {
|
|
443
|
+
const a = Oe(me);
|
|
444
|
+
if (!a)
|
|
637
445
|
throw new Error(
|
|
638
446
|
"[useRouter] Router not found. Insert RouterProvider in app root"
|
|
639
447
|
);
|
|
640
|
-
return
|
|
448
|
+
return a;
|
|
641
449
|
}
|
|
642
|
-
function
|
|
643
|
-
const { to:
|
|
450
|
+
function $e(a) {
|
|
451
|
+
const { to: v, params: d, onClick: E, ref: i, ...c } = a, m = ge().mappedRoutes.find(({ route: s }) => s === v), { onOpen: x } = X(v);
|
|
644
452
|
if (!m) {
|
|
645
|
-
const { internal:
|
|
453
|
+
const { internal: s } = v;
|
|
646
454
|
throw new Error(
|
|
647
|
-
`[Link] Route with path "${
|
|
455
|
+
`[Link] Route with path "${s.path}" not found. Maybe it is not passed into createRouter?`
|
|
648
456
|
);
|
|
649
457
|
}
|
|
650
|
-
return /* @__PURE__ */
|
|
458
|
+
return /* @__PURE__ */ R.jsx(
|
|
651
459
|
"a",
|
|
652
460
|
{
|
|
653
|
-
...
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
461
|
+
...c,
|
|
462
|
+
ref: i,
|
|
463
|
+
href: m.toPath(d ?? void 0),
|
|
464
|
+
onClick: (s) => {
|
|
465
|
+
E == null || E(s), !s.defaultPrevented && (c.target && c.target !== "_self" || s.metaKey || s.altKey || s.ctrlKey || s.shiftKey || (s.preventDefault(), x({ params: d || {} })));
|
|
657
466
|
}
|
|
658
467
|
}
|
|
659
468
|
);
|
|
660
469
|
}
|
|
661
|
-
const
|
|
662
|
-
...
|
|
470
|
+
const Me = (a) => ({
|
|
471
|
+
...a,
|
|
663
472
|
view: () => {
|
|
664
|
-
const { view:
|
|
665
|
-
return
|
|
473
|
+
const { view: v, layout: d, route: E } = a, { isOpened: i } = X(E);
|
|
474
|
+
return i ? d ? /* @__PURE__ */ R.jsx(d, { children: /* @__PURE__ */ R.jsx(v, {}) }) : /* @__PURE__ */ R.jsx(v, {}) : null;
|
|
666
475
|
}
|
|
667
|
-
}),
|
|
668
|
-
const { routes:
|
|
476
|
+
}), We = (a) => {
|
|
477
|
+
const { routes: v, otherwise: d } = a;
|
|
669
478
|
return () => {
|
|
670
|
-
const
|
|
671
|
-
(
|
|
672
|
-
),
|
|
673
|
-
(
|
|
479
|
+
const E = ge(), i = X(E.$activeRoutes), c = i.reduce((s, A) => s.filter(
|
|
480
|
+
(N) => N !== A.internal.parent
|
|
481
|
+
), i), b = v.find(
|
|
482
|
+
(s) => s.route === c.at(-1)
|
|
674
483
|
);
|
|
675
|
-
if (!
|
|
676
|
-
return
|
|
677
|
-
const { view:
|
|
678
|
-
return
|
|
484
|
+
if (!b)
|
|
485
|
+
return d ? /* @__PURE__ */ R.jsx(d, {}) : null;
|
|
486
|
+
const { view: m, layout: x } = b;
|
|
487
|
+
return x ? /* @__PURE__ */ R.jsx(x, { children: /* @__PURE__ */ R.jsx(m, {}) }) : /* @__PURE__ */ R.jsx(m, {});
|
|
679
488
|
};
|
|
680
489
|
};
|
|
681
490
|
export {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
491
|
+
$e as Link,
|
|
492
|
+
Ye as RouterProvider,
|
|
493
|
+
Me as createRouteView,
|
|
494
|
+
We as createRoutesView,
|
|
495
|
+
ge as useRouter
|
|
687
496
|
};
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
7
7
|
"private": false,
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.3",
|
|
9
9
|
"description": "React bindings for argon router",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"effector",
|
|
@@ -44,21 +44,21 @@
|
|
|
44
44
|
"url": "https://github.com/movpushmov/argon-router/issues"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@argon-router/core": "^0.2.
|
|
47
|
+
"@argon-router/core": "^0.2.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@babel/preset-react": "^7.
|
|
51
|
-
"@testing-library/react": "^
|
|
50
|
+
"@babel/preset-react": "^7.26.3",
|
|
51
|
+
"@testing-library/react": "^16.1.0",
|
|
52
52
|
"@testing-library/user-event": "^14.5.2",
|
|
53
|
-
"@types/react": "^
|
|
54
|
-
"@vitejs/plugin-react": "^4.3.
|
|
55
|
-
"jsdom": "^
|
|
56
|
-
"react": "^
|
|
53
|
+
"@types/react": "^19.0.2",
|
|
54
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
55
|
+
"jsdom": "^25.0.1",
|
|
56
|
+
"react": "^19.0.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"effector": "^23.2.
|
|
60
|
-
"effector-react": "^23.
|
|
61
|
-
"react": "^
|
|
59
|
+
"effector": "^23.2.3",
|
|
60
|
+
"effector-react": "^23.3.0",
|
|
61
|
+
"react": "^19.0.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "11779906347b6d26a5948b24b46369f5ba4c8bc3"
|
|
64
64
|
}
|