(self.webpackChunkshould_you_move_to_sibley_ia=self.webpackChunkshould_you_move_to_sibley_ia||[]).push([[143],{1506:function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},7154:function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o},t.exports.__esModule=!0,t.exports.default=t.exports},9489:function(t){function e(n,r){return t.exports=e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n,r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},2393:function(t,e){"use strict";var n=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},c=s.state,l=s.replace,p=void 0!==l&&l;if("number"==typeof e)t.history.go(e);else{c=n({},c,{key:Date.now()+""});try{i||p?t.history.replaceState(c,null,e):t.history.pushState(c,null,e)}catch(h){t.location[p?"replace":"assign"](e)}}a=r(t),i=!0;var f=new Promise((function(t){return u=t}));return o.forEach((function(t){return t({location:a,action:"PUSH"})})),f}}},a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(t,e,n){var i=n.split("?"),u=i[0],s=i[1],c=void 0===s?"":s;r++,o.push({pathname:u,search:c.length?"?"+c:c}),a.push(t)},replaceState:function(t,e,n){var i=n.split("?"),u=i[0],s=i[1],c=void 0===s?"":s;o[r]={pathname:u,search:c},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},i=!("undefined"==typeof window||!window.document||!window.document.createElement),u=o(i?window:a()),s=u.navigate;e.V5=u},2098:function(t,e,n){"use strict";e.__esModule=!0,e.shallowCompare=e.validateRedirect=e.insertParams=e.resolve=e.match=e.pick=e.startsWith=void 0;var r,o=n(1143),a=(r=o)&&r.__esModule?r:{default:r};var i=function(t,e){return t.substr(0,e.length)===e},u=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],i=h(o),u=""===i[0],c=f(t),p=0,d=c.length;pe.score?-1:t.index-e.index}))},h=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},d=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r0})))&&n.length>0?"?"+n.join("&"):"")},v=["uri","path"];e.startsWith=i,e.pick=u,e.match=function(t,e){return u([{path:t}],e)},e.resolve=function(t,e){if(i(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],a=e.split("?")[0],u=h(r),s=h(a);if(""===u[0])return d(a,o);if(!i(u[0],".")){var c=s.concat(u).join("/");return d(("/"===a?"":"/")+c,o)}for(var l=s.concat(u),p=[],f=0,v=l.length;f0?s:n?[n]:[]},e.I=function(t,e,n){return r.reduce((function(n,r){return r.plugin[t]?n.then((function(){return r.plugin[t](e,r.options)})):n}),Promise.resolve())}},8110:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var r=function(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).slice().map((function(t){t(n)})),(t["*"]||[]).slice().map((function(t){t(e,n)}))}}}()},2257:function(t,e,n){"use strict";n.d(e,{UD:function(){return f},Cj:function(){return d},GA:function(){return h},DS:function(){return p}});var r=n(2098),o=n(1578),a=function(t){if(void 0===t)return t;var e=t.split("?"),n=e[0],r=e[1],o=void 0===r?"":r;return o&&(o="?"+o),"/"===n?"/"+o:"/"===n.charAt(n.length-1)?n.slice(0,-1)+o:n+o},i=n(969),u=new Map,s=[],c=function(t){var e=decodeURIComponent(t);return(0,o.Z)(e,decodeURIComponent("")).split("#")[0]};function l(t){return t.startsWith("/")||t.startsWith("https://")||t.startsWith("http://")?t:new URL(t,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var p=function(t){s=t},f=function(t){var e=v(t),n=s.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=(0,r.pick)(n,e);return o?a(o.route.originalPath):null},h=function(t){var e=v(t),n=s.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=(0,r.pick)(n,e);return o?o.params:{}},d=function t(e){var n=c(l(e));if(u.has(n))return u.get(n);var r=(0,i.J)(e);if(r)return t(r.toPath);var o=f(n);return o||(o=v(e)),u.set(n,o),o},v=function(t){var e=c(l(t));return"/index.html"===e&&(e="/"),e=a(e)}},5894:function(t,e,n){"use strict";n.d(e,{uQ:function(){return p},kL:function(){return y},ZP:function(){return _},hs:function(){return R},jN:function(){return P},N1:function(){return b}});var r=n(1721);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0)return u[u.length-1];if(t&&t.location.pathname===a)return i?decodeURI(i.slice(1)):[0,0];return!0}var _=function(t){function e(e){var n;return(n=t.call(this,e)||this).announcementRef=a.createRef(),n}(0,r.Z)(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){var n=this;requestAnimationFrame((function(){var t="new page at "+n.props.location.pathname;document.title&&(t=document.title);var e=document.querySelectorAll("#gatsby-focus-wrapper h1");e&&e.length&&(t=e[0].textContent);var r="Navigated to "+t;n.announcementRef.current&&(n.announcementRef.current.innerText!==r&&(n.announcementRef.current.innerText=r))}))},n.render=function(){return a.createElement("div",Object.assign({},d,{ref:this.announcementRef}))},e}(a.Component),R=function(t,e){var n,r;return t.href!==e.href||(null==t||null===(n=t.state)||void 0===n?void 0:n.key)!==(null==e||null===(r=e.state)||void 0===r?void 0:r.key)},E=function(t){function e(e){var n;return n=t.call(this,e)||this,w(e.location,null),n}(0,r.Z)(e,t);var n=e.prototype;return n.componentDidMount=function(){y(this.props.location,null)},n.shouldComponentUpdate=function(t){return!!R(t.location,this.props.location)&&(w(this.props.location,t.location),!0)},n.componentDidUpdate=function(t){R(t.location,this.props.location)&&y(this.props.location,t.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(_,{location:location}))},e}(a.Component),k=n(804),C=n(4999);function S(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}var j=function(t){function e(e){var n;n=t.call(this)||this;var r=e.location,o=e.pageResources;return n.state={location:Object.assign({},r),pageResources:o||l.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.Z)(e,t),e.getDerivedStateFromProps=function(t,e){var n=t.location;return e.location.href!==n.href?{pageResources:l.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=e.prototype;return n.loadResources=function(t){var e=this;l.ZP.loadPage(t).then((function(n){n&&n.status!==l.uQ.Error?e.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=t)}))},n.shouldComponentUpdate=function(t,e){return e.pageResources?this.state.pageResources!==e.pageResources||(this.state.pageResources.component!==e.pageResources.component||(this.state.pageResources.json!==e.pageResources.json||(!(this.state.location.key===e.location.key||!e.pageResources.page||!e.pageResources.page.matchPath&&!e.pageResources.page.path)||function(t,e,n){return S(t.props,e)||S(t.state,n)}(this,t,e)))):(this.loadResources(t.location.pathname+t.location.search),!1)},n.render=function(){return this.props.children(this.state)},e}(a.Component),x=n(1578),O=new l.kL(C,[],window.pageData);(0,l.N1)(O),O.setApiRunner(o.h),window.asyncRequires=C,window.___emitter=h.Z,window.___loader=l.jN,v.V5.listen((function(t){t.location.action=t.action})),window.___push=function(t){return b(t,{replace:!1})},window.___replace=function(t){return b(t,{replace:!0})},window.___navigate=function(t,e){return b(t,e)};var D="gatsby-reload-compilation-hash-match";(0,o.I)("onClientEntry").then((function(){(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&n(154);var t=function(t){return a.createElement(u.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(k.Z,t))},e=a.createContext({}),c=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.Z)(n,t),n.prototype.render=function(){var t=this.props.children;return a.createElement(u.Location,null,(function(n){var r=n.location;return a.createElement(j,{location:r},(function(n){var r=n.pageResources,o=n.location,i=(0,l.hs)();return a.createElement(p.Provider,{value:i},a.createElement(e.Provider,{value:{pageResources:r,location:o}},t))}))}))},n}(a.Component),f=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.Z)(o,n),o.prototype.render=function(){var n=this;return a.createElement(e.Consumer,null,(function(e){var r=e.pageResources,o=e.location;return a.createElement(E,{location:o},a.createElement(s.$C,{location:o,shouldUpdateScroll:P},a.createElement(u.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},a.createElement(t,Object.assign({path:"/404.html"===r.page.path||"/500.html"===r.page.path?(0,x.Z)(o.pathname,""):encodeURI((r.page.matchPath||r.page.path).split("?")[0])},n.props,{location:o,pageResources:r},r.json)))))}))},o}(a.Component),h=window,d=h.pagePath,v=h.location;d&&""+d!==v.pathname+(d.includes("?")?v.search:"")&&!(O.findMatchPath((0,x.Z)(v.pathname,""))||d.match(/^\/(404|500)(\/?|.html)$/)||d.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,u.navigate)(""+d+(d.includes("?")?"":v.search)+v.hash,{replace:!0}),l.jN.loadPage(v.pathname+v.search).then((function(t){if(t.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),sessionStorage&&!("1"===sessionStorage.getItem(D))))return sessionStorage.setItem(D,"1"),void window.location.reload(!0);if(sessionStorage&&sessionStorage.removeItem(D),!t||t.status===l.uQ.Error){var e="page resources for "+v.pathname+" not found. Not rendering React";if(t&&t.error)throw console.error(e),t.error;throw new Error(e)}var n=(0,o.h)("wrapRootElement",{element:a.createElement(f,null)},a.createElement(f,null),(function(t){return{element:t.result}})).pop(),r=function(){var t=a.useRef(!1);return a.useEffect((function(){t.current||(t.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),a.createElement(c,null,n)},u=(0,o.h)("replaceHydrateFunction",void 0,i.hydrateRoot?i.hydrateRoot:i.hydrate)[0];function s(){var t="undefined"!=typeof window?document.getElementById("___gatsby"):null;u===i.hydrateRoot?u(t,a.createElement(r,null)):u(a.createElement(r,null),t)}var p=document;if("complete"===p.readyState||"loading"!==p.readyState&&!p.documentElement.doScroll)setTimeout((function(){s()}),0);else{var h=function t(){p.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),s()};p.addEventListener("DOMContentLoaded",h,!1),window.addEventListener("load",h,!1)}}))}))},6947:function(t,e,n){"use strict";n.r(e);var r=n(7294),o=n(5894),a=n(804);e.default=function(t){var e=t.location,n=o.ZP.loadPageSync(e.pathname);return n?r.createElement(a.Z,Object.assign({location:e,pageResources:n},n.json)):null}},861:function(t,e,n){var r;t.exports=(r=n(6947))&&r.default||r},3639:function(t,e){e.O=function(t){return t}},969:function(t,e,n){"use strict";n.d(e,{J:function(){return a}});var r=new Map,o=new Map;function a(t){var e=r.get(t);return e||(e=o.get(t.toLowerCase())),e}[].forEach((function(t){t.ignoreCase?o.set(t.fromPath,t):r.set(t.fromPath,t)}))},154:function(t,e,n){"use strict";n.r(e);var r=n(7343);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(t){t.addEventListener("updatefound",(function(){(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:t});var e=t.installing;console.log("installingWorker",e),e.addEventListener("statechange",(function(){switch(e.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:t}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:t}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:t});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:t})}}))}))})).catch((function(t){console.error("Error during service worker registration:",t)}))},1578:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=""),e?t===e?"/":t.startsWith(e+"/")?t.slice(e.length):t:t}n.d(e,{Z:function(){return r}})},9037:function(){},8902:function(t,e,n){"use strict";var r=n(5318);e.ZP=void 0;var o=r(n(7316)),a=r(n(1506)),i=r(n(5354)),u=r(n(7154)),s=r(n(5697)),c=r(n(7294)),l=n(9499),p=n(2098),f=n(9876);e.cP=f.parsePath;var h=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"],d=function(t){return null==t?void 0:t.startsWith("/")};function v(t,e){var n,r;if(void 0===e&&(e=g()),!w(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;var o=null!==(n=null!==(r=e)&&void 0!==r?r:m())&&void 0!==n?n:"/";return""+(null!=o&&o.endsWith("/")?o.slice(0,-1):o)+(t.startsWith("/")?t:"/"+t)}var m=function(){return""},g=function(){return""},w=function(t){return t&&!t.startsWith("http://")&&!t.startsWith("https://")&&!t.startsWith("//")};var y=function(t,e){return"number"==typeof t?t:w(t)?d(t)?v(t):function(t,e){return d(t)?t:(0,p.resolve)(t,e)}(t,e):t},b={activeClassName:s.default.string,activeStyle:s.default.object,partiallyActive:s.default.bool};function P(t){return c.default.createElement(l.Location,null,(function(e){var n=e.location;return c.default.createElement(_,(0,u.default)({},t,{_location:n}))}))}var _=function(t){function e(e){var n;(n=t.call(this,e)||this).defaultGetProps=function(t){var e=t.isPartiallyCurrent,r=t.isCurrent;return(n.props.partiallyActive?e:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,u.default)({},n.props.style,n.props.activeStyle)}:null};var r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.abortPrefetch=null,n.handleRef=n.handleRef.bind((0,a.default)(n)),n}(0,i.default)(e,t);var n=e.prototype;return n._prefetch=function(){var t=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(t=this.props._location.pathname+this.props._location.search);var e=y(this.props.to,t),n=(0,f.parsePath)(e),r=n.pathname+n.search;if(t!==r)return ___loader.enqueue(r)},n.componentWillUnmount=function(){if(this.io){var t=this.io,e=t.instance,n=t.el;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(n),e.disconnect()}},n.handleRef=function(t){var e,n,r,o=this;this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=t:this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(this.io=(e=t,n=function(t){t?o.abortPrefetch=o._prefetch():o.abortPrefetch&&o.abortPrefetch.abort()},(r=new window.IntersectionObserver((function(t){t.forEach((function(t){e===t.target&&n(t.isIntersecting||t.intersectionRatio>0)}))}))).observe(e),{instance:r,el:e}))},n.render=function(){var t=this,e=this.props,n=e.to,r=e.getProps,a=void 0===r?this.defaultGetProps:r,i=e.onClick,s=e.onMouseEnter,p=(e.activeClassName,e.activeStyle,e.innerRef,e.partiallyActive,e.state),d=e.replace,v=e._location,m=(0,o.default)(e,h);var g=y(n,v.pathname);return w(g)?c.default.createElement(l.Link,(0,u.default)({to:g,state:p,getProps:a,innerRef:this.handleRef,onMouseEnter:function(t){s&&s(t);var e=(0,f.parsePath)(g);___loader.hovering(e.pathname+e.search)},onClick:function(e){if(i&&i(e),!(0!==e.button||t.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();var n=d,r=encodeURI(g)===v.pathname;"boolean"!=typeof d&&r&&(n=!0),window.___navigate(g,{state:p,replace:n})}return!0}},m)):c.default.createElement("a",(0,u.default)({href:g},m))},e}(c.default.Component);_.propTypes=(0,u.default)({},b,{onClick:s.default.func,to:s.default.string.isRequired,replace:s.default.bool,state:s.default.object});var R=c.default.forwardRef((function(t,e){return c.default.createElement(P,(0,u.default)({innerRef:e},t))}));e.ZP=R},9876:function(t,e){"use strict";e.__esModule=!0,e.parsePath=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var a=e.indexOf("?");-1!==a&&(n=e.substr(a),e=e.substr(0,a));return{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}},9499:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseContext:function(){return F},Link:function(){return K},Location:function(){return U},LocationProvider:function(){return T},Match:function(){return X},Redirect:function(){return z},Router:function(){return N},ServerLocation:function(){return W},createHistory:function(){return _},createMemorySource:function(){return R},globalHistory:function(){return k},isRedirect:function(){return $},matchPath:function(){return c},navigate:function(){return C},redirectTo:function(){return Y},useLocation:function(){return tt},useMatch:function(){return rt},useNavigate:function(){return et},useParams:function(){return nt}});var r=n(7294),o=n(1143),a=n.n(o),i=n(3639),u=function(t,e){return t.substr(0,e.length)===e},s=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],i=g(o),u=""===i[0],s=m(t),c=0,l=s.length;ce.score?-1:t.index-e.index}))},g=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},w=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r0})))&&n.length>0?"?"+n.join("&"):"")},y=["uri","path"],b=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},u=i.state,s=i.replace,c=void 0!==s&&s;if("number"==typeof e)t.history.go(e);else{u=b({},u,{key:Date.now()+""});try{o||c?t.history.replaceState(u,null,e):t.history.pushState(u,null,e)}catch(p){t.location[c?"replace":"assign"](e)}}r=P(t),o=!0;var l=new Promise((function(t){return a=t}));return n.forEach((function(t){return t({location:r,action:"PUSH"})})),l}}},R=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(t,e,n){var i=n.split("?"),u=i[0],s=i[1],c=void 0===s?"":s;r++,o.push({pathname:u,search:c.length?"?"+c:c}),a.push(t)},replaceState:function(t,e,n){var i=n.split("?"),u=i[0],s=i[1],c=void 0===s?"":s;o[r]={pathname:u,search:c},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},E=!("undefined"==typeof window||!window.document||!window.document.createElement),k=_(E?window:R()),C=k.navigate,S=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function D(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var L=function(t,e){var n=(0,r.createContext)(e);return n.displayName=t,n},M=L("Location"),U=function(t){var e=t.children;return r.createElement(M.Consumer,null,(function(t){return t?e(t):r.createElement(T,null,e)}))},T=function(t){function e(){var n,r;x(this,e);for(var o=arguments.length,a=Array(o),i=0;i-1?(a=e.substring(0,o),i=e.substring(o)):a=e,r.createElement(M.Provider,{value:{location:{pathname:a,search:i,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},F=L("Base",{baseuri:"/",basepath:"/",navigate:k.navigate}),N=function(t){return r.createElement(F.Consumer,null,(function(e){return r.createElement(U,null,(function(n){return r.createElement(A,S({},e,n,t))}))}))},A=function(t){function e(){return x(this,e),O(this,t.apply(this,arguments))}return D(e,t),e.prototype.render=function(){var t=this.props,e=t.location,n=t.navigate,o=t.basepath,a=t.primary,i=t.children,u=(t.baseuri,t.component),c=void 0===u?"div":u,p=j(t,["location","navigate","basepath","primary","children","baseuri","component"]),f=r.Children.toArray(i).reduce((function(t,e){var n=at(o)(e);return t.concat(n)}),[]),h=e.pathname,d=s(f,h);if(d){var v=d.params,m=d.uri,g=d.route,w=d.route.value;o=g.default?o:g.path.replace(/\*$/,"");var y=S({},v,{uri:m,location:e,navigate:function(t,e){return n(l(t,m),e)}}),b=r.cloneElement(w,y,w.props.children?r.createElement(N,{location:e,primary:a},w.props.children):void 0),P=a?H:c,_=a?S({uri:m,location:e,component:c},p):p;return r.createElement(F.Provider,{value:{baseuri:m,basepath:o,navigate:y.navigate}},r.createElement(P,_,b))}return null},e}(r.PureComponent);A.defaultProps={primary:!0};var I=L("Focus"),H=function(t){var e=t.uri,n=t.location,o=t.component,a=j(t,["uri","location","component"]);return r.createElement(I.Consumer,null,(function(t){return r.createElement(Q,S({},a,{component:o,requestFocus:t,uri:e,location:n}))}))},q=!0,Z=0,Q=function(t){function e(){var n,r;x(this,e);for(var o=arguments.length,a=Array(o),i=0;i