text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t(e.ReachRouter={},e.React)}(this,function(e,t){"use strict";var n="default"in t?t.default:t;function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o(e,t){return e(t={exports:{}},t.exports),t.exports}var i=o(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,d=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.fundamental"):60117,g=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case p:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case u:return e;default:return t}}case o:return t}}}function P(e){return w(e)===p}t.typeOf=w,t.AsyncMode=l,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===u||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===g||e.$$typeof===b)},t.isAsyncMode=function(e){return P(e)||w(e)===l},t.isConcurrentMode=P,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h}});r(i);i.typeOf,i.AsyncMode,i.ConcurrentMode,i.ContextConsumer,i.ContextProvider,i.Element,i.ForwardRef,i.Fragment,i.Lazy,i.Memo,i.Portal,i.Profiler,i.StrictMode,i.Suspense,i.isValidElementType,i.isAsyncMode,i.isConcurrentMode,i.isContextConsumer,i.isContextProvider,i.isElement,i.isForwardRef,i.isFragment,i.isLazy,i.isMemo,i.isPortal,i.isProfiler,i.isStrictMode,i.isSuspense;var a=o(function(e,t){});r(a);a.typeOf,a.AsyncMode,a.ConcurrentMode,a.ContextConsumer,a.ContextProvider,a.Element,a.ForwardRef,a.Fragment,a.Lazy,a.Memo,a.Portal,a.Profiler,a.StrictMode,a.Suspense,a.isValidElementType,a.isAsyncMode,a.isConcurrentMode,a.isContextConsumer,a.isContextProvider,a.isElement,a.isForwardRef,a.isFragment,a.isLazy,a.isMemo,a.isPortal,a.isProfiler,a.isStrictMode,a.isSuspense,o(function(e){e.exports=i});var s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;(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={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}})()&&Object.assign;var l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Function.call.bind(Object.prototype.hasOwnProperty);function p(){}function f(){}f.resetWarningCache=p;o(function(e){e.exports=function(){function e(e,t,n,r,o,i){if(i!==l){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:f,resetWarningCache:p};return n.PropTypes=n,n}()});var h=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}};function d(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function m(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function v(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}d.__suppressDeprecationWarning=!0,m.__suppressDeprecationWarning=!0,v.__suppressDeprecationWarning=!0;var y=function(e,t){return e.substr(0,t.length)===t},g=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],i=_(o),a=""===i[0],s=O(e),u=0,c=s.length;u<c;u++){var l=!1,p=s[u].route;if(p.default)r={route:p,params:{},uri:t};else{for(var f=_(p.path),d={},m=Math.max(i.length,f.length),v=0;v<m;v++){var y=f[v],g=i[v];if(E(y)){d[y.slice(1)||"*"]=i.slice(v).map(decodeURIComponent).join("/");break}if(void 0===g){l=!0;break}var b=S.exec(y);if(b&&!a){-1===F.indexOf(b[1])||h(!1);var w=decodeURIComponent(g);d[b[1]]=w}else if(y!==g){l=!0;break}}if(!l){n={route:p,params:d,uri:"/"+i.slice(0,v).join("/")};break}}}return n||r||null},b=function(e,t){return g([{path:e}],t)},w=function(e,t){if(y(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],i=t.split("?")[0],a=_(r),s=_(i);if(""===a[0])return M(i,o);if(!y(a[0],".")){var u=s.concat(a).join("/");return M(("/"===i?"":"/")+u,o)}for(var c=s.concat(a),l=[],p=0,f=c.length;p<f;p++){var h=c[p];".."===h?l.pop():"."!==h&&l.push(h)}return M("/"+l.join("/"),o)},P=function(e,t){var n=e.split("?"),r=n[0],o=n[1],i=void 0===o?"":o,a="/"+_(r).map(function(e){var n=S.exec(e);return n?t[n[1]]:e}).join("/"),s=t.location,u=(s=void 0===s?{}:s).search,c=(void 0===u?"":u).split("?")[1]||"";return a=M(a,i,c)},S=/^:(.+)/,C=function(e){return S.test(e)},E=function(e){return e&&"*"===e[0]},x=function(e,t){return{route:e,score:e.default?0:_(e.path).reduce(function(e,t){return e+=4,!function(e){return""===e}(t)?C(t)?e+=2:E(t)?e-=5:e+=3:e+=1,e},0),index:t}},O=function(e){return e.map(x).sort(function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index})},_=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},M=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter(function(e){return e&&e.length>0}))&&n.length>0?"?"+n.join("&"):"")},F=["uri","path"],j=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},k=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},L=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},T=function(e){var t=e.location,n=t.search,r=t.hash,o=t.href,i=t.origin,a=t.protocol,s=t.host,u=t.hostname,c=t.port,l=e.location.pathname;!l&&o&&W&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:i,protocol:a,host:s,hostname:u,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},$=function(e,t){var n=[],r=T(e),o=!1,i=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,i()},listen:function(t){n.push(t);var o=function(){r=T(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),function(){e.removeEventListener("popstate",o),n=n.filter(function(e){return e!==t})}},navigate:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=a.state,u=a.replace,c=void 0!==u&&u;if("number"==typeof t)e.history.go(t);else{s=R({},s,{key:Date.now()+""});try{o||c?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(n){e.location[c?"replace":"assign"](t)}}r=T(e),o=!0;var l=new Promise(function(e){return i=e});return n.forEach(function(e){return e({location:r,action:"PUSH"})}),l}}},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n=0,r=[{pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""}],o=[null];return{get location(){return r[n]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return r},get index(){return n},get state(){return o[n]},pushState:function(e,t,i){var a=i.split("?"),s=a[0],u=a[1],c=void 0===u?"":u;n++,r.push({pathname:s,search:c.length?"?"+c:c}),o.push(e)},replaceState:function(e,t,i){var a=i.split("?"),s=a[0],u=a[1],c=void 0===u?"":u;r[n]={pathname:s,search:c},o[n]=e},go:function(e){var t=n+e;t<0||t>o.length-1||(n=t)}}}},W=!("undefined"==typeof window||!window.document||!window.document.createElement),A=$(W?window:D()),I=A.navigate,N=function(e,n){var r=t.createContext(n);return r.displayName=e,r},q=N("Location"),B=function(e){var t=e.children;return n.createElement(q.Consumer,null,function(e){return e?t(e):n.createElement(z,null,t)})},z=function(e){function t(){var n,r;j(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=L(this,e.call.apply(e,[this].concat(i))),r.state={context:r.getContext(),refs:{unlisten:null}},L(r,n)}return U(t,e),t.prototype.getContext=function(){var e=this.props.history;return{navigate:e.navigate,location:e.location}},t.prototype.componentDidCatch=function(e,t){if(!re(e))throw e;(0,this.props.history.navigate)(e.uri,{replace:!0})},t.prototype.componentDidUpdate=function(e,t){t.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},t.prototype.componentDidMount=function(){var e=this,t=this.state.refs,n=this.props.history;n._onTransitionComplete(),t.unlisten=n.listen(function(){Promise.resolve().then(function(){requestAnimationFrame(function(){e.unmounted||e.setState(function(){return{context:e.getContext()}})})})})},t.prototype.componentWillUnmount=function(){var e=this.state.refs;this.unmounted=!0,e.unlisten()},t.prototype.render=function(){var e=this.state.context,t=this.props.children;return n.createElement(q.Provider,{value:e},"function"==typeof t?t(e):t||null)},t}(n.Component);z.defaultProps={history:A};var V=N("Base",{baseuri:"/",basepath:"/",navigate:A.navigate}),H=function(e){return n.createElement(V.Consumer,null,function(t){return n.createElement(B,null,function(r){return n.createElement(K,R({},t,r,e))})})},K=function(e){function t(){return j(this,t),L(this,e.apply(this,arguments))}return U(t,e),t.prototype.render=function(){var e=this.props,t=e.location,r=e.navigate,o=e.basepath,i=e.primary,a=e.children,s=(e.baseuri,e.component),u=void 0===s?"div":s,c=k(e,["location","navigate","basepath","primary","children","baseuri","component"]),l=n.Children.toArray(a).reduce(function(e,t){var n=ce(o)(t);return e.concat(n)},[]),p=t.pathname,f=g(l,p);if(f){var h=f.params,d=f.uri,m=f.route,v=f.route.value;o=m.default?o:m.path.replace(/\*$/,"");var y=R({},h,{uri:d,location:t,navigate:function(e,t){return r(w(e,d),t)}}),b=n.cloneElement(v,y,v.props.children?n.createElement(H,{location:t,primary:i},v.props.children):void 0),P=i?G:u,S=i?R({uri:d,location:t,component:u},c):c;return n.createElement(V.Provider,{value:{baseuri:d,basepath:o,navigate:y.navigate}},n.createElement(P,S,b))}return null},t}(n.PureComponent);K.defaultProps={primary:!0};var Y=N("Focus"),G=function(e){var t=e.uri,r=e.location,o=e.component,i=k(e,["uri","location","component"]);return n.createElement(Y.Consumer,null,function(e){return n.createElement(X,R({},i,{component:o,requestFocus:e,uri:t,location:r}))})},J=!0,Q=0,X=function(e){function t(){var n,r;j(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=L(this,e.call.apply(e,[this].concat(i))),r.state={},r.requestFocus=function(e){!r.state.shouldFocus&&e&&e.focus()},L(r,n)}return U(t,e),t.getDerivedStateFromProps=function(e,t){if(null==t.uri)return R({shouldFocus:!0},e);var n=e.uri!==t.uri,r=t.location.pathname!==e.location.pathname&&e.location.pathname===e.uri;return R({shouldFocus:n||r},e)},t.prototype.componentDidMount=function(){Q++,this.focus()},t.prototype.componentWillUnmount=function(){0===--Q&&(J=!0)},t.prototype.componentDidUpdate=function(e,t){e.location!==this.props.location&&this.state.shouldFocus&&this.focus()},t.prototype.focus=function(){var e=this.props.requestFocus;e?e(this.node):J?J=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},t.prototype.render=function(){var e=this,t=this.props,r=(t.children,t.style),o=(t.requestFocus,t.component),i=void 0===o?"div":o,a=(t.uri,t.location,k(t,["children","style","requestFocus","component","uri","location"]));return n.createElement(i,R({style:R({outline:"none"},r),tabIndex:"-1",ref:function(t){return e.node=t}},a),n.createElement(Y.Provider,{value:this.requestFocus},this.props.children))},t}(n.Component);!function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==r?"\n  "+r:"")+(null!==o?"\n  "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=d,t.componentWillReceiveProps=m),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=v;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}}(X);var Z=function(){},ee=n.forwardRef;void 0===ee&&(ee=function(e){return e});var te=ee(function(e,t){var r=e.innerRef,o=k(e,["innerRef"]);return n.createElement(V.Consumer,null,function(e){e.basepath;var i=e.baseuri;return n.createElement(B,null,function(e){var a=e.location,s=e.navigate,u=o.to,c=o.state,l=o.replace,p=o.getProps,f=void 0===p?Z:p,h=k(o,["to","state","replace","getProps"]),d=w(u,i),m=encodeURI(d),v=a.pathname===m,g=y(a.pathname,m);return n.createElement("a",R({ref:t||r,"aria-current":v?"page":void 0},h,f({isCurrent:v,isPartiallyCurrent:g,href:d,location:a}),{href:d,onClick:function(e){if(h.onClick&&h.onClick(e),le(e)){e.preventDefault();var t=l;if("boolean"!=typeof l&&v){var n=R({},a.state),r=(n.key,k(n,["key"]));o=R({},c),i=r,t=(u=Object.keys(o)).length===Object.keys(i).length&&u.every(function(e){return i.hasOwnProperty(e)&&o[e]===i[e]})}s(d,{state:c,replace:t})}var o,i,u}}))})})});function ne(e){this.uri=e}te.displayName="Link";var re=function(e){return e instanceof ne},oe=function(e){throw new ne(e)},ie=function(e){function t(){return j(this,t),L(this,e.apply(this,arguments))}return U(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.navigate,n=e.to,r=(e.from,e.replace),o=void 0===r||r,i=e.state,a=(e.noThrow,e.baseuri),s=k(e,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then(function(){var e=w(n,a);t(P(e,s),{replace:o,state:i})})},t.prototype.render=function(){var e=this.props,t=(e.navigate,e.to),n=(e.from,e.replace,e.state,e.noThrow),r=e.baseuri,o=k(e,["navigate","to","from","replace","state","noThrow","baseuri"]),i=w(t,r);return n||oe(P(i,o)),null},t}(n.Component),ae=function(e){return n.createElement(V.Consumer,null,function(t){var r=t.baseuri;return n.createElement(B,null,function(t){return n.createElement(ie,R({},t,{baseuri:r},e))})})},se=function(){var e=t.useContext(q);if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},ue=function(e){return e.replace(/(^\/+|\/+$)/g,"")},ce=function e(t){return function(r){if(!r)return null;if(r.type===n.Fragment&&r.props.children)return n.Children.map(r.props.children,e(t));var o,i,a;if(r.props.path||r.props.default||r.type===ae||h(!1),r.type!==ae||r.props.from&&r.props.to||h(!1),r.type===ae&&(o=r.props.from,i=r.props.to,a=function(e){return C(e)},_(o).filter(a).sort().join("/")!==_(i).filter(a).sort().join("/"))&&h(!1),r.props.default)return{value:r,default:!0};var s=r.type===ae?r.props.from:r.props.path,u="/"===s?t:ue(t)+"/"+ue(s);return{value:r,default:r.props.default,path:r.props.children?ue(u)+"/*":u}}},le=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)};e.Link=te,e.Location=B,e.LocationProvider=z,e.Match=function(e){var t=e.path,r=e.children;return n.createElement(V.Consumer,null,function(e){var o=e.baseuri;return n.createElement(B,null,function(e){var n=e.navigate,i=e.location,a=w(t,o),s=b(a,i.pathname);return r({navigate:n,location:i,match:s?R({},s.params,{uri:s.uri,path:t}):null})})})},e.Redirect=ae,e.Router=H,e.ServerLocation=function(e){var t=e.url,r=e.children,o=t.indexOf("?"),i=void 0,a="";return o>-1?(i=t.substring(0,o),a=t.substring(o)):i=t,n.createElement(q.Provider,{value:{location:{pathname:i,search:a,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},r)},e.createHistory=$,e.createMemorySource=D,e.isRedirect=re,e.navigate=I,e.redirectTo=oe,e.globalHistory=A,e.matchPath=b,e.useLocation=se,e.useNavigate=function(){var e=t.useContext(V);if(!e)throw new Error("useNavigate hook was used but a BaseContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.navigate},e.useParams=function(){var e=t.useContext(V);if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var n=se(),r=b(e.basepath,n.pathname);return r?r.params:null},e.useMatch=function(e){if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");var n=t.useContext(V);if(!n)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var r=se(),o=w(e,n.baseuri),i=b(o,r.pathname);return i?R({},i.params,{uri:i.uri,path:e}):null},Object.defineProperty(e,"__esModule",{value:!0})});
  