|
|
|
|
var globals=function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var o={exports:{}},a={},i=Symbol.for("react.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.iterator;var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,w={};function S(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||y}function x(){}function k(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||y}S.prototype.isReactComponent={},S.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},S.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=S.prototype;var C=k.prototype=new x;C.constructor=k,b(C,S.prototype),C.isPureReactComponent=!0;var E=Array.isArray,P=Object.prototype.hasOwnProperty,O={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,n){var r,o={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)P.call(t,r)&&!_.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:i,type:e,key:a,ref:l,props:o,_owner:O.current}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var T=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function D(e,t,n,r,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var u=!1;if(null===e)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case i:case l:u=!0}}if(u)return o=o(u=e),e=""===r?"."+j(u,0):r,E(o)?(n="",null!=e&&(n=e.replace(T,"$&/")+"/"),D(o,t,n,"",(function(e){return e}))):null!=o&&(M(o)&&(o=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||u&&u.key===o.key?"":(""+o.key).replace(T,"$&/")+"/")+e)),t.push(o)),1;if(u=0,r=""===r?".":r+":",E(e))for(var s=0;s<e.length;s++){var c=r+j(a=e[s],s);u+=D(a,t,n,c,o)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=g&&e[g]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),s=0;!(a=e.next()).done;)u+=D(a=a.value,t,n,c=r+j(a,s++),o);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function A(e,t,n){if(null==e)return e;var r=[],o=0;return D(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1
|
|
|
|
|
/**
|
|
|
|
|
* @license React
|
|
|
|
|
* scheduler.production.min.js
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
|
*/
|
|
|
|
|
!function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,u=e[l],s=l+1,c=e[s];if(0>o(u,n))s<a&&0>o(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[l]=n,r=l);else{if(!(s<a&&0>o(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var u=[],s=[],c=1,f=null,d=3,p=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(s);null!==o;){if(null===o.callback)r(s);else{if(!(o.startTime<=e))break;r(s),o.sortIndex=o.expirationTime,t(u,o)}o=n(s)}}function w(e){if(m=!1,b(e),!h)if(null!==n(u))h=!0,j(S);else{var t=n(s);null!==t&&D(w,t.startTime-e)}}function S(t,o){h=!1,m&&(m=!1,g(E),E=-1),p=!0;var a=d;try{for(b(o),f=n(u);null!==f&&(!(f.expirationTime>o)||t&&!_());){var i=f.callback;if("function"==typeof i){f.callback=null,d=f.priorityLevel;var l=i(f.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?f.callback=l:f===n(u)&&r(u),b(o)}else r(u);f=n(u)}if(null!==f)var c=!0;else{var v=n(s);null!==v&&D(w,v.startTime-o),c=!1}return c}finally{f=null,d=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,k=!1,C=null,E=-1,P=5,O=-1;function _(){return!(e.unstable_now()-O<P)}function R(){if(null!==C){var t=e.unstable_now();O=t;var n=!0;try{n=C(!0,t)}finally{n?x():(k=!1,C=null)}}else k=!1}if("function"==typeof y)x=function(){y(R)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,T=M.port2;M.port1.onmessage=R,x=function(){T.postMessage(null)}}else x=function(){v(R,0)};function j(e){C=e,k||(k=!0,x())}function D(t,n){E=v((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,j(S))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},e.unstable_scheduleCallback=function(r,o,a){var i=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(r.sortIndex=a,t(s,r),null===n(u)&&r===n(s)&&(m?(g(E),E=-1):m=!0,D(w,a-i))):(r.sortIndex=l,t(u,r),h||p||(h=!0,j(S))),r},e.unstable_shouldYield=_,e.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}}(oe),function(e){e.exports=oe}(re);
|
|
|
|
|
/**
|
|
|
|
|
* @license React
|
|
|
|
|
* react-dom.production.min.js
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
|
*/
|
|
|
|
|
var ae=o.exports,ie=re.exports;function le(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ue=new Set,se={};function ce(e,t){fe(e,t),fe(e+"Capture",t)}function fe(e,t){for(se[e]=t,e=0;e<t.length;e++)ue.add(t[e])}var de=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),pe=Object.prototype.hasOwnProperty,he=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,me={},ve={};function ge(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ye[e]=new ge(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ye[t]=new ge(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ye[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ye[e]=new ge(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){ye[e]=new ge(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ye[e]=new ge(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ye[e]=new ge(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ye[e]=new ge(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ye[e]=new ge(e,5,!1,e.toLowerCase(),null,!1,!1)}));var be=/[\-:]([a-z])/g;function we(e){return e[1].toUpperCase()}function Se(e,t,n,r){var o=ye.hasOwnProperty(t)?ye[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!pe.call(ve,e)||!pe.call(me,e)&&(he.test(e)?ve[e]=!0:(me[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-t
|
|
|
|
|
/**
|
|
|
|
|
* React Router v6.4.1
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) Remix Software Inc.
|
|
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE.md file in the root directory of this source tree.
|
|
|
|
|
*
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/!function(e,t){!function(e,t,n){function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=r(n);function a(){return a=Object.assign?Object.assign.bind():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},a.apply(this,arguments)}const i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:l,useEffect:u,useLayoutEffect:s,useDebugValue:c}=o;function f(e){const t=e.getSnapshot,n=e.value;try{const e=t();return!i(n,e)}catch(e){return!0}}const d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t,n){return t()}:function(e,t,n){const r=t(),[{inst:o},a]=l({inst:{value:r,getSnapshot:t}});return s((()=>{o.value=r,o.getSnapshot=t,f(o)&&a({inst:o})}),[e,r,t]),u((()=>(f(o)&&a({inst:o}),e((()=>{f(o)&&a({inst:o})})))),[e]),c(r),r},p="useSyncExternalStore"in o?(e=>e.useSyncExternalStore)(o):d,h=o.createContext(null),m=o.createContext(null),v=o.createContext(null),g=o.createContext(null),y=o.createContext(null),b=o.createContext(null),w=o.createContext({outlet:null,matches:[]}),S=o.createContext(null);function x(){return null!=o.useContext(b)}function k(){return x()||t.invariant(!1),o.useContext(b).location}function C(e){return e.filter(((t,n)=>0===n||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase))}function E(){x()||t.invariant(!1);let{basename:e,navigator:n}=o.useContext(y),{matches:r}=o.useContext(w),{pathname:a}=k(),i=JSON.stringify(C(r).map((e=>e.pathnameBase))),l=o.useRef(!1);return o.useEffect((()=>{l.current=!0})),o.useCallback((function(r,o){if(void 0===o&&(o={}),!l.current)return;if("number"==typeof r)return void n.go(r);let u=t.resolveTo(r,JSON.parse(i),a,"path"===o.relative);"/"!==e&&(u.pathname="/"===u.pathname?e:t.joinPaths([e,u.pathname])),(o.replace?n.replace:n.push)(u,o.state,o)}),[e,n,i,a])}const P=o.createContext(null);function O(e){let t=o.useContext(w).outlet;return t?o.createElement(P.Provider,{value:e},t):t}function _(e,n){let{relative:r}=void 0===n?{}:n,{matches:a}=o.useContext(w),{pathname:i}=k(),l=JSON.stringify(C(a).map((e=>e.pathnameBase)));return o.useMemo((()=>t.resolveTo(e,JSON.parse(l),i,"path"===r)),[e,l,i,r])}function R(e,n){x()||t.invariant(!1);let r=o.useContext(v),{matches:i}=o.useContext(w),l=i[i.length-1],u=l?l.params:{};!l||l.pathname;let s=l?l.pathnameBase:"/";l&&l.route;let c,f=k();if(n){var d;let e="string"==typeof n?t.parsePath(n):n;"/"===s||(null==(d=e.pathname)?void 0:d.startsWith(s))||t.invariant(!1),c=e}else c=f;let p=c.pathname||"/",h="/"===s?p:p.slice(s.length)||"/",m=t.matchRoutes(e,{pathname:h}),g=D(m&&m.map((e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:t.joinPaths([s,e.pathname]),pathnameBase:"/"===e.pathnameBase?s:t.joinPaths([s,e.pathnameBase])}))),i,r||void 0);return n?o.createElement(b.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:t.Action.Pop}},g):g}function M(){let e=L(),n=t.isRouteErrorResponse(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:a},l={padding:"2px 4px",backgroundColor:a};return o.createElement(o.Fragment,null,o.createElement("h2",null,"Unhandled Thrown Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},n),r?o.createElement("pre",{style:i},r):null,o.createElement("p",null,"💿 Hey developer 👋"),o.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",o.createElement("code",{style:l},"errorElement")," props on ",o.createElement("code",{style:l},"<Route>")))}class T extends o.Component{constructor(e){super(e),this.state={location:e.location,error:e.er
|
|
|
|
|
/**
|
|
|
|
|
* React Router v6.4.1
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) Remix Software Inc.
|
|
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE.md file in the root directory of this source tree.
|
|
|
|
|
*
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/
|
|
|
|
|
function(e){e.exports=vh.exports}(mh);var bh=n(mh.exports),wh={exports:{}},Sh={exports:{}};
|
|
|
|
|
/**
|
|
|
|
|
* React Router DOM v6.4.1
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) Remix Software Inc.
|
|
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE.md file in the root directory of this source tree.
|
|
|
|
|
*
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/
|
|
|
|
|
!function(e,t){!function(e,t,n,r){function o(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var a=o(t);function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const u="get",s="application/x-www-form-urlencoded";function c(e){return null!=e&&"string"==typeof e.tagName}function f(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}function d(e,t,n){let r,o,a,i;if(c(l=e)&&"form"===l.tagName.toLowerCase()){let l=n.submissionTrigger;r=n.method||e.getAttribute("method")||u,o=n.action||e.getAttribute("action")||t,a=n.encType||e.getAttribute("enctype")||s,i=new FormData(e),l&&l.name&&i.append(l.name,l.value)}else if(function(e){return c(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return c(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let l=e.form;if(null==l)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');r=n.method||e.getAttribute("formmethod")||l.getAttribute("method")||u,o=n.action||e.getAttribute("formaction")||l.getAttribute("action")||t,a=n.encType||e.getAttribute("formenctype")||l.getAttribute("enctype")||s,i=new FormData(l),e.name&&i.append(e.name,e.value)}else{if(c(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');if(r=n.method||u,o=n.action||t,a=n.encType||s,e instanceof FormData)i=e;else if(i=new FormData,e instanceof URLSearchParams)for(let[t,n]of e)i.append(t,n);else if(null!=e)for(let t of Object.keys(e))i.append(t,e[t])}var l;let{protocol:f,host:d}=window.location;return{url:new URL(o,f+"//"+d),method:r,encType:a,formData:i}}const p=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],h=["aria-current","caseSensitive","className","end","style","to","children"],m=["reloadDocument","replace","method","action","onSubmit","fetcherKey","routeId","relative"],v=a.forwardRef((function(e,t){let{onClick:r,relative:o,reloadDocument:u,replace:s,state:c,target:f,to:d,preventScrollReset:h}=e,m=l(e,p),v=n.useHref(d,{relative:o}),g=w(d,{replace:s,state:c,target:f,preventScrollReset:h,relative:o});return a.createElement("a",i({},m,{href:v,onClick:u?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:f}))})),g=a.forwardRef((function(e,t){let o,{"aria-current":u="page",caseSensitive:s=!1,className:c="",end:f=!1,style:d,to:p,children:m}=e,g=l(e,h),y=n.useResolvedPath(p),b=n.useMatch({path:y.pathname,end:f,caseSensitive:s}),w=a.useContext(n.UNSAFE_DataRouterStateContext),S=null==w?void 0:w.navigation.location,x=n.useResolvedPath(S||""),k=null!=a.useMemo((()=>S?r.matchPath({path:y.pathname,end:f,caseSensitive:s},x.pathname):null),[S,y.pathname,s,f,x.pathname]),C=null!=b,E=C?u:void 0;o="function"==typeof c?c({isActive:C,isPending:k}):[c,C?"active":null,k?"pending":null].filter(Boolean).join(" ");let P="function"==typeof d?d({isActive:C,isPending:k}):d;return a.createElement(v,i({},g,{"aria-current":E,className:o,ref:t,style:P,to:p}),"function"==typeof m?m({isActive:C,isPending:k}):m)})),y=a.forwardRef(((e,t)=>a.createElement(b,i({},e,{ref:t})))),b=a.forwardRef(((e,t)=>{let{reloadDocument:n,replace:r,method:o=u,action:s,onSubmit:c,fetcherKey:f,routeId:d,relative:p}=e,h=l(e,m),v=S(f,d),g="get"===o.toLowerCase()?"get":"post",y=x(s,{relative:p});return a.createElement("form",i({ref:t,method:g,action:y,onSubmit:n?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.p
|
|
|
|
|
/**
|
|
|
|
|
* React Router DOM v6.4.1
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) Remix Software Inc.
|
|
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE.md file in the root directory of this source tree.
|
|
|
|
|
*
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/
|
|
|
|
|
function(e){e.exports=Sh.exports}(wh);var xh=n(wh.exports),kh={exports:{}};function Ch(){}function Eh(){}Eh.resetWarningCache=Ch;kh.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint: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:Eh,resetWarningCache:Ch};return n.PropTypes=n,n}();var Ph="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Oh(){throw new Error("setTimeout has not been defined")}function _h(){throw new Error("clearTimeout has not been defined")}var Rh=Oh,Mh=_h;function Th(e){if(Rh===setTimeout)return setTimeout(e,0);if((Rh===Oh||!Rh)&&setTimeout)return Rh=setTimeout,setTimeout(e,0);try{return Rh(e,0)}catch(t){try{return Rh.call(null,e,0)}catch(t){return Rh.call(this,e,0)}}}"function"==typeof Ph.setTimeout&&(Rh=setTimeout),"function"==typeof Ph.clearTimeout&&(Mh=clearTimeout);var jh,Dh=[],Ah=!1,Nh=-1;function Ih(){Ah&&jh&&(Ah=!1,jh.length?Dh=jh.concat(Dh):Nh=-1,Dh.length&&Lh())}function Lh(){if(!Ah){var e=Th(Ih);Ah=!0;for(var t=Dh.length;t;){for(jh=Dh,Dh=[];++Nh<t;)jh&&jh[Nh].run();Nh=-1,t=Dh.length}jh=null,Ah=!1,function(e){if(Mh===clearTimeout)return clearTimeout(e);if((Mh===_h||!Mh)&&clearTimeout)return Mh=clearTimeout,clearTimeout(e);try{Mh(e)}catch(t){try{return Mh.call(null,e)}catch(t){return Mh.call(this,e)}}}(e)}}function Fh(e,t){this.fun=e,this.array=t}Fh.prototype.run=function(){this.fun.apply(null,this.array)};function zh(){}var Vh=zh,Uh=zh,Hh=zh,$h=zh,Bh=zh,Wh=zh,qh=zh;var Qh=Ph.performance||{},Yh=Qh.now||Qh.mozNow||Qh.msNow||Qh.oNow||Qh.webkitNow||function(){return(new Date).getTime()};var Kh=new Date;var Gh={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Dh.push(new Fh(e,t)),1!==Dh.length||Ah||Th(Lh)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Vh,addListener:Uh,once:Hh,off:$h,removeListener:Bh,removeAllListeners:Wh,emit:qh,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Yh.call(Qh),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Kh)/1e3}},Xh={},Jh={};Object.defineProperty(Jh,"__esModule",{value:!0}),Jh.default=function(e){function t(e,r,u,s,d){for(var p,h,m,v,w,x=0,k=0,C=0,E=0,P=0,j=0,A=m=p=0,I=0,L=0,F=0,z=0,V=u.length,U=V-1,H="",$="",B="",W="";I<V;){if(h=u.charCodeAt(I),I===U&&0!==k+E+C+x&&(0!==k&&(h=47===k?10:47),E=C=x=0,V++,U++),0===k+E+C+x){if(I===U&&(0<L&&(H=H.replace(f,"")),0<H.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:H+=u.charAt(I)}h=59}switch(h){case 123:for(p=(H=H.trim()).charCodeAt(0),m=1,z=++I;I<V;){switch(h=u.charCodeAt(I)){case 123:m++;break;case 125:m--;break;case 47:switch(h=u.charCodeAt(I+1)){case 42:case 47:e:{for(A=I+1;A<U;++A)switch(u.charCodeAt(A)){case 47:if(42===h&&42===u.charCodeAt(A-1)&&I+2!==A){I=A+1;break e}break;case 10:if(47===h){I=A+1;break e}}I=A}}break;case 91:h++;case 40:h++;case 34:case 39:for(;I++<U&&u.charCodeAt(I)!==h;);}if(0===m)break;I++}if(m=u.substring(z,I),0===p&&(p=(H=H.replace(c,"").trim()).charCodeAt(0)),64===p){switch(0<L&&(H=H.replace(f,"")),h=H.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=T}if(z=(m=t(r,L,m,h,d+1)).length,0<D&&(w=l(3,m,L=n(T,H,F),r,_,O,z,h,d,s),H=L.join(""),void 0!==w&&0===(z=(m=w.trim()).length)&&(h=0,m="")),0<z)switch(h){case 115:H=H.replace(S,i);case 100:
|