turkmentv-shop-front/dist/assets/index-DNED-Jmy.js

69 lines
210 KiB
JavaScript
Raw Normal View History

2024-10-17 12:11:12 +00:00
function gc(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const i=Object.getOwnPropertyDescriptor(r,l);i&&Object.defineProperty(e,l,i.get?i:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function wc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xc={exports:{}},Ni={},Sc={exports:{}},Q={};/**
* @license React
* react.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 fl=Symbol.for("react.element"),mp=Symbol.for("react.portal"),vp=Symbol.for("react.fragment"),yp=Symbol.for("react.strict_mode"),gp=Symbol.for("react.profiler"),wp=Symbol.for("react.provider"),xp=Symbol.for("react.context"),Sp=Symbol.for("react.forward_ref"),Ep=Symbol.for("react.suspense"),kp=Symbol.for("react.memo"),Cp=Symbol.for("react.lazy"),Iu=Symbol.iterator;function _p(e){return e===null||typeof e!="object"?null:(e=Iu&&e[Iu]||e["@@iterator"],typeof e=="function"?e:null)}var Ec={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},kc=Object.assign,Cc={};function pr(e,t,n){this.props=e,this.context=t,this.refs=Cc,this.updater=n||Ec}pr.prototype.isReactComponent={};pr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)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")};pr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _c(){}_c.prototype=pr.prototype;function Ca(e,t,n){this.props=e,this.context=t,this.refs=Cc,this.updater=n||Ec}var _a=Ca.prototype=new _c;_a.constructor=Ca;kc(_a,pr.prototype);_a.isPureReactComponent=!0;var Uu=Array.isArray,Pc=Object.prototype.hasOwnProperty,Pa={current:null},Rc={key:!0,ref:!0,__self:!0,__source:!0};function Lc(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Pc.call(t,r)&&!Rc.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1<a){for(var u=Array(a),s=0;s<a;s++)u[s]=arguments[s+2];l.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)l[r]===void 0&&(l[r]=a[r]);return{$$typeof:fl,type:e,key:i,ref:o,props:l,_owner:Pa.current}}function Pp(e,t){return{$$typeof:fl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ra(e){return typeof e=="object"&&e!==null&&e.$$typeof===fl}function Rp(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Au=/\/+/g;function qi(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Rp(""+e.key):t.toString(36)}function Hl(e,t,n,r,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case fl:case mp:o=!0}}if(o)return o=e,l=l(o),e=r===""?"."+qi(o,0):r,Uu(l)?(n="",e!=null&&(n=e.replace(Au,"$&/")+"/"),Hl(l,t,n,"",function(s){return s})):l!=null&&(Ra(l)&&(l=Pp(l,n+(!l.key||o&&o.key===l.key?"":(""+l.key).replace(Au,"$&/")+"/")+e)),t.push(l)),1;if(o=0,r=r===""?".":r+":",Uu(e))for(var a=0;a<e.length;a++){i=e[a];var u=r+qi(i,a);o+=Hl(i,t,n,u,l)}else if(u=_p(e),typeof u=="function")for(e=u.call(e),a=0;!(i=e.next()).done;)i=i.value,u=r+qi(i,a++),o+=Hl(i,t,n,u,l);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function kl(e,t,n){if(e==null)return e;var r=[],l=0;return Hl(e,r,"","",function(i){return t.call(n,i,l++)}),r}function Lp(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var $e={current:null},Vl={transition:null},Np={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:Vl,ReactCurrentOwner:Pa};function Nc(){throw Error("act(...) is not supported in production builds of React.")}Q.Children={map:kl,forEach:function(e,t,n){kl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return kl(e,function(){t++}),t},toArray:function(e){return kl(e,function(t){return t})||[]},only:function(e){if(!Ra(e))throw Error("React.Children.only expected to receive a sing
* @license React
* react-jsx-runtime.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 Mp=_,zp=Symbol.for("react.element"),jp=Symbol.for("react.fragment"),Op=Object.prototype.hasOwnProperty,Fp=Mp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ip={key:!0,ref:!0,__self:!0,__source:!0};function Tc(e,t,n){var r,l={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Op.call(t,r)&&!Ip.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:zp,type:e,key:i,ref:o,props:l,_owner:Fp.current}}Ni.Fragment=jp;Ni.jsx=Tc;Ni.jsxs=Tc;xc.exports=Ni;var M=xc.exports,Dc={exports:{}},et={},Mc={exports:{}},zc={};/**
* @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(D,H){var V=D.length;D.push(H);e:for(;0<V;){var J=V-1>>>1,le=D[J];if(0<l(le,H))D[J]=H,D[V]=le,V=J;else break e}}function n(D){return D.length===0?null:D[0]}function r(D){if(D.length===0)return null;var H=D[0],V=D.pop();if(V!==H){D[0]=V;e:for(var J=0,le=D.length,yt=le>>>1;J<yt;){var Re=2*(J+1)-1,ut=D[Re],Ie=Re+1,Ct=D[Ie];if(0>l(ut,V))Ie<le&&0>l(Ct,ut)?(D[J]=Ct,D[Ie]=V,J=Ie):(D[J]=ut,D[Re]=V,J=Re);else if(Ie<le&&0>l(Ct,V))D[J]=Ct,D[Ie]=V,J=Ie;else break e}}return H}function l(D,H){var V=D.sortIndex-H.sortIndex;return V!==0?V:D.id-H.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var u=[],s=[],d=1,f=null,m=3,w=!1,E=!1,S=!1,N=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(D){for(var H=n(s);H!==null;){if(H.callback===null)r(s);else if(H.startTime<=D)r(s),H.sortIndex=H.expirationTime,t(u,H);else break;H=n(s)}}function k(D){if(S=!1,v(D),!E)if(n(u)!==null)E=!0,At(L);else{var H=n(s);H!==null&&ve(k,H.startTime-D)}}function L(D,H){E=!1,S&&(S=!1,p(R),R=-1),w=!0;var V=m;try{for(v(H),f=n(u);f!==null&&(!(f.expirationTime>H)||D&&!ee());){var J=f.callback;if(typeof J=="function"){f.callback=null,m=f.priorityLevel;var le=J(f.expirationTime<=H);H=e.unstable_now(),typeof le=="function"?f.callback=le:f===n(u)&&r(u),v(H)}else r(u);f=n(u)}if(f!==null)var yt=!0;else{var Re=n(s);Re!==null&&ve(k,Re.startTime-H),yt=!1}return yt}finally{f=null,m=V,w=!1}}var y=!1,T=null,R=-1,A=5,U=-1;function ee(){return!(e.unstable_now()-U<A)}function se(){if(T!==null){var D=e.unstable_now();U=D;var H=!0;try{H=T(!0,D)}finally{H?ge():(y=!1,T=null)}}else y=!1}var ge;if(typeof c=="function")ge=function(){c(se)};else if(typeof MessageChannel<"u"){var we=new MessageChannel,Ut=we.port2;we.port1.onmessage=se,ge=function(){Ut.postMessage(null)}}else ge=function(){N(se,0)};function At(D){T=D,y||(y=!0,ge())}function ve(D,H){R=N(function(){D(e.unstable_now())},H)}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(D){D.callback=null},e.unstable_continueExecution=function(){E||w||(E=!0,At(L))},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(D){switch(m){case 1:case 2:case 3:var H=3;break;default:H=m}var V=m;m=H;try{return D()}finally{m=V}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(D,H){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var V=m;m=D;try{return H()}finally{m=V}},e.unstable_scheduleCallback=function(D,H,V){var J=e.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?J+V:J):V=J,D){case 1:var le=-1;break;case 2:le=250;break;case 5:le=1073741823;break;case 4:le=1e4;break;default:le=5e3}return le=V+le,D={id:d++,callback:H,priorityLevel:D,startTime:V,expirationTime:le,sortIndex:-1},V>J?(D.sortIndex=V,t(s,D),n(u)===null&&D===n(s)&&(S?(p(R),R=-1):S=!0,ve(k,V-J))):(D.sortIndex=le,t(u,D),E||w||(E=!0,At(L))),D},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(D){var H=m;return function(){var V=m;m=H;try{return D.apply(this,arguments)}finally{m=V}}}})(zc);Mc.exports=zc;var Up=Mc.exports;/**
* @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 Ap=_,be=Up;function P(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 jc=new Set,Kr={};function Mn(e,t){ir(e,t),ir(e+"Capture",t)}function ir(e,t){for(Kr[e]=t,e=0;e<t.length;e++)jc.add(t[e])}var zt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),No=Object.prototype.hasOwnProperty,Bp=/^[: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]*$/,Bu={},$u={};function $p(e){return No.call($u,e)?!0:No.call(Bu,e)?!1:Bp.test(e)?$u[e]=!0:(Bu[e]=!0,!1)}function Hp(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Vp(e,t,n,r){if(t===null||typeof t>"u"||Hp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function He(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Me[e]=new He(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Me[t]=new He(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Me[e]=new He(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Me[e]=new He(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){Me[e]=new He(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Me[e]=new He(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Me[e]=new He(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Me[e]=new He(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Me[e]=new He(e,5,!1,e.toLowerCase(),null,!1,!1)});var La=/[\-:]([a-z])/g;function Na(e){return e[1].toUpperCase()}"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-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-
`+bi+e}var eo=!1;function to(e,t){if(!e||eo)return"";eo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var l=s.stack.split(`
`),i=r.stack.split(`
`),o=l.length-1,a=i.length-1;1<=o&&0<=a&&l[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(l[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||l[o]!==i[a]){var u=`
`+l[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=a);break}}}finally{eo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Mr(e):""}function Wp(e){switch(e.tag){case 5:return Mr(e.type);case 16:return Mr("Lazy");case 13:return Mr("Suspense");case 19:return Mr("SuspenseList");case 0:case 2:case 15:return e=to(e.type,!1),e;case 11:return e=to(e.type.render,!1),e;case 1:return e=to(e.type,!0),e;default:return""}}function zo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Hn:return"Fragment";case $n:return"Portal";case To:return"Profiler";case Da:return"StrictMode";case Do:return"Suspense";case Mo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Fc:return(e.displayName||"Context")+".Consumer";case Oc:return(e._context.displayName||"Context")+".Provider";case Ma:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case za:return t=e.displayName||null,t!==null?t:zo(e.type)||"Memo";case Wt:t=e._payload,e=e._init;try{return zo(e(t))}catch{}}return null}function Qp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return zo(t);case 8:return t===Da?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Uc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Kp(e){var t=Uc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _l(e){e._valueTracker||(e._valueTracker=Kp(e))}function Ac(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Uc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ti(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function jo(e,t){var n=t.checked;return de({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Vu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=on(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Bc(e,t){t=t.checked,t!=null&&Ta(e,"checked",t,!1)}function Oo(e,t){Bc(e,t);var n=on(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Fo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Fo(e,t.type,on(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Wu(e,t,n){if(t.hasOwnProperty("val
`).replace(nm,"")}function zl(e,t,n){if(t=ps(t),ps(e)!==t&&n)throw Error(P(425))}function si(){}var Zo=null,Jo=null;function qo(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var bo=typeof setTimeout=="function"?setTimeout:void 0,rm=typeof clearTimeout=="function"?clearTimeout:void 0,hs=typeof Promise=="function"?Promise:void 0,lm=typeof queueMicrotask=="function"?queueMicrotask:typeof hs<"u"?function(e){return hs.resolve(null).then(e).catch(im)}:bo;function im(e){setTimeout(function(){throw e})}function mo(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Jr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Jr(t)}function en(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function ms(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var mr=Math.random().toString(36).slice(2),St="__reactFiber$"+mr,nl="__reactProps$"+mr,jt="__reactContainer$"+mr,ea="__reactEvents$"+mr,om="__reactListeners$"+mr,am="__reactHandles$"+mr;function xn(e){var t=e[St];if(t)return t;for(var n=e.parentNode;n;){if(t=n[jt]||n[St]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ms(e);e!==null;){if(n=e[St])return n;e=ms(e)}return t}e=n,n=e.parentNode}return null}function hl(e){return e=e[St]||e[jt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Kn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(P(33))}function ji(e){return e[nl]||null}var ta=[],Yn=-1;function sn(e){return{current:e}}function oe(e){0>Yn||(e.current=ta[Yn],ta[Yn]=null,Yn--)}function re(e,t){Yn++,ta[Yn]=e.current,e.current=t}var an={},Fe=sn(an),Ke=sn(!1),Pn=an;function or(e,t){var n=e.type.contextTypes;if(!n)return an;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ye(e){return e=e.childContextTypes,e!=null}function ci(){oe(Ke),oe(Fe)}function vs(e,t,n){if(Fe.current!==an)throw Error(P(168));re(Fe,t),re(Ke,n)}function Nf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(P(108,Qp(e)||"Unknown",l));return de({},n,r)}function fi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,Pn=Fe.current,re(Fe,e),re(Ke,Ke.current),!0}function ys(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=Nf(e,t,Pn),r.__reactInternalMemoizedMergedChildContext=e,oe(Ke),oe(Fe),re(Fe,e)):oe(Ke),re(Ke,n)}var Lt=null,Oi=!1,vo=!1;function Tf(e){Lt===null?Lt=[e]:Lt.push(e)}function um(e){Oi=!0,Tf(e)}function cn(){if(!vo&&Lt!==null){vo=!0;var e=0,t=b;try{var n=Lt;for(b=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Lt=null,Oi=!1}catch(l){throw Lt!==null&&(Lt=Lt.slice(e+1)),ef(Oa,cn),l}finally{b=t,vo=!1}}return null}var Xn=[],Gn=0,di=null,pi=0,nt=[],rt=0,Rn=null,Nt=1,Tt="";function vn(e,t){Xn[Gn++]=pi,Xn[Gn++]=di,di=e,pi=t}function Df(e,t,n){nt[rt++]=Nt,nt[rt++]=Tt,nt[rt++]=Rn,Rn=e;var r=Nt;e=Tt;var l=32-ht(r)-1;r&=~(1<<l),n+=1;var i=32-ht(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,Nt=1<<32-ht(t)+l|n<<l|r,Tt=i+e}else Nt=1<<i|n<<l|r,Tt=e}function Wa(e){e.return!==null&&(vn(e,1),Df(e,1,0))}function Qa(e){for(;e===di;)di=Xn[--Gn],Xn[Gn]=null,pi=Xn[--Gn],Xn[Gn]=null;for(;e===Rn;)Rn=nt[--rt],nt[rt]=null,Tt=nt[--rt],nt[rt]=null,Nt=nt[--rt],nt[rt]=null}var qe=null,Je=null,ue=!1,pt=null;function Mf(e,t){var n=lt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function So(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function aa(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ym=typeof WeakMap=="function"?WeakMap:Map;function id(e,t,n){n=Dt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Si||(Si=!0,ya=r),aa(e,t)},n}function od(e,t,n){n=Dt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){aa(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){aa(e,t),typeof r!="function"&&(nn===null?nn=new Set([this]):nn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Rs(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ym;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Dm.bind(null,e,t,n),t.then(e,e))}function Ls(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Ns(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Dt(-1,1),t.tag=2,tn(n,t,1))),n.lanes|=1),e)}var gm=It.ReactCurrentOwner,Qe=!1;function Ae(e,t,n,r){t.child=e===null?Of(t,null,n,r):ur(t,e.child,n,r)}function Ts(e,t,n,r,l){n=n.render;var i=t.ref;return rr(t,l),r=nu(e,t,n,r,i,l),n=ru(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ft(e,t,l)):(ue&&n&&Wa(t),t.flags|=1,Ae(e,t,r,l),t.child)}function Ds(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!pu(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,ad(e,t,i,r,l)):(e=bl(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:br,n(o,r)&&e.ref===t.ref)return Ft(e,t,l)}return t.flags|=1,e=ln(i,r),e.ref=t.ref,e.return=t,t.child=e}function ad(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(br(i,r)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(Qe=!0);else return t.lanes=e.lanes,Ft(e,t,l)}return ua(e,t,n,r,l)}function ud(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},re(qn,Ge),Ge|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,re(qn,Ge),Ge|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,re(qn,Ge),Ge|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,re(qn,Ge),Ge|=r;return Ae(e,t,l,n),t.child}function sd(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ua(e,t,n,r,l){var i=Ye(n)?Pn:Fe.current;return i=or(t,i),rr(t,l),n=nu(e,t,n,r,i,l),r=ru(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ft(e,t,l)):(ue&&r&&Wa(t),t.flags|=1,Ae(e,t,n,l),t.child)}function Ms(e,t,n,r,l){if(Ye(n)){var i=!0;fi(t)}else i=!1;if(rr(t,l),t.stateNode===null)Zl(e,t),ld(t,n,r),oa(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var u=o.context,s=n.contextType;typeof s=="object"&&s!==null?s=ot(s):(s=Ye(n)?Pn:Fe.current,s=or(t,s));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||u!==s)&&Ps(t,o,r,s),Qt=!1;var m=t.memoizedState;o.state=m,vi(t,r,o,l),u=t.memoizedState,a!==r||m!==u||Ke.current||Qt?(typeof d=="function"&&(ia(t,n,d,r),u=t.memoizedState),(a=Qt||_s(t,n,a,r,m,u,s))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.
* @remix-run/router v1.20.0
*
* 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 ae(){return ae=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},ae.apply(this,arguments)}var Se;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Se||(Se={}));const Ks="popstate";function Wm(e){e===void 0&&(e={});function t(r,l){let{pathname:i,search:o,hash:a}=r.location;return sl("",{pathname:i,search:o,hash:a},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(r,l){return typeof l=="string"?l:Dn(l)}return Km(t,n,null,e)}function Y(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function dr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Qm(){return Math.random().toString(36).substr(2,8)}function Ys(e,t){return{usr:e.state,key:e.key,idx:t}}function sl(e,t,n,r){return n===void 0&&(n=null),ae({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?fn(t):t,{state:n,key:t&&t.key||r||Qm()})}function Dn(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function fn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Km(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,a=Se.Pop,u=null,s=d();s==null&&(s=0,o.replaceState(ae({},o.state,{idx:s}),""));function d(){return(o.state||{idx:null}).idx}function f(){a=Se.Pop;let N=d(),p=N==null?null:N-s;s=N,u&&u({action:a,location:S.location,delta:p})}function m(N,p){a=Se.Push;let c=sl(S.location,N,p);s=d()+1;let v=Ys(c,s),k=S.createHref(c);try{o.pushState(v,"",k)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;l.location.assign(k)}i&&u&&u({action:a,location:S.location,delta:1})}function w(N,p){a=Se.Replace;let c=sl(S.location,N,p);s=d();let v=Ys(c,s),k=S.createHref(c);o.replaceState(v,"",k),i&&u&&u({action:a,location:S.location,delta:0})}function E(N){let p=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof N=="string"?N:Dn(N);return c=c.replace(/ $/,"%20"),Y(p,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,p)}let S={get action(){return a},get location(){return e(l,o)},listen(N){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(Ks,f),u=N,()=>{l.removeEventListener(Ks,f),u=null}},createHref(N){return t(l,N)},createURL:E,encodeLocation(N){let p=E(N);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:m,replace:w,go(N){return o.go(N)}};return S}var te;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(te||(te={}));const Ym=new Set(["lazy","caseSensitive","path","id","index","children"]);function Xm(e){return e.index===!0}function _i(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((l,i)=>{let o=[...n,String(i)],a=typeof l.id=="string"?l.id:o.join("-");if(Y(l.index!==!0||!l.children,"Cannot specify children on an index route"),Y(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Xm(l)){let u=ae({},l,t(l),{id:a});return r[a]=u,u}else{let u=ae({},l,t(l),{id:a,children:void 0});return r[a]=u,l.children&&(u.children=_i(l.children,t,o,r)),u}})}function gn(e,t,n){return n===void 0&&(n="/"),ei(e,t,n,!1)}function ei(e,t,n,r){let l=typeof t=="string"?fn(t):t,i=vr(l.pathname||"/",n);if(i==null)return null;let o=jd(e);Zm(o);let a=null;for(let u=0;a==null&&u<o.length;++u){let s=av(i);a=iv(o[u],s,r)}return a}function Gm(e,t){let{route:n,pathname:r,params:l}=e;return{id:n.id,pathname:r,params:l,data:t[n.id],handle:n.handle}}function jd(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let l=(i,o,a)=>{let u={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};u.relativePath.startsWith("/")&&(Y(u.relati
`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:m}}}else if(r.formEncType==="application/json"){if(!dt(o))return l();try{let m=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:m,text:void 0}}}catch{return l()}}}Y(typeof FormData=="function","FormData is not available in this environment");let u,s;if(r.formData)u=ka(r.formData),s=r.formData;else if(r.body instanceof FormData)u=ka(r.body),s=r.body;else if(r.body instanceof URLSearchParams)u=r.body,s=nc(u);else if(r.body==null)u=new URLSearchParams,s=new FormData;else try{u=new URLSearchParams(r.body),s=nc(u)}catch{return l()}let d={formMethod:o,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(dt(d.formMethod))return{path:n,submission:d};let f=fn(n);return t&&f.search&&ku(f.search)&&u.append("index",""),f.search="?"+u,{path:Dn(f),submission:d}}function Js(e,t,n){n===void 0&&(n=!1);let r=e.findIndex(l=>l.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function qs(e,t,n,r,l,i,o,a,u,s,d,f,m,w,E,S){let N=S?Ze(S[1])?S[1].error:S[1].data:void 0,p=e.createURL(t.location),c=e.createURL(l),v=n;i&&t.errors?v=Js(n,Object.keys(t.errors)[0],!0):S&&Ze(S[1])&&(v=Js(n,S[0]));let k=S?S[1].statusCode:void 0,L=o&&k&&k>=400,y=v.filter((R,A)=>{let{route:U}=R;if(U.lazy)return!0;if(U.loader==null)return!1;if(i)return Ea(U,t.loaderData,t.errors);if(Ev(t.loaderData,t.matches[A],R)||u.some(ge=>ge===R.route.id))return!0;let ee=t.matches[A],se=R;return bs(R,ae({currentUrl:p,currentParams:ee.params,nextUrl:c,nextParams:se.params},r,{actionResult:N,actionStatus:k,defaultShouldRevalidate:L?!1:a||p.pathname+p.search===c.pathname+c.search||p.search!==c.search||Ad(ee,se)}))}),T=[];return f.forEach((R,A)=>{if(i||!n.some(we=>we.route.id===R.routeId)||d.has(A))return;let U=gn(w,R.path,E);if(!U){T.push({key:A,routeId:R.routeId,path:R.path,matches:null,match:null,controller:null});return}let ee=t.fetchers.get(A),se=Fr(U,R.path),ge=!1;m.has(A)?ge=!1:s.has(A)?(s.delete(A),ge=!0):ee&&ee.state!=="idle"&&ee.data===void 0?ge=a:ge=bs(se,ae({currentUrl:p,currentParams:t.matches[t.matches.length-1].params,nextUrl:c,nextParams:n[n.length-1].params},r,{actionResult:N,actionStatus:k,defaultShouldRevalidate:L?!1:a})),ge&&T.push({key:A,routeId:R.routeId,path:R.path,matches:U,match:se,controller:new AbortController})}),[y,T]}function Ea(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=t!=null&&t[e.id]!==void 0,l=n!=null&&n[e.id]!==void 0;return!r&&l?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!r&&!l}function Ev(e,t,n){let r=!t||n.route.id!==t.route.id,l=e[n.route.id]===void 0;return r||l}function Ad(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function bs(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function ec(e,t,n,r,l){var i;let o;if(e){let s=r[e];Y(s,"No route found to patch children into: routeId = "+e),s.children||(s.children=[]),o=s.children}else o=n;let a=t.filter(s=>!o.some(d=>Bd(s,d))),u=_i(a,l,[e||"_","patch",String(((i=o)==null?void 0:i.length)||"0")],r);o.push(...u)}function Bd(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,r)=>{var l;return(l=t.children)==null?void 0:l.some(i=>Bd(n,i))}):!1}async function kv(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let l=n[e.id];Y(l,"No route found in manifest");let i={};for(let o in r){let u=l[o]!==void 0&&o!=="hasErrorBoundary";dr(!u,'Route "'+l.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!u&&!Ym.has(o)&&(i[o]=r[o])}Object.assign(l,i),Object.assign(l,a
* React Router v6.27.0
*
* 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 Ri(){return Ri=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},Ri.apply(this,arguments)}const Ki=_.createContext(null),Vd=_.createContext(null),jn=_.createContext(null),Cu=_.createContext(null),dn=_.createContext({outlet:null,matches:[],isDataRoute:!1}),Wd=_.createContext(null);function Bv(e,t){let{relative:n}=t===void 0?{}:t;vl()||Y(!1);let{basename:r,navigator:l}=_.useContext(jn),{hash:i,pathname:o,search:a}=Kd(e,{relative:n}),u=o;return r!=="/"&&(u=o==="/"?r:Mt([r,o])),l.createHref({pathname:u,search:a,hash:i})}function vl(){return _.useContext(Cu)!=null}function Yi(){return vl()||Y(!1),_.useContext(Cu).location}function Qd(e){_.useContext(jn).static||_.useLayoutEffect(e)}function $v(){let{isDataRoute:e}=_.useContext(dn);return e?e0():Hv()}function Hv(){vl()||Y(!1);let e=_.useContext(Ki),{basename:t,future:n,navigator:r}=_.useContext(jn),{matches:l}=_.useContext(dn),{pathname:i}=Yi(),o=JSON.stringify(wu(l,n.v7_relativeSplatPath)),a=_.useRef(!1);return Qd(()=>{a.current=!0}),_.useCallback(function(s,d){if(d===void 0&&(d={}),!a.current)return;if(typeof s=="number"){r.go(s);return}let f=xu(s,JSON.parse(o),i,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Mt([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,i,e])}function Vv(){let{matches:e}=_.useContext(dn),t=e[e.length-1];return t?t.params:{}}function Kd(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=_.useContext(jn),{matches:l}=_.useContext(dn),{pathname:i}=Yi(),o=JSON.stringify(wu(l,r.v7_relativeSplatPath));return _.useMemo(()=>xu(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function Wv(e,t,n,r){vl()||Y(!1);let{navigator:l}=_.useContext(jn),{matches:i}=_.useContext(dn),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let s=Yi(),d;d=s;let f=d.pathname||"/",m=f;if(u!=="/"){let S=u.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(S.length).join("/")}let w=gn(e,{pathname:m});return Gv(w&&w.map(S=>Object.assign({},S,{params:Object.assign({},a,S.params),pathname:Mt([u,l.encodeLocation?l.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?u:Mt([u,l.encodeLocation?l.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),i,n,r)}function Qv(){let e=bv(),t=Qi(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:l},n):null,null)}const Kv=_.createElement(Qv,null);class Yv extends _.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?_.createElement(dn.Provider,{value:this.props.routeContext},_.createElement(Wd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Xv(e){let{routeContext:t,match:n,children:r}=e,l=_.useContext(Ki);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(dn.Provider,{value:t},r)}function Gv(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.ma
* React Router DOM v6.27.0
*
* 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 cl(){return cl=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},cl.apply(this,arguments)}function l0(e,t){if(e==null)return{};var n={},r=Object.keys(e),l,i;for(i=0;i<r.length;i++)l=r[i],!(t.indexOf(l)>=0)&&(n[l]=e[l]);return n}function i0(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function o0(e,t){return e.button===0&&(!t||t==="_self")&&!i0(e)}const a0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],u0="6";try{window.__reactRouterVersion=u0}catch{}function s0(e,t){return xv({basename:void 0,future:cl({},void 0,{v7_prependBasename:!0}),history:Wm({window:void 0}),hydrationData:c0(),routes:e,mapRouteProperties:r0,dataStrategy:void 0,patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function c0(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=cl({},t,{errors:f0(t.errors)})),t}function f0(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,l]of t)if(l&&l.__type==="RouteErrorResponse")n[r]=new Pi(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let i=window[l.__subType];if(typeof i=="function")try{let o=new i(l.message);o.stack="",n[r]=o}catch{}}if(n[r]==null){let i=new Error(l.message);i.stack="",n[r]=i}}else n[r]=l;return n}const d0=_.createContext({isTransitioning:!1}),p0=_.createContext(new Map),h0="startTransition",cc=Dp[h0],m0="flushSync",fc=Vm[m0];function v0(e){cc?cc(e):e()}function Dr(e){fc?fc(e):e()}class y0{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function g0(e){let{fallbackElement:t,router:n,future:r}=e,[l,i]=_.useState(n.state),[o,a]=_.useState(),[u,s]=_.useState({isTransitioning:!1}),[d,f]=_.useState(),[m,w]=_.useState(),[E,S]=_.useState(),N=_.useRef(new Map),{v7_startTransition:p}=r||{},c=_.useCallback(R=>{p?v0(R):R()},[p]),v=_.useCallback((R,A)=>{let{deletedFetchers:U,flushSync:ee,viewTransitionOpts:se}=A;U.forEach(we=>N.current.delete(we)),R.fetchers.forEach((we,Ut)=>{we.data!==void 0&&N.current.set(Ut,we.data)});let ge=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!se||ge){ee?Dr(()=>i(R)):c(()=>i(R));return}if(ee){Dr(()=>{m&&(d&&d.resolve(),m.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:se.currentLocation,nextLocation:se.nextLocation})});let we=n.window.document.startViewTransition(()=>{Dr(()=>i(R))});we.finished.finally(()=>{Dr(()=>{f(void 0),w(void 0),a(void 0),s({isTransitioning:!1})})}),Dr(()=>w(we));return}m?(d&&d.resolve(),m.skipTransition(),S({state:R,currentLocation:se.currentLocation,nextLocation:se.nextLocation})):(a(R),s({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}))},[n.window,m,d,N,c]);_.useLayoutEffect(()=>n.subscribe(v),[n,v]),_.useEffect(()=>{u.isTransitioning&&!u.flushSync&&f(new y0)},[u]),_.useEffect(()=>{if(d&&o&&n.window){let R=o,A=d.promise,U=n.window.document.startViewTransition(async()=>{c(()=>i(R)),await A});U.finished.finally(()=>{f(void 0),w(void 0),a(void 0),s({isTransitioning:!1})}),w(U)}},[c,o,d,n.window]),_.useEffect(()=>{d&&o&&l.location.key===o.location.key&&d.resolve()},[d,m,l.location,o]),_.useEffect(()=>{!u.isTransitioning&&E&&(a(E.state),s({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}),S(void 0))},[u.isTransitioning,E]),_.useEffect(()=>{},[]);let k=_.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:R=>n.navigate(R),push:(R,A,U)=>n.navigate(R,{state:A,preventScrollReset:U==null?void 0:U.preventScrollReset}),replace:(R,A,U)=>n.navigate(R,{replace:!0,state:A,preventScrollReset:U==null?void 0:U.preventScrollReset})}),[n]),L=n.basename||"/",y=_.useMemo(()=>({router:n,navigator:k,stati