@servicetitan/anvil2 1.2.1 → 1.2.2

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/SideNav.cjs CHANGED
@@ -1,30 +1,30 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const te=require("./jsx-runtime-494437bb.cjs"),v=require("./SideNav-369bf761.cjs"),g=require("react"),Xe=require("./_commonjsHelpers-6763f629.cjs");function X(e){return e.charAt(0)==="/"}function ye(e,r){for(var n=r,o=n+1,t=e.length;o<t;n+=1,o+=1)e[n]=e[o];e.pop()}function sr(e,r){r===void 0&&(r="");var n=e&&e.split("/")||[],o=r&&r.split("/")||[],t=e&&X(e),c=r&&X(r),f=t||c;if(e&&X(e)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";var u;if(o.length){var l=o[o.length-1];u=l==="."||l===".."||l===""}else u=!1;for(var p=0,s=o.length;s>=0;s--){var d=o[s];d==="."?ye(o,s):d===".."?(ye(o,s),p++):p&&(ye(o,s),p--)}if(!f)for(;p--;p)o.unshift("..");f&&o[0]!==""&&(!o[0]||!X(o[0]))&&o.unshift("");var m=o.join("/");return u&&m.substr(-1)!=="/"&&(m+="/"),m}var cr=process.env.NODE_ENV==="production";function A(e,r){if(!cr){if(e)return;var n="Warning: "+r;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var ur=process.env.NODE_ENV==="production",Ee="Invariant failed";function U(e,r){if(!e){if(ur)throw new Error(Ee);var n=typeof r=="function"?r():r,o=n?"".concat(Ee,": ").concat(n):Ee;throw new Error(o)}}function pr(e){var r=e||"/",n="",o="",t=r.indexOf("#");t!==-1&&(o=r.substr(t),r=r.substr(0,t));var c=r.indexOf("?");return c!==-1&&(n=r.substr(c),r=r.substr(0,c)),{pathname:r,search:n==="?"?"":n,hash:o==="#"?"":o}}function Je(e){var r=e.pathname,n=e.search,o=e.hash,t=r||"/";return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function q(e,r,n,o){var t;typeof e=="string"?(t=pr(e),t.state=r):(t=v._extends({},e),t.pathname===void 0&&(t.pathname=""),t.search?t.search.charAt(0)!=="?"&&(t.search="?"+t.search):t.search="",t.hash?t.hash.charAt(0)!=="#"&&(t.hash="#"+t.hash):t.hash="",r!==void 0&&t.state===void 0&&(t.state=r));try{t.pathname=decodeURI(t.pathname)}catch(c){throw c instanceof URIError?new URIError('Pathname "'+t.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):c}return n&&(t.key=n),o?t.pathname?t.pathname.charAt(0)!=="/"&&(t.pathname=sr(t.pathname,o.pathname)):t.pathname=o.pathname:t.pathname||(t.pathname="/"),t}function fr(){var e=null;function r(f){return process.env.NODE_ENV!=="production"&&A(e==null,"A history supports only one prompt at a time"),e=f,function(){e===f&&(e=null)}}function n(f,u,l,p){if(e!=null){var s=typeof e=="function"?e(f,u):e;typeof s=="string"?typeof l=="function"?l(s,p):(process.env.NODE_ENV!=="production"&&A(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),p(!0)):p(s!==!1)}else p(!0)}var o=[];function t(f){var u=!0;function l(){u&&f.apply(void 0,arguments)}return o.push(l),function(){u=!1,o=o.filter(function(p){return p!==l})}}function c(){for(var f=arguments.length,u=new Array(f),l=0;l<f;l++)u[l]=arguments[l];o.forEach(function(p){return p.apply(void 0,u)})}return{setPrompt:r,confirmTransitionTo:n,appendListener:t,notifyListeners:c}}function we(e,r,n){return Math.min(Math.max(e,r),n)}function lr(e){e===void 0&&(e={});var r=e,n=r.getUserConfirmation,o=r.initialEntries,t=o===void 0?["/"]:o,c=r.initialIndex,f=c===void 0?0:c,u=r.keyLength,l=u===void 0?6:u,p=fr();function s(R){v._extends(S,R),S.length=S.entries.length,p.notifyListeners(S.location,S.action)}function d(){return Math.random().toString(36).substr(2,l)}var m=we(f,0,t.length-1),h=t.map(function(R){return typeof R=="string"?q(R,void 0,d()):q(R,void 0,R.key||d())}),y=Je;function w(R,M){process.env.NODE_ENV!=="production"&&A(!(typeof R=="object"&&R.state!==void 0&&M!==void 0),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var I="PUSH",O=q(R,M,d(),S.location);p.confirmTransitionTo(O,I,n,function(L){if(L){var z=S.index,F=z+1,Y=S.entries.slice(0);Y.length>F?Y.splice(F,Y.length-F,O):Y.push(O),s({action:I,location:O,index:F,entries:Y})}})}function C(R,M){process.env.NODE_ENV!=="production"&&A(!(typeof R=="object"&&R.state!==void 0&&M!==void 0),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var I="REPLACE",O=q(R,M,d(),S.location);p.confirmTransitionTo(O,I,n,function(L){L&&(S.entries[S.index]=O,s({action:I,location:O}))})}function N(R){var M=we(S.index+R,0,S.entries.length-1),I="POP",O=S.entries[M];p.confirmTransitionTo(O,I,n,function(L){L?s({action:I,location:O,index:M}):s()})}function D(){N(-1)}function _(){N(1)}function E(R){var M=S.index+R;return M>=0&&M<S.entries.length}function i(R){return R===void 0&&(R=!1),p.setPrompt(R)}function $(R){return p.appendListener(R)}var S={length:h.length,action:"POP",location:h[m],index:m,entries:h,createHref:y,push:w,replace:C,go:N,goBack:D,goForward:_,canGo:E,block:i,listen:$};return S}var W={exports:{}},dr=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},ee=dr;W.exports=ke;W.exports.parse=ge;W.exports.compile=hr;W.exports.tokensToFunction=Ze;W.exports.tokensToRegExp=Qe;var vr=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function ge(e,r){for(var n=[],o=0,t=0,c="",f=r&&r.delimiter||"/",u;(u=vr.exec(e))!=null;){var l=u[0],p=u[1],s=u.index;if(c+=e.slice(t,s),t=s+l.length,p){c+=p[1];continue}var d=e[t],m=u[2],h=u[3],y=u[4],w=u[5],C=u[6],N=u[7];c&&(n.push(c),c="");var D=m!=null&&d!=null&&d!==m,_=C==="+"||C==="*",E=C==="?"||C==="*",i=u[2]||f,$=y||w;n.push({name:h||o++,prefix:m||"",delimiter:i,optional:E,repeat:_,partial:D,asterisk:!!N,pattern:$?Er($):N?".*":"[^"+k(i)+"]+?"})}return t<e.length&&(c+=e.substr(t)),c&&n.push(c),n}function hr(e,r){return Ze(ge(e,r),r)}function mr(e){return encodeURI(e).replace(/[\/?#]/g,function(r){return"%"+r.charCodeAt(0).toString(16).toUpperCase()})}function yr(e){return encodeURI(e).replace(/[?#]/g,function(r){return"%"+r.charCodeAt(0).toString(16).toUpperCase()})}function Ze(e,r){for(var n=new Array(e.length),o=0;o<e.length;o++)typeof e[o]=="object"&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",Se(r)));return function(t,c){for(var f="",u=t||{},l=c||{},p=l.pretty?mr:encodeURIComponent,s=0;s<e.length;s++){var d=e[s];if(typeof d=="string"){f+=d;continue}var m=u[d.name],h;if(m==null)if(d.optional){d.partial&&(f+=d.prefix);continue}else throw new TypeError('Expected "'+d.name+'" to be defined');if(ee(m)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(m)+"`");if(m.length===0){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var y=0;y<m.length;y++){if(h=p(m[y]),!n[s].test(h))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(h)+"`");f+=(y===0?d.prefix:d.delimiter)+h}continue}if(h=d.asterisk?yr(m):p(m),!n[s].test(h))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+h+'"');f+=d.prefix+h}return f}}function k(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Er(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function Re(e,r){return e.keys=r,e}function Se(e){return e&&e.sensitive?"":"i"}function _r(e,r){var n=e.source.match(/\((?!\?)/g);if(n)for(var o=0;o<n.length;o++)r.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return Re(e,r)}function Tr(e,r,n){for(var o=[],t=0;t<e.length;t++)o.push(ke(e[t],r,n).source);var c=new RegExp("(?:"+o.join("|")+")",Se(n));return Re(c,r)}function xr(e,r,n){return Qe(ge(e,n),r,n)}function Qe(e,r,n){ee(r)||(n=r||n,r=[]),n=n||{};for(var o=n.strict,t=n.end!==!1,c="",f=0;f<e.length;f++){var u=e[f];if(typeof u=="string")c+=k(u);else{var l=k(u.prefix),p="(?:"+u.pattern+")";r.push(u),u.repeat&&(p+="(?:"+l+p+")*"),u.optional?u.partial?p=l+"("+p+")?":p="(?:"+l+"("+p+"))?":p=l+"("+p+")",c+=p}}var s=k(n.delimiter||"/"),d=c.slice(-s.length)===s;return o||(c=(d?c.slice(0,-s.length):c)+"(?:"+s+"(?=$))?"),t?c+="$":c+=o&&d?"":"(?="+s+"|$)",Re(new RegExp("^"+c,Se(n)),r)}function ke(e,r,n){return ee(r)||(n=r||n,r=[]),n=n||{},e instanceof RegExp?_r(e,r):ee(e)?Tr(e,r,n):xr(e,r,n)}var br=W.exports;const Pr=Xe.getDefaultExportFromCjs(br);var xe={exports:{}},T={};/** @license React v16.13.1
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const W=require("./jsx-runtime-494437bb.cjs"),v=require("./SideNav-369bf761.cjs"),S=require("react"),or=require("./_commonjsHelpers-6763f629.cjs");function J(e){return e.charAt(0)==="/"}function Ee(e,r){for(var n=r,o=n+1,t=e.length;o<t;n+=1,o+=1)e[n]=e[o];e.pop()}function nr(e,r){r===void 0&&(r="");var n=e&&e.split("/")||[],o=r&&r.split("/")||[],t=e&&J(e),c=r&&J(r),l=t||c;if(e&&J(e)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";var u;if(o.length){var d=o[o.length-1];u=d==="."||d===".."||d===""}else u=!1;for(var p=0,a=o.length;a>=0;a--){var f=o[a];f==="."?Ee(o,a):f===".."?(Ee(o,a),p++):p&&(Ee(o,a),p--)}if(!l)for(;p--;p)o.unshift("..");l&&o[0]!==""&&(!o[0]||!J(o[0]))&&o.unshift("");var h=o.join("/");return u&&h.substr(-1)!=="/"&&(h+="/"),h}var ir=process.env.NODE_ENV==="production";function A(e,r){if(!ir){if(e)return;var n="Warning: "+r;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var sr=process.env.NODE_ENV==="production",_e="Invariant failed";function L(e,r){if(!e){if(sr)throw new Error(_e);var n=typeof r=="function"?r():r,o=n?"".concat(_e,": ").concat(n):_e;throw new Error(o)}}function ar(e){var r=e||"/",n="",o="",t=r.indexOf("#");t!==-1&&(o=r.substr(t),r=r.substr(0,t));var c=r.indexOf("?");return c!==-1&&(n=r.substr(c),r=r.substr(0,c)),{pathname:r,search:n==="?"?"":n,hash:o==="#"?"":o}}function He(e){var r=e.pathname,n=e.search,o=e.hash,t=r||"/";return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function q(e,r,n,o){var t;typeof e=="string"?(t=ar(e),t.state=r):(t=v._extends({},e),t.pathname===void 0&&(t.pathname=""),t.search?t.search.charAt(0)!=="?"&&(t.search="?"+t.search):t.search="",t.hash?t.hash.charAt(0)!=="#"&&(t.hash="#"+t.hash):t.hash="",r!==void 0&&t.state===void 0&&(t.state=r));try{t.pathname=decodeURI(t.pathname)}catch(c){throw c instanceof URIError?new URIError('Pathname "'+t.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):c}return n&&(t.key=n),o?t.pathname?t.pathname.charAt(0)!=="/"&&(t.pathname=nr(t.pathname,o.pathname)):t.pathname=o.pathname:t.pathname||(t.pathname="/"),t}function cr(){var e=null;function r(l){return process.env.NODE_ENV!=="production"&&A(e==null,"A history supports only one prompt at a time"),e=l,function(){e===l&&(e=null)}}function n(l,u,d,p){if(e!=null){var a=typeof e=="function"?e(l,u):e;typeof a=="string"?typeof d=="function"?d(a,p):(process.env.NODE_ENV!=="production"&&A(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),p(!0)):p(a!==!1)}else p(!0)}var o=[];function t(l){var u=!0;function d(){u&&l.apply(void 0,arguments)}return o.push(d),function(){u=!1,o=o.filter(function(p){return p!==d})}}function c(){for(var l=arguments.length,u=new Array(l),d=0;d<l;d++)u[d]=arguments[d];o.forEach(function(p){return p.apply(void 0,u)})}return{setPrompt:r,confirmTransitionTo:n,appendListener:t,notifyListeners:c}}function Ae(e,r,n){return Math.min(Math.max(e,r),n)}function ur(e){e===void 0&&(e={});var r=e,n=r.getUserConfirmation,o=r.initialEntries,t=o===void 0?["/"]:o,c=r.initialIndex,l=c===void 0?0:c,u=r.keyLength,d=u===void 0?6:u,p=cr();function a(g){v._extends(P,g),P.length=P.entries.length,p.notifyListeners(P.location,P.action)}function f(){return Math.random().toString(36).substr(2,d)}var h=Ae(l,0,t.length-1),m=t.map(function(g){return typeof g=="string"?q(g,void 0,f()):q(g,void 0,g.key||f())}),y=He;function M(g,w){process.env.NODE_ENV!=="production"&&A(!(typeof g=="object"&&g.state!==void 0&&w!==void 0),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var I="PUSH",O=q(g,w,f(),P.location);p.confirmTransitionTo(O,I,n,function(Y){if(Y){var H=P.index,F=H+1,V=P.entries.slice(0);V.length>F?V.splice(F,V.length-F,O):V.push(O),a({action:I,location:O,index:F,entries:V})}})}function C(g,w){process.env.NODE_ENV!=="production"&&A(!(typeof g=="object"&&g.state!==void 0&&w!==void 0),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var I="REPLACE",O=q(g,w,f(),P.location);p.confirmTransitionTo(O,I,n,function(Y){Y&&(P.entries[P.index]=O,a({action:I,location:O}))})}function N(g){var w=Ae(P.index+g,0,P.entries.length-1),I="POP",O=P.entries[w];p.confirmTransitionTo(O,I,n,function(Y){Y?a({action:I,location:O,index:w}):a()})}function D(){N(-1)}function _(){N(1)}function E(g){var w=P.index+g;return w>=0&&w<P.entries.length}function i(g){return g===void 0&&(g=!1),p.setPrompt(g)}function $(g){return p.appendListener(g)}var P={length:m.length,action:"POP",location:m[h],index:h,entries:m,createHref:y,push:M,replace:C,go:N,goBack:D,goForward:_,canGo:E,block:i,listen:$};return P}var z={exports:{}},pr=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},re=pr;z.exports=Ke;z.exports.parse=ge;z.exports.compile=lr;z.exports.tokensToFunction=Be;z.exports.tokensToRegExp=Ge;var fr=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function ge(e,r){for(var n=[],o=0,t=0,c="",l=r&&r.delimiter||"/",u;(u=fr.exec(e))!=null;){var d=u[0],p=u[1],a=u.index;if(c+=e.slice(t,a),t=a+d.length,p){c+=p[1];continue}var f=e[t],h=u[2],m=u[3],y=u[4],M=u[5],C=u[6],N=u[7];c&&(n.push(c),c="");var D=h!=null&&f!=null&&f!==h,_=C==="+"||C==="*",E=C==="?"||C==="*",i=u[2]||l,$=y||M;n.push({name:m||o++,prefix:h||"",delimiter:i,optional:E,repeat:_,partial:D,asterisk:!!N,pattern:$?hr($):N?".*":"[^"+ee(i)+"]+?"})}return t<e.length&&(c+=e.substr(t)),c&&n.push(c),n}function lr(e,r){return Be(ge(e,r),r)}function dr(e){return encodeURI(e).replace(/[\/?#]/g,function(r){return"%"+r.charCodeAt(0).toString(16).toUpperCase()})}function vr(e){return encodeURI(e).replace(/[?#]/g,function(r){return"%"+r.charCodeAt(0).toString(16).toUpperCase()})}function Be(e,r){for(var n=new Array(e.length),o=0;o<e.length;o++)typeof e[o]=="object"&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",Ce(r)));return function(t,c){for(var l="",u=t||{},d=c||{},p=d.pretty?dr:encodeURIComponent,a=0;a<e.length;a++){var f=e[a];if(typeof f=="string"){l+=f;continue}var h=u[f.name],m;if(h==null)if(f.optional){f.partial&&(l+=f.prefix);continue}else throw new TypeError('Expected "'+f.name+'" to be defined');if(re(h)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(h.length===0){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var y=0;y<h.length;y++){if(m=p(h[y]),!n[a].test(m))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(m)+"`");l+=(y===0?f.prefix:f.delimiter)+m}continue}if(m=f.asterisk?vr(h):p(h),!n[a].test(m))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+m+'"');l+=f.prefix+m}return l}}function ee(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function hr(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function Pe(e,r){return e.keys=r,e}function Ce(e){return e&&e.sensitive?"":"i"}function mr(e,r){var n=e.source.match(/\((?!\?)/g);if(n)for(var o=0;o<n.length;o++)r.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return Pe(e,r)}function yr(e,r,n){for(var o=[],t=0;t<e.length;t++)o.push(Ke(e[t],r,n).source);var c=new RegExp("(?:"+o.join("|")+")",Ce(n));return Pe(c,r)}function Er(e,r,n){return Ge(ge(e,n),r,n)}function Ge(e,r,n){re(r)||(n=r||n,r=[]),n=n||{};for(var o=n.strict,t=n.end!==!1,c="",l=0;l<e.length;l++){var u=e[l];if(typeof u=="string")c+=ee(u);else{var d=ee(u.prefix),p="(?:"+u.pattern+")";r.push(u),u.repeat&&(p+="(?:"+d+p+")*"),u.optional?u.partial?p=d+"("+p+")?":p="(?:"+d+"("+p+"))?":p=d+"("+p+")",c+=p}}var a=ee(n.delimiter||"/"),f=c.slice(-a.length)===a;return o||(c=(f?c.slice(0,-a.length):c)+"(?:"+a+"(?=$))?"),t?c+="$":c+=o&&f?"":"(?="+a+"|$)",Pe(new RegExp("^"+c,Ce(n)),r)}function Ke(e,r,n){return re(r)||(n=r||n,r=[]),n=n||{},e instanceof RegExp?mr(e,r):re(e)?yr(e,r,n):Er(e,r,n)}var _r=z.exports;const xr=or.getDefaultExportFromCjs(_r);var Re={exports:{}},x={};/** @license React v16.13.1
2
2
  * react-is.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
- */var Me;function gr(){if(Me)return T;Me=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,t=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,w=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function _(i){if(typeof i=="object"&&i!==null){var $=i.$$typeof;switch($){case r:switch(i=i.type,i){case l:case p:case o:case c:case t:case d:return i;default:switch(i=i&&i.$$typeof,i){case u:case s:case y:case h:case f:return i;default:return $}}case n:return $}}}function E(i){return _(i)===p}return T.AsyncMode=l,T.ConcurrentMode=p,T.ContextConsumer=u,T.ContextProvider=f,T.Element=r,T.ForwardRef=s,T.Fragment=o,T.Lazy=y,T.Memo=h,T.Portal=n,T.Profiler=c,T.StrictMode=t,T.Suspense=d,T.isAsyncMode=function(i){return E(i)||_(i)===l},T.isConcurrentMode=E,T.isContextConsumer=function(i){return _(i)===u},T.isContextProvider=function(i){return _(i)===f},T.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===r},T.isForwardRef=function(i){return _(i)===s},T.isFragment=function(i){return _(i)===o},T.isLazy=function(i){return _(i)===y},T.isMemo=function(i){return _(i)===h},T.isPortal=function(i){return _(i)===n},T.isProfiler=function(i){return _(i)===c},T.isStrictMode=function(i){return _(i)===t},T.isSuspense=function(i){return _(i)===d},T.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===o||i===p||i===c||i===t||i===d||i===m||typeof i=="object"&&i!==null&&(i.$$typeof===y||i.$$typeof===h||i.$$typeof===f||i.$$typeof===u||i.$$typeof===s||i.$$typeof===C||i.$$typeof===N||i.$$typeof===D||i.$$typeof===w)},T.typeOf=_,T}var x={};/** @license React v16.13.1
8
+ */var Me;function Tr(){if(Me)return x;Me=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,t=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,a=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,M=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function _(i){if(typeof i=="object"&&i!==null){var $=i.$$typeof;switch($){case r:switch(i=i.type,i){case d:case p:case o:case c:case t:case f:return i;default:switch(i=i&&i.$$typeof,i){case u:case a:case y:case m:case l:return i;default:return $}}case n:return $}}}function E(i){return _(i)===p}return x.AsyncMode=d,x.ConcurrentMode=p,x.ContextConsumer=u,x.ContextProvider=l,x.Element=r,x.ForwardRef=a,x.Fragment=o,x.Lazy=y,x.Memo=m,x.Portal=n,x.Profiler=c,x.StrictMode=t,x.Suspense=f,x.isAsyncMode=function(i){return E(i)||_(i)===d},x.isConcurrentMode=E,x.isContextConsumer=function(i){return _(i)===u},x.isContextProvider=function(i){return _(i)===l},x.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===r},x.isForwardRef=function(i){return _(i)===a},x.isFragment=function(i){return _(i)===o},x.isLazy=function(i){return _(i)===y},x.isMemo=function(i){return _(i)===m},x.isPortal=function(i){return _(i)===n},x.isProfiler=function(i){return _(i)===c},x.isStrictMode=function(i){return _(i)===t},x.isSuspense=function(i){return _(i)===f},x.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===o||i===p||i===c||i===t||i===f||i===h||typeof i=="object"&&i!==null&&(i.$$typeof===y||i.$$typeof===m||i.$$typeof===l||i.$$typeof===u||i.$$typeof===a||i.$$typeof===C||i.$$typeof===N||i.$$typeof===D||i.$$typeof===M)},x.typeOf=_,x}var T={};/** @license React v16.13.1
9
9
  * react-is.development.js
10
10
  *
11
11
  * Copyright (c) Facebook, Inc. and its affiliates.
12
12
  *
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
- */var Oe;function Rr(){return Oe||(Oe=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,t=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,w=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function _(a){return typeof a=="string"||typeof a=="function"||a===o||a===p||a===c||a===t||a===d||a===m||typeof a=="object"&&a!==null&&(a.$$typeof===y||a.$$typeof===h||a.$$typeof===f||a.$$typeof===u||a.$$typeof===s||a.$$typeof===C||a.$$typeof===N||a.$$typeof===D||a.$$typeof===w)}function E(a){if(typeof a=="object"&&a!==null){var j=a.$$typeof;switch(j){case r:var V=a.type;switch(V){case l:case p:case o:case c:case t:case d:return V;default:var G=V&&V.$$typeof;switch(G){case u:case s:case y:case h:case f:return G;default:return j}}case n:return j}}}var i=l,$=p,S=u,R=f,M=r,I=s,O=o,L=y,z=h,F=n,Y=c,oe=t,ne=d,B=!1;function ie(a){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),H(a)||E(a)===l}function H(a){return E(a)===p}function ae(a){return E(a)===u}function se(a){return E(a)===f}function ce(a){return typeof a=="object"&&a!==null&&a.$$typeof===r}function ue(a){return E(a)===s}function pe(a){return E(a)===o}function fe(a){return E(a)===y}function le(a){return E(a)===h}function de(a){return E(a)===n}function ve(a){return E(a)===c}function he(a){return E(a)===t}function me(a){return E(a)===d}x.AsyncMode=i,x.ConcurrentMode=$,x.ContextConsumer=S,x.ContextProvider=R,x.Element=M,x.ForwardRef=I,x.Fragment=O,x.Lazy=L,x.Memo=z,x.Portal=F,x.Profiler=Y,x.StrictMode=oe,x.Suspense=ne,x.isAsyncMode=ie,x.isConcurrentMode=H,x.isContextConsumer=ae,x.isContextProvider=se,x.isElement=ce,x.isForwardRef=ue,x.isFragment=pe,x.isLazy=fe,x.isMemo=le,x.isPortal=de,x.isProfiler=ve,x.isStrictMode=he,x.isSuspense=me,x.isValidElementType=_,x.typeOf=E}()),x}process.env.NODE_ENV==="production"?xe.exports=gr():xe.exports=Rr();var Sr=xe.exports,be={exports:{}},b={};/** @license React v16.13.1
15
+ */var we;function Rr(){return we||(we=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,t=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,a=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,M=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function _(s){return typeof s=="string"||typeof s=="function"||s===o||s===p||s===c||s===t||s===f||s===h||typeof s=="object"&&s!==null&&(s.$$typeof===y||s.$$typeof===m||s.$$typeof===l||s.$$typeof===u||s.$$typeof===a||s.$$typeof===C||s.$$typeof===N||s.$$typeof===D||s.$$typeof===M)}function E(s){if(typeof s=="object"&&s!==null){var j=s.$$typeof;switch(j){case r:var U=s.type;switch(U){case d:case p:case o:case c:case t:case f:return U;default:var K=U&&U.$$typeof;switch(K){case u:case a:case y:case m:case l:return K;default:return j}}case n:return j}}}var i=d,$=p,P=u,g=l,w=r,I=a,O=o,Y=y,H=m,F=n,V=c,ne=t,ie=f,B=!1;function se(s){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),G(s)||E(s)===d}function G(s){return E(s)===p}function ae(s){return E(s)===u}function ce(s){return E(s)===l}function ue(s){return typeof s=="object"&&s!==null&&s.$$typeof===r}function pe(s){return E(s)===a}function fe(s){return E(s)===o}function le(s){return E(s)===y}function de(s){return E(s)===m}function ve(s){return E(s)===n}function he(s){return E(s)===c}function me(s){return E(s)===t}function ye(s){return E(s)===f}T.AsyncMode=i,T.ConcurrentMode=$,T.ContextConsumer=P,T.ContextProvider=g,T.Element=w,T.ForwardRef=I,T.Fragment=O,T.Lazy=Y,T.Memo=H,T.Portal=F,T.Profiler=V,T.StrictMode=ne,T.Suspense=ie,T.isAsyncMode=se,T.isConcurrentMode=G,T.isContextConsumer=ae,T.isContextProvider=ce,T.isElement=ue,T.isForwardRef=pe,T.isFragment=fe,T.isLazy=le,T.isMemo=de,T.isPortal=ve,T.isProfiler=he,T.isStrictMode=me,T.isSuspense=ye,T.isValidElementType=_,T.typeOf=E}()),T}process.env.NODE_ENV==="production"?Re.exports=Tr():Re.exports=Rr();var br=Re.exports,be={exports:{}},R={};/** @license React v16.13.1
16
16
  * react-is.production.min.js
17
17
  *
18
18
  * Copyright (c) Facebook, Inc. and its affiliates.
19
19
  *
20
20
  * This source code is licensed under the MIT license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
- */var De;function Cr(){if(De)return b;De=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,t=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,w=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function _(i){if(typeof i=="object"&&i!==null){var $=i.$$typeof;switch($){case r:switch(i=i.type,i){case l:case p:case o:case c:case t:case d:return i;default:switch(i=i&&i.$$typeof,i){case u:case s:case y:case h:case f:return i;default:return $}}case n:return $}}}function E(i){return _(i)===p}return b.AsyncMode=l,b.ConcurrentMode=p,b.ContextConsumer=u,b.ContextProvider=f,b.Element=r,b.ForwardRef=s,b.Fragment=o,b.Lazy=y,b.Memo=h,b.Portal=n,b.Profiler=c,b.StrictMode=t,b.Suspense=d,b.isAsyncMode=function(i){return E(i)||_(i)===l},b.isConcurrentMode=E,b.isContextConsumer=function(i){return _(i)===u},b.isContextProvider=function(i){return _(i)===f},b.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===r},b.isForwardRef=function(i){return _(i)===s},b.isFragment=function(i){return _(i)===o},b.isLazy=function(i){return _(i)===y},b.isMemo=function(i){return _(i)===h},b.isPortal=function(i){return _(i)===n},b.isProfiler=function(i){return _(i)===c},b.isStrictMode=function(i){return _(i)===t},b.isSuspense=function(i){return _(i)===d},b.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===o||i===p||i===c||i===t||i===d||i===m||typeof i=="object"&&i!==null&&(i.$$typeof===y||i.$$typeof===h||i.$$typeof===f||i.$$typeof===u||i.$$typeof===s||i.$$typeof===C||i.$$typeof===N||i.$$typeof===D||i.$$typeof===w)},b.typeOf=_,b}var P={};/** @license React v16.13.1
22
+ */var Oe;function Sr(){if(Oe)return R;Oe=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,t=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,a=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,M=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function _(i){if(typeof i=="object"&&i!==null){var $=i.$$typeof;switch($){case r:switch(i=i.type,i){case d:case p:case o:case c:case t:case f:return i;default:switch(i=i&&i.$$typeof,i){case u:case a:case y:case m:case l:return i;default:return $}}case n:return $}}}function E(i){return _(i)===p}return R.AsyncMode=d,R.ConcurrentMode=p,R.ContextConsumer=u,R.ContextProvider=l,R.Element=r,R.ForwardRef=a,R.Fragment=o,R.Lazy=y,R.Memo=m,R.Portal=n,R.Profiler=c,R.StrictMode=t,R.Suspense=f,R.isAsyncMode=function(i){return E(i)||_(i)===d},R.isConcurrentMode=E,R.isContextConsumer=function(i){return _(i)===u},R.isContextProvider=function(i){return _(i)===l},R.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===r},R.isForwardRef=function(i){return _(i)===a},R.isFragment=function(i){return _(i)===o},R.isLazy=function(i){return _(i)===y},R.isMemo=function(i){return _(i)===m},R.isPortal=function(i){return _(i)===n},R.isProfiler=function(i){return _(i)===c},R.isStrictMode=function(i){return _(i)===t},R.isSuspense=function(i){return _(i)===f},R.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===o||i===p||i===c||i===t||i===f||i===h||typeof i=="object"&&i!==null&&(i.$$typeof===y||i.$$typeof===m||i.$$typeof===l||i.$$typeof===u||i.$$typeof===a||i.$$typeof===C||i.$$typeof===N||i.$$typeof===D||i.$$typeof===M)},R.typeOf=_,R}var b={};/** @license React v16.13.1
23
23
  * react-is.development.js
24
24
  *
25
25
  * Copyright (c) Facebook, Inc. and its affiliates.
26
26
  *
27
27
  * This source code is licensed under the MIT license found in the
28
28
  * LICENSE file in the root directory of this source tree.
29
- */var Ie;function Nr(){return Ie||(Ie=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,t=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,w=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function _(a){return typeof a=="string"||typeof a=="function"||a===o||a===p||a===c||a===t||a===d||a===m||typeof a=="object"&&a!==null&&(a.$$typeof===y||a.$$typeof===h||a.$$typeof===f||a.$$typeof===u||a.$$typeof===s||a.$$typeof===C||a.$$typeof===N||a.$$typeof===D||a.$$typeof===w)}function E(a){if(typeof a=="object"&&a!==null){var j=a.$$typeof;switch(j){case r:var V=a.type;switch(V){case l:case p:case o:case c:case t:case d:return V;default:var G=V&&V.$$typeof;switch(G){case u:case s:case y:case h:case f:return G;default:return j}}case n:return j}}}var i=l,$=p,S=u,R=f,M=r,I=s,O=o,L=y,z=h,F=n,Y=c,oe=t,ne=d,B=!1;function ie(a){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),H(a)||E(a)===l}function H(a){return E(a)===p}function ae(a){return E(a)===u}function se(a){return E(a)===f}function ce(a){return typeof a=="object"&&a!==null&&a.$$typeof===r}function ue(a){return E(a)===s}function pe(a){return E(a)===o}function fe(a){return E(a)===y}function le(a){return E(a)===h}function de(a){return E(a)===n}function ve(a){return E(a)===c}function he(a){return E(a)===t}function me(a){return E(a)===d}P.AsyncMode=i,P.ConcurrentMode=$,P.ContextConsumer=S,P.ContextProvider=R,P.Element=M,P.ForwardRef=I,P.Fragment=O,P.Lazy=L,P.Memo=z,P.Portal=F,P.Profiler=Y,P.StrictMode=oe,P.Suspense=ne,P.isAsyncMode=ie,P.isConcurrentMode=H,P.isContextConsumer=ae,P.isContextProvider=se,P.isElement=ce,P.isForwardRef=ue,P.isFragment=pe,P.isLazy=fe,P.isMemo=le,P.isPortal=de,P.isProfiler=ve,P.isStrictMode=he,P.isSuspense=me,P.isValidElementType=_,P.typeOf=E}()),P}process.env.NODE_ENV==="production"?be.exports=Cr():be.exports=Nr();var $r=be.exports,Ce=$r,Ar={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},wr={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Mr={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},er={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ne={};Ne[Ce.ForwardRef]=Mr;Ne[Ce.Memo]=er;function Le(e){return Ce.isMemo(e)?er:Ne[e.$$typeof]||Ar}var Or=Object.defineProperty,Dr=Object.getOwnPropertyNames,Ye=Object.getOwnPropertySymbols,Ir=Object.getOwnPropertyDescriptor,Lr=Object.getPrototypeOf,Ve=Object.prototype;function rr(e,r,n){if(typeof r!="string"){if(Ve){var o=Lr(r);o&&o!==Ve&&rr(e,o,n)}var t=Dr(r);Ye&&(t=t.concat(Ye(r)));for(var c=Le(e),f=Le(r),u=0;u<t.length;++u){var l=t[u];if(!wr[l]&&!(n&&n[l])&&!(f&&f[l])&&!(c&&c[l])){var p=Ir(r,l);try{Or(e,l,p)}catch{}}}}return e}var Yr=rr;const Vr=Xe.getDefaultExportFromCjs(Yr);var J=1073741823,Fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};function Fr(){var e="__global_unique_id__";return Fe[e]=(Fe[e]||0)+1}function Ur(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function jr(e){var r=[];return{on:function(o){r.push(o)},off:function(o){r=r.filter(function(t){return t!==o})},get:function(){return e},set:function(o,t){e=o,r.forEach(function(c){return c(e,t)})}}}function qr(e){return Array.isArray(e)?e[0]:e}function Wr(e,r){var n,o,t="__create-react-context-"+Fr()+"__",c=function(u){v._inheritsLoose(l,u);function l(){for(var s,d=arguments.length,m=new Array(d),h=0;h<d;h++)m[h]=arguments[h];return s=u.call.apply(u,[this].concat(m))||this,s.emitter=jr(s.props.value),s}var p=l.prototype;return p.getChildContext=function(){var d;return d={},d[t]=this.emitter,d},p.componentWillReceiveProps=function(d){if(this.props.value!==d.value){var m=this.props.value,h=d.value,y;Ur(m,h)?y=0:(y=typeof r=="function"?r(m,h):J,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&A((y&J)===y,"calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: "+y),y|=0,y!==0&&this.emitter.set(d.value,y))}},p.render=function(){return this.props.children},l}(g.Component);c.childContextTypes=(n={},n[t]=v.PropTypes.object.isRequired,n);var f=function(u){v._inheritsLoose(l,u);function l(){for(var s,d=arguments.length,m=new Array(d),h=0;h<d;h++)m[h]=arguments[h];return s=u.call.apply(u,[this].concat(m))||this,s.observedBits=void 0,s.state={value:s.getValue()},s.onUpdate=function(y,w){var C=s.observedBits|0;C&w&&s.setState({value:s.getValue()})},s}var p=l.prototype;return p.componentWillReceiveProps=function(d){var m=d.observedBits;this.observedBits=m??J},p.componentDidMount=function(){this.context[t]&&this.context[t].on(this.onUpdate);var d=this.props.observedBits;this.observedBits=d??J},p.componentWillUnmount=function(){this.context[t]&&this.context[t].off(this.onUpdate)},p.getValue=function(){return this.context[t]?this.context[t].get():e},p.render=function(){return qr(this.props.children)(this.state.value)},l}(g.Component);return f.contextTypes=(o={},o[t]=v.PropTypes.object,o),{Provider:c,Consumer:f}}var zr=g.createContext||Wr,tr=function(r){var n=zr();return n.displayName=r,n},Br=tr("Router-History"),K=tr("Router"),re=function(e){v._inheritsLoose(r,e),r.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:t==="/"}};function r(o){var t;return t=e.call(this,o)||this,t.state={location:o.history.location},t._isMounted=!1,t._pendingLocation=null,o.staticContext||(t.unlisten=o.history.listen(function(c){t._pendingLocation=c})),t}var n=r.prototype;return n.componentDidMount=function(){var t=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(c){t._isMounted&&t.setState({location:c})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return g.createElement(K.Provider,{value:{history:this.props.history,location:this.state.location,match:r.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},g.createElement(Br.Provider,{children:this.props.children||null,value:this.props.history}))},r}(g.Component);process.env.NODE_ENV!=="production"&&(re.propTypes={children:v.PropTypes.node,history:v.PropTypes.object.isRequired,staticContext:v.PropTypes.object},re.prototype.componentDidUpdate=function(e){process.env.NODE_ENV!=="production"&&A(e.history===this.props.history,"You cannot change <Router history>")});var Ue=function(e){v._inheritsLoose(r,e);function r(){for(var o,t=arguments.length,c=new Array(t),f=0;f<t;f++)c[f]=arguments[f];return o=e.call.apply(e,[this].concat(c))||this,o.history=lr(o.props),o}var n=r.prototype;return n.render=function(){return g.createElement(re,{history:this.history,children:this.props.children})},r}(g.Component);process.env.NODE_ENV!=="production"&&(Ue.propTypes={initialEntries:v.PropTypes.array,initialIndex:v.PropTypes.number,getUserConfirmation:v.PropTypes.func,keyLength:v.PropTypes.number,children:v.PropTypes.node},Ue.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&A(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")});g.Component;if(process.env.NODE_ENV!=="production"){var Hr=v.PropTypes.oneOfType([v.PropTypes.func,v.PropTypes.string]);v.PropTypes.bool,Hr.isRequired}process.env.NODE_ENV!=="production"&&(v.PropTypes.bool,v.PropTypes.string,v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.object]).isRequired);var je={},Gr=1e4,qe=0;function Kr(e,r){var n=""+r.end+r.strict+r.sensitive,o=je[n]||(je[n]={});if(o[e])return o[e];var t=[],c=Pr(e,t,r),f={regexp:c,keys:t};return qe<Gr&&(o[e]=f,qe++),f}function $e(e,r){r===void 0&&(r={}),(typeof r=="string"||Array.isArray(r))&&(r={path:r});var n=r,o=n.path,t=n.exact,c=t===void 0?!1:t,f=n.strict,u=f===void 0?!1:f,l=n.sensitive,p=l===void 0?!1:l,s=[].concat(o);return s.reduce(function(d,m){if(!m&&m!=="")return null;if(d)return d;var h=Kr(m,{end:c,strict:u,sensitive:p}),y=h.regexp,w=h.keys,C=y.exec(e);if(!C)return null;var N=C[0],D=C.slice(1),_=e===N;return c&&!_?null:{path:m,url:m==="/"&&N===""?"/":N,isExact:_,params:w.reduce(function(E,i,$){return E[i.name]=D[$],E},{})}},null)}function Pe(e){return g.Children.count(e)===0}function We(e,r,n){var o=e(r);return process.env.NODE_ENV!=="production"&&A(o!==void 0,"You returned `undefined` from the `children` function of "+("<Route"+(n?' path="'+n+'"':"")+">, but you ")+"should have returned a React element or `null`"),o||null}var _e=function(e){v._inheritsLoose(r,e);function r(){return e.apply(this,arguments)||this}var n=r.prototype;return n.render=function(){var t=this;return g.createElement(K.Consumer,null,function(c){c||(process.env.NODE_ENV!=="production"?U(!1,"You should not use <Route> outside a <Router>"):U(!1));var f=t.props.location||c.location,u=t.props.computedMatch?t.props.computedMatch:t.props.path?$e(f.pathname,t.props):c.match,l=v._extends({},c,{location:f,match:u}),p=t.props,s=p.children,d=p.component,m=p.render;return Array.isArray(s)&&Pe(s)&&(s=null),g.createElement(K.Provider,{value:l},l.match?s?typeof s=="function"?process.env.NODE_ENV!=="production"?We(s,l,t.props.path):s(l):s:d?g.createElement(d,l):m?m(l):null:typeof s=="function"?process.env.NODE_ENV!=="production"?We(s,l,t.props.path):s(l):null)})},r}(g.Component);process.env.NODE_ENV!=="production"&&(_e.propTypes={children:v.PropTypes.oneOfType([v.PropTypes.func,v.PropTypes.node]),component:function(r,n){if(r[n]&&!Sr.isValidElementType(r[n]))return new Error("Invalid prop 'component' supplied to 'Route': the prop is not a valid React component")},exact:v.PropTypes.bool,location:v.PropTypes.object,path:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.arrayOf(v.PropTypes.string)]),render:v.PropTypes.func,sensitive:v.PropTypes.bool,strict:v.PropTypes.bool},_e.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&A(!(this.props.children&&!Pe(this.props.children)&&this.props.component),"You should not use <Route component> and <Route children> in the same route; <Route component> will be ignored"),process.env.NODE_ENV!=="production"&&A(!(this.props.children&&!Pe(this.props.children)&&this.props.render),"You should not use <Route render> and <Route children> in the same route; <Route render> will be ignored"),process.env.NODE_ENV!=="production"&&A(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored")},_e.prototype.componentDidUpdate=function(e){process.env.NODE_ENV!=="production"&&A(!(this.props.location&&!e.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),process.env.NODE_ENV!=="production"&&A(!(!this.props.location&&e.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')});function Ae(e){return e.charAt(0)==="/"?e:"/"+e}function Xr(e,r){return e?v._extends({},r,{pathname:Ae(e)+r.pathname}):r}function Jr(e,r){if(!e)return r;var n=Ae(e);return r.pathname.indexOf(n)!==0?r:v._extends({},r,{pathname:r.pathname.substr(n.length)})}function ze(e){return typeof e=="string"?e:Je(e)}function Te(e){return function(){process.env.NODE_ENV!=="production"?U(!1,"You cannot %s with <StaticRouter>"):U(!1)}}function Be(){}var He=function(e){v._inheritsLoose(r,e);function r(){for(var o,t=arguments.length,c=new Array(t),f=0;f<t;f++)c[f]=arguments[f];return o=e.call.apply(e,[this].concat(c))||this,o.handlePush=function(u){return o.navigateTo(u,"PUSH")},o.handleReplace=function(u){return o.navigateTo(u,"REPLACE")},o.handleListen=function(){return Be},o.handleBlock=function(){return Be},o}var n=r.prototype;return n.navigateTo=function(t,c){var f=this.props,u=f.basename,l=u===void 0?"":u,p=f.context,s=p===void 0?{}:p;s.action=c,s.location=Xr(l,q(t)),s.url=ze(s.location)},n.render=function(){var t=this.props,c=t.basename,f=c===void 0?"":c,u=t.context,l=u===void 0?{}:u,p=t.location,s=p===void 0?"/":p,d=v._objectWithoutPropertiesLoose(t,["basename","context","location"]),m={createHref:function(y){return Ae(f+ze(y))},action:"POP",location:Jr(f,q(s)),push:this.handlePush,replace:this.handleReplace,go:Te(),goBack:Te(),goForward:Te(),listen:this.handleListen,block:this.handleBlock};return g.createElement(re,v._extends({},d,{history:m,staticContext:l}))},r}(g.Component);process.env.NODE_ENV!=="production"&&(He.propTypes={basename:v.PropTypes.string,context:v.PropTypes.object,location:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.object])},He.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&A(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")});var Ge=function(e){v._inheritsLoose(r,e);function r(){return e.apply(this,arguments)||this}var n=r.prototype;return n.render=function(){var t=this;return g.createElement(K.Consumer,null,function(c){c||(process.env.NODE_ENV!=="production"?U(!1,"You should not use <Switch> outside a <Router>"):U(!1));var f=t.props.location||c.location,u,l;return g.Children.forEach(t.props.children,function(p){if(l==null&&g.isValidElement(p)){u=p;var s=p.props.path||p.props.from;l=s?$e(f.pathname,v._extends({},p.props,{path:s})):c.match}}),l?g.cloneElement(u,{location:f,computedMatch:l}):null})},r}(g.Component);process.env.NODE_ENV!=="production"&&(Ge.propTypes={children:v.PropTypes.node,location:v.PropTypes.object},Ge.prototype.componentDidUpdate=function(e){process.env.NODE_ENV!=="production"&&A(!(this.props.location&&!e.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),process.env.NODE_ENV!=="production"&&A(!(!this.props.location&&e.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')});function Zr(e){var r="withRouter("+(e.displayName||e.name)+")",n=function(t){var c=t.wrappedComponentRef,f=v._objectWithoutPropertiesLoose(t,["wrappedComponentRef"]);return g.createElement(K.Consumer,null,function(u){return u||(process.env.NODE_ENV!=="production"?U(!1,"You should not use <"+r+" /> outside a <Router>"):U(!1)),g.createElement(e,v._extends({},f,u,{ref:c}))})};return n.displayName=r,n.WrappedComponent=e,process.env.NODE_ENV!=="production"&&(n.propTypes={wrappedComponentRef:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.func,v.PropTypes.object])}),Vr(n,e)}g.useContext;if(process.env.NODE_ENV!=="production"&&typeof window<"u"){var Z=window,Q="__react_router_build__",Ke={cjs:"CommonJS",esm:"ES modules",umd:"UMD"};if(Z[Q]&&Z[Q]!=="esm"){var Qr=Ke[Z[Q]],kr=Ke.esm;throw new Error("You are loading the "+kr+" build of React Router "+("on a page that is already running the "+Qr+" ")+"build, so things won't work right.")}Z[Q]="esm"}const et=g.forwardRef((e,r)=>te.jsxRuntimeExports.jsx(v.ve,{ref:r,...e})),or=g.forwardRef((e,r)=>te.jsxRuntimeExports.jsx(v.O,{ref:r,...e})),nr=g.forwardRef((e,r)=>te.jsxRuntimeExports.jsx(v.P,{ref:r,...e})),ir=Zr(g.forwardRef(({href:e,history:r,exact:n,pathname:o,search:t,location:c,match:f,staticContext:u,onClick:l,...p},s)=>{const d=g.useMemo(()=>r.createHref({pathname:o,search:t}),[r,o,t]),m=g.useCallback((...h)=>(h[0].preventDefault(),r.push(o+(t??"")),l==null?void 0:l(...h)),[r,o,t,l]);return te.jsxRuntimeExports.jsx(v.M,{href:o!=null?d:e,active:!!$e(r.location.pathname,{exact:n,path:o}),onClick:o!=null?m:l,ref:s,...p})})),ar=Object.assign(et,{Link:ir,Collapsible:or,Group:nr});exports.SideNav=ar;exports.SideNavCollapsible=or;exports.SideNavGroup=nr;exports.SideNavLink=ir;exports.default=ar;
29
+ */var De;function gr(){return De||(De=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,t=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,a=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,M=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function _(s){return typeof s=="string"||typeof s=="function"||s===o||s===p||s===c||s===t||s===f||s===h||typeof s=="object"&&s!==null&&(s.$$typeof===y||s.$$typeof===m||s.$$typeof===l||s.$$typeof===u||s.$$typeof===a||s.$$typeof===C||s.$$typeof===N||s.$$typeof===D||s.$$typeof===M)}function E(s){if(typeof s=="object"&&s!==null){var j=s.$$typeof;switch(j){case r:var U=s.type;switch(U){case d:case p:case o:case c:case t:case f:return U;default:var K=U&&U.$$typeof;switch(K){case u:case a:case y:case m:case l:return K;default:return j}}case n:return j}}}var i=d,$=p,P=u,g=l,w=r,I=a,O=o,Y=y,H=m,F=n,V=c,ne=t,ie=f,B=!1;function se(s){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),G(s)||E(s)===d}function G(s){return E(s)===p}function ae(s){return E(s)===u}function ce(s){return E(s)===l}function ue(s){return typeof s=="object"&&s!==null&&s.$$typeof===r}function pe(s){return E(s)===a}function fe(s){return E(s)===o}function le(s){return E(s)===y}function de(s){return E(s)===m}function ve(s){return E(s)===n}function he(s){return E(s)===c}function me(s){return E(s)===t}function ye(s){return E(s)===f}b.AsyncMode=i,b.ConcurrentMode=$,b.ContextConsumer=P,b.ContextProvider=g,b.Element=w,b.ForwardRef=I,b.Fragment=O,b.Lazy=Y,b.Memo=H,b.Portal=F,b.Profiler=V,b.StrictMode=ne,b.Suspense=ie,b.isAsyncMode=se,b.isConcurrentMode=G,b.isContextConsumer=ae,b.isContextProvider=ce,b.isElement=ue,b.isForwardRef=pe,b.isFragment=fe,b.isLazy=le,b.isMemo=de,b.isPortal=ve,b.isProfiler=he,b.isStrictMode=me,b.isSuspense=ye,b.isValidElementType=_,b.typeOf=E}()),b}process.env.NODE_ENV==="production"?be.exports=Sr():be.exports=gr();var Pr=be.exports,Xe=Pr,Cr={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Nr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Je={};Je[Xe.ForwardRef]=Cr;Je[Xe.Memo]=Nr;var Z=1073741823,Ie=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};function $r(){var e="__global_unique_id__";return Ie[e]=(Ie[e]||0)+1}function Ar(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function Mr(e){var r=[];return{on:function(o){r.push(o)},off:function(o){r=r.filter(function(t){return t!==o})},get:function(){return e},set:function(o,t){e=o,r.forEach(function(c){return c(e,t)})}}}function wr(e){return Array.isArray(e)?e[0]:e}function Or(e,r){var n,o,t="__create-react-context-"+$r()+"__",c=function(u){v._inheritsLoose(d,u);function d(){for(var a,f=arguments.length,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];return a=u.call.apply(u,[this].concat(h))||this,a.emitter=Mr(a.props.value),a}var p=d.prototype;return p.getChildContext=function(){var f;return f={},f[t]=this.emitter,f},p.componentWillReceiveProps=function(f){if(this.props.value!==f.value){var h=this.props.value,m=f.value,y;Ar(h,m)?y=0:(y=typeof r=="function"?r(h,m):Z,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&A((y&Z)===y,"calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: "+y),y|=0,y!==0&&this.emitter.set(f.value,y))}},p.render=function(){return this.props.children},d}(S.Component);c.childContextTypes=(n={},n[t]=v.PropTypes.object.isRequired,n);var l=function(u){v._inheritsLoose(d,u);function d(){for(var a,f=arguments.length,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];return a=u.call.apply(u,[this].concat(h))||this,a.observedBits=void 0,a.state={value:a.getValue()},a.onUpdate=function(y,M){var C=a.observedBits|0;C&M&&a.setState({value:a.getValue()})},a}var p=d.prototype;return p.componentWillReceiveProps=function(f){var h=f.observedBits;this.observedBits=h??Z},p.componentDidMount=function(){this.context[t]&&this.context[t].on(this.onUpdate);var f=this.props.observedBits;this.observedBits=f??Z},p.componentWillUnmount=function(){this.context[t]&&this.context[t].off(this.onUpdate)},p.getValue=function(){return this.context[t]?this.context[t].get():e},p.render=function(){return wr(this.props.children)(this.state.value)},d}(S.Component);return l.contextTypes=(o={},o[t]=v.PropTypes.object,o),{Provider:c,Consumer:l}}var Dr=S.createContext||Or,Ze=function(r){var n=Dr();return n.displayName=r,n},Qe=Ze("Router-History"),X=Ze("Router"),te=function(e){v._inheritsLoose(r,e),r.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:t==="/"}};function r(o){var t;return t=e.call(this,o)||this,t.state={location:o.history.location},t._isMounted=!1,t._pendingLocation=null,o.staticContext||(t.unlisten=o.history.listen(function(c){t._pendingLocation=c})),t}var n=r.prototype;return n.componentDidMount=function(){var t=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(c){t._isMounted&&t.setState({location:c})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return S.createElement(X.Provider,{value:{history:this.props.history,location:this.state.location,match:r.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},S.createElement(Qe.Provider,{children:this.props.children||null,value:this.props.history}))},r}(S.Component);process.env.NODE_ENV!=="production"&&(te.propTypes={children:v.PropTypes.node,history:v.PropTypes.object.isRequired,staticContext:v.PropTypes.object},te.prototype.componentDidUpdate=function(e){process.env.NODE_ENV!=="production"&&A(e.history===this.props.history,"You cannot change <Router history>")});var Le=function(e){v._inheritsLoose(r,e);function r(){for(var o,t=arguments.length,c=new Array(t),l=0;l<t;l++)c[l]=arguments[l];return o=e.call.apply(e,[this].concat(c))||this,o.history=ur(o.props),o}var n=r.prototype;return n.render=function(){return S.createElement(te,{history:this.history,children:this.props.children})},r}(S.Component);process.env.NODE_ENV!=="production"&&(Le.propTypes={initialEntries:v.PropTypes.array,initialIndex:v.PropTypes.number,getUserConfirmation:v.PropTypes.func,keyLength:v.PropTypes.number,children:v.PropTypes.node},Le.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&A(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")});S.Component;if(process.env.NODE_ENV!=="production"){var Ir=v.PropTypes.oneOfType([v.PropTypes.func,v.PropTypes.string]);v.PropTypes.bool,Ir.isRequired}process.env.NODE_ENV!=="production"&&(v.PropTypes.bool,v.PropTypes.string,v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.object]).isRequired);var Ye={},Lr=1e4,Ve=0;function Yr(e,r){var n=""+r.end+r.strict+r.sensitive,o=Ye[n]||(Ye[n]={});if(o[e])return o[e];var t=[],c=xr(e,t,r),l={regexp:c,keys:t};return Ve<Lr&&(o[e]=l,Ve++),l}function Ne(e,r){r===void 0&&(r={}),(typeof r=="string"||Array.isArray(r))&&(r={path:r});var n=r,o=n.path,t=n.exact,c=t===void 0?!1:t,l=n.strict,u=l===void 0?!1:l,d=n.sensitive,p=d===void 0?!1:d,a=[].concat(o);return a.reduce(function(f,h){if(!h&&h!=="")return null;if(f)return f;var m=Yr(h,{end:c,strict:u,sensitive:p}),y=m.regexp,M=m.keys,C=y.exec(e);if(!C)return null;var N=C[0],D=C.slice(1),_=e===N;return c&&!_?null:{path:h,url:h==="/"&&N===""?"/":N,isExact:_,params:M.reduce(function(E,i,$){return E[i.name]=D[$],E},{})}},null)}function Se(e){return S.Children.count(e)===0}function Ue(e,r,n){var o=e(r);return process.env.NODE_ENV!=="production"&&A(o!==void 0,"You returned `undefined` from the `children` function of "+("<Route"+(n?' path="'+n+'"':"")+">, but you ")+"should have returned a React element or `null`"),o||null}var xe=function(e){v._inheritsLoose(r,e);function r(){return e.apply(this,arguments)||this}var n=r.prototype;return n.render=function(){var t=this;return S.createElement(X.Consumer,null,function(c){c||(process.env.NODE_ENV!=="production"?L(!1,"You should not use <Route> outside a <Router>"):L(!1));var l=t.props.location||c.location,u=t.props.computedMatch?t.props.computedMatch:t.props.path?Ne(l.pathname,t.props):c.match,d=v._extends({},c,{location:l,match:u}),p=t.props,a=p.children,f=p.component,h=p.render;return Array.isArray(a)&&Se(a)&&(a=null),S.createElement(X.Provider,{value:d},d.match?a?typeof a=="function"?process.env.NODE_ENV!=="production"?Ue(a,d,t.props.path):a(d):a:f?S.createElement(f,d):h?h(d):null:typeof a=="function"?process.env.NODE_ENV!=="production"?Ue(a,d,t.props.path):a(d):null)})},r}(S.Component);process.env.NODE_ENV!=="production"&&(xe.propTypes={children:v.PropTypes.oneOfType([v.PropTypes.func,v.PropTypes.node]),component:function(r,n){if(r[n]&&!br.isValidElementType(r[n]))return new Error("Invalid prop 'component' supplied to 'Route': the prop is not a valid React component")},exact:v.PropTypes.bool,location:v.PropTypes.object,path:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.arrayOf(v.PropTypes.string)]),render:v.PropTypes.func,sensitive:v.PropTypes.bool,strict:v.PropTypes.bool},xe.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&A(!(this.props.children&&!Se(this.props.children)&&this.props.component),"You should not use <Route component> and <Route children> in the same route; <Route component> will be ignored"),process.env.NODE_ENV!=="production"&&A(!(this.props.children&&!Se(this.props.children)&&this.props.render),"You should not use <Route render> and <Route children> in the same route; <Route render> will be ignored"),process.env.NODE_ENV!=="production"&&A(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored")},xe.prototype.componentDidUpdate=function(e){process.env.NODE_ENV!=="production"&&A(!(this.props.location&&!e.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),process.env.NODE_ENV!=="production"&&A(!(!this.props.location&&e.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')});function $e(e){return e.charAt(0)==="/"?e:"/"+e}function Vr(e,r){return e?v._extends({},r,{pathname:$e(e)+r.pathname}):r}function Ur(e,r){if(!e)return r;var n=$e(e);return r.pathname.indexOf(n)!==0?r:v._extends({},r,{pathname:r.pathname.substr(n.length)})}function Fe(e){return typeof e=="string"?e:He(e)}function Te(e){return function(){process.env.NODE_ENV!=="production"?L(!1,"You cannot %s with <StaticRouter>"):L(!1)}}function je(){}var qe=function(e){v._inheritsLoose(r,e);function r(){for(var o,t=arguments.length,c=new Array(t),l=0;l<t;l++)c[l]=arguments[l];return o=e.call.apply(e,[this].concat(c))||this,o.handlePush=function(u){return o.navigateTo(u,"PUSH")},o.handleReplace=function(u){return o.navigateTo(u,"REPLACE")},o.handleListen=function(){return je},o.handleBlock=function(){return je},o}var n=r.prototype;return n.navigateTo=function(t,c){var l=this.props,u=l.basename,d=u===void 0?"":u,p=l.context,a=p===void 0?{}:p;a.action=c,a.location=Vr(d,q(t)),a.url=Fe(a.location)},n.render=function(){var t=this.props,c=t.basename,l=c===void 0?"":c,u=t.context,d=u===void 0?{}:u,p=t.location,a=p===void 0?"/":p,f=v._objectWithoutPropertiesLoose(t,["basename","context","location"]),h={createHref:function(y){return $e(l+Fe(y))},action:"POP",location:Ur(l,q(a)),push:this.handlePush,replace:this.handleReplace,go:Te(),goBack:Te(),goForward:Te(),listen:this.handleListen,block:this.handleBlock};return S.createElement(te,v._extends({},f,{history:h,staticContext:d}))},r}(S.Component);process.env.NODE_ENV!=="production"&&(qe.propTypes={basename:v.PropTypes.string,context:v.PropTypes.object,location:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.object])},qe.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&A(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")});var We=function(e){v._inheritsLoose(r,e);function r(){return e.apply(this,arguments)||this}var n=r.prototype;return n.render=function(){var t=this;return S.createElement(X.Consumer,null,function(c){c||(process.env.NODE_ENV!=="production"?L(!1,"You should not use <Switch> outside a <Router>"):L(!1));var l=t.props.location||c.location,u,d;return S.Children.forEach(t.props.children,function(p){if(d==null&&S.isValidElement(p)){u=p;var a=p.props.path||p.props.from;d=a?Ne(l.pathname,v._extends({},p.props,{path:a})):c.match}}),d?S.cloneElement(u,{location:l,computedMatch:d}):null})},r}(S.Component);process.env.NODE_ENV!=="production"&&(We.propTypes={children:v.PropTypes.node,location:v.PropTypes.object},We.prototype.componentDidUpdate=function(e){process.env.NODE_ENV!=="production"&&A(!(this.props.location&&!e.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),process.env.NODE_ENV!=="production"&&A(!(!this.props.location&&e.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')});var oe=S.useContext;function Fr(){return process.env.NODE_ENV!=="production"&&typeof oe!="function"&&(process.env.NODE_ENV!=="production"?L(!1,"You must use React >= 16.8 in order to use useHistory()"):L(!1)),oe(Qe)}function jr(){return process.env.NODE_ENV!=="production"&&typeof oe!="function"&&(process.env.NODE_ENV!=="production"?L(!1,"You must use React >= 16.8 in order to use useLocation()"):L(!1)),oe(X).location}if(process.env.NODE_ENV!=="production"&&typeof window<"u"){var Q=window,k="__react_router_build__",ze={cjs:"CommonJS",esm:"ES modules",umd:"UMD"};if(Q[k]&&Q[k]!=="esm"){var qr=ze[Q[k]],Wr=ze.esm;throw new Error("You are loading the "+Wr+" build of React Router "+("on a page that is already running the "+qr+" ")+"build, so things won't work right.")}Q[k]="esm"}const zr=S.forwardRef((e,r)=>W.jsxRuntimeExports.jsx(v.ve,{ref:r,...e})),ke=S.forwardRef((e,r)=>W.jsxRuntimeExports.jsx(v.O,{ref:r,...e})),er=S.forwardRef((e,r)=>W.jsxRuntimeExports.jsx(v.P,{ref:r,...e})),Hr=S.forwardRef(({href:e,exact:r,pathname:n,search:o,onClick:t,...c},l)=>{const u=Fr(),d=jr(),p=S.useMemo(()=>u.createHref({pathname:n,search:o}),[u,n,o]),a=S.useCallback((...f)=>(f[0].preventDefault(),u.push(n+(o??"")),t==null?void 0:t(...f)),[u,n,o,t]);return W.jsxRuntimeExports.jsx(v.M,{href:n!=null?p:e,active:!!Ne(d.pathname,{exact:r,path:n}),onClick:n!=null?a:t,ref:l,...c})}),rr=S.forwardRef((e,r)=>"pathname"in e?W.jsxRuntimeExports.jsx(Hr,{ref:r,...e}):W.jsxRuntimeExports.jsx(v.M,{ref:r,...e})),tr=Object.assign(zr,{Link:rr,Collapsible:ke,Group:er});exports.SideNav=tr;exports.SideNavCollapsible=ke;exports.SideNavGroup=er;exports.SideNavLink=rr;exports.default=tr;
30
30
  //# sourceMappingURL=SideNav.cjs.map