soundwave/frontend/dist/assets/vendor-Bv7lQTk9.js

60 lines
157 KiB
JavaScript
Raw Permalink Normal View History

function Ic(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 u=Object.getOwnPropertyDescriptor(r,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function cs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qp(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}),n}var fs={exports:{}},R={};/**
* @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 er=Symbol.for("react.element"),Fc=Symbol.for("react.portal"),Dc=Symbol.for("react.fragment"),jc=Symbol.for("react.strict_mode"),Uc=Symbol.for("react.profiler"),Bc=Symbol.for("react.provider"),Vc=Symbol.for("react.context"),$c=Symbol.for("react.forward_ref"),Ac=Symbol.for("react.suspense"),Wc=Symbol.for("react.memo"),Hc=Symbol.for("react.lazy"),Ki=Symbol.iterator;function Qc(e){return e===null||typeof e!="object"?null:(e=Ki&&e[Ki]||e["@@iterator"],typeof e=="function"?e:null)}var ds={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ps=Object.assign,hs={};function sn(e,t,n){this.props=e,this.context=t,this.refs=hs,this.updater=n||ds}sn.prototype.isReactComponent={};sn.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")};sn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ms(){}ms.prototype=sn.prototype;function Xu(e,t,n){this.props=e,this.context=t,this.refs=hs,this.updater=n||ds}var Gu=Xu.prototype=new ms;Gu.constructor=Xu;ps(Gu,sn.prototype);Gu.isPureReactComponent=!0;var Yi=Array.isArray,vs=Object.prototype.hasOwnProperty,Zu={current:null},ys={key:!0,ref:!0,__self:!0,__source:!0};function gs(e,t,n){var r,l={},u=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(u=""+t.key),t)vs.call(t,r)&&!ys.hasOwnProperty(r)&&(l[r]=t[r]);var o=arguments.length-2;if(o===1)l.children=n;else if(1<o){for(var s=Array(o),a=0;a<o;a++)s[a]=arguments[a+2];l.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)l[r]===void 0&&(l[r]=o[r]);return{$$typeof:er,type:e,key:u,ref:i,props:l,_owner:Zu.current}}function Kc(e,t){return{$$typeof:er,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ju(e){return typeof e=="object"&&e!==null&&e.$$typeof===er}function Yc(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Xi=/\/+/g;function Nl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Yc(""+e.key):t.toString(36)}function Pr(e,t,n,r,l){var u=typeof e;(u==="undefined"||u==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(u){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case er:case Fc:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+Nl(i,0):r,Yi(l)?(n="",e!=null&&(n=e.replace(Xi,"$&/")+"/"),Pr(l,t,n,"",function(a){return a})):l!=null&&(Ju(l)&&(l=Kc(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(Xi,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",Yi(e))for(var o=0;o<e.length;o++){u=e[o];var s=r+Nl(u,o);i+=Pr(u,t,n,s,l)}else if(s=Qc(e),typeof s=="function")for(e=s.call(e),o=0;!(u=e.next()).done;)u=u.value,s=r+Nl(u,o++),i+=Pr(u,t,n,s,l);else if(u==="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 i}function ar(e,t,n){if(e==null)return e;var r=[],l=0;return Pr(e,r,"","",function(u){return t.call(n,u,l++)}),r}function Xc(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 se={current:null},Nr={transition:null},Gc={ReactCurrentDispatcher:se,ReactCurrentBatchConfig:Nr,ReactCurrentOwner:Zu};function ws(){throw Error("act(...) is not supported in production builds of React.")}R.Children={map:ar,forEach:function(e,t,n){ar(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ar(e,function(){t++}),t},toArray:function(e){return ar(e,function(t){return t})||[]},only:function(e){if(!Ju(e))throw Error("React.Children.only expected to receive a sing
* @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(x,L){var T=x.length;x.push(L);e:for(;0<T;){var H=T-1>>>1,Z=x[H];if(0<l(Z,L))x[H]=L,x[T]=Z,T=H;else break e}}function n(x){return x.length===0?null:x[0]}function r(x){if(x.length===0)return null;var L=x[0],T=x.pop();if(T!==L){x[0]=T;e:for(var H=0,Z=x.length,or=Z>>>1;H<or;){var gt=2*(H+1)-1,Pl=x[gt],wt=gt+1,sr=x[wt];if(0>l(Pl,T))wt<Z&&0>l(sr,Pl)?(x[H]=sr,x[wt]=T,H=wt):(x[H]=Pl,x[gt]=T,H=gt);else if(wt<Z&&0>l(sr,T))x[H]=sr,x[wt]=T,H=wt;else break e}}return L}function l(x,L){var T=x.sortIndex-L.sortIndex;return T!==0?T:x.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var i=Date,o=i.now();e.unstable_now=function(){return i.now()-o}}var s=[],a=[],h=1,p=null,m=3,g=!1,w=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,f=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 d(x){for(var L=n(a);L!==null;){if(L.callback===null)r(a);else if(L.startTime<=x)r(a),L.sortIndex=L.expirationTime,t(s,L);else break;L=n(a)}}function v(x){if(S=!1,d(x),!w)if(n(s)!==null)w=!0,xl(k);else{var L=n(a);L!==null&&_l(v,L.startTime-x)}}function k(x,L){w=!1,S&&(S=!1,f(z),z=-1),g=!0;var T=m;try{for(d(L),p=n(s);p!==null&&(!(p.expirationTime>L)||x&&!Ne());){var H=p.callback;if(typeof H=="function"){p.callback=null,m=p.priorityLevel;var Z=H(p.expirationTime<=L);L=e.unstable_now(),typeof Z=="function"?p.callback=Z:p===n(s)&&r(s),d(L)}else r(s);p=n(s)}if(p!==null)var or=!0;else{var gt=n(a);gt!==null&&_l(v,gt.startTime-L),or=!1}return or}finally{p=null,m=T,g=!1}}var P=!1,N=null,z=-1,W=5,O=-1;function Ne(){return!(e.unstable_now()-O<W)}function dn(){if(N!==null){var x=e.unstable_now();O=x;var L=!0;try{L=N(!0,x)}finally{L?pn():(P=!1,N=null)}}else P=!1}var pn;if(typeof c=="function")pn=function(){c(dn)};else if(typeof MessageChannel<"u"){var Qi=new MessageChannel,Mc=Qi.port2;Qi.port1.onmessage=dn,pn=function(){Mc.postMessage(null)}}else pn=function(){C(dn,0)};function xl(x){N=x,P||(P=!0,pn())}function _l(x,L){z=C(function(){x(e.unstable_now())},L)}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(x){x.callback=null},e.unstable_continueExecution=function(){w||g||(w=!0,xl(k))},e.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<x?Math.floor(1e3/x):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(x){switch(m){case 1:case 2:case 3:var L=3;break;default:L=m}var T=m;m=L;try{return x()}finally{m=T}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(x,L){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var T=m;m=x;try{return L()}finally{m=T}},e.unstable_scheduleCallback=function(x,L,T){var H=e.unstable_now();switch(typeof T=="object"&&T!==null?(T=T.delay,T=typeof T=="number"&&0<T?H+T:H):T=H,x){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=T+Z,x={id:h++,callback:L,priorityLevel:x,startTime:T,expirationTime:Z,sortIndex:-1},T>H?(x.sortIndex=T,t(a,x),n(s)===null&&x===n(a)&&(S?(f(z),z=-1):S=!0,_l(v,T-H))):(x.sortIndex=Z,t(s,x),w||g||(w=!0,xl(k))),x},e.unstable_shouldYield=Ne,e.unstable_wrapCallback=function(x){var L=m;return function(){var T=m;m=L;try{return x.apply(this,arguments)}finally{m=T}}}})(Es);ks.exports=Es;var qc=ks.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 bc=_,ge=qc;function y(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 Cs=new Set,Fn={};function Mt(e,t){en(e,t),en(e+"Capture",t)}function en(e,t){for(Fn[e]=t,e=0;e<t.length;e++)Cs.add(t[e])}var Qe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),eu=Object.prototype.hasOwnProperty,ef=/^[: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]*$/,Gi={},Zi={};function tf(e){return eu.call(Zi,e)?!0:eu.call(Gi,e)?!1:ef.test(e)?Zi[e]=!0:(Gi[e]=!0,!1)}function nf(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 rf(e,t,n,r){if(t===null||typeof t>"u"||nf(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 ae(e,t,n,r,l,u,i){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=u,this.removeEmptyString=i}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];te[t]=new ae(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new ae(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){te[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var qu=/[\-:]([a-z])/g;function bu(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-
`+zl+e}var Ll=!1;function Tl(e,t){if(!e||Ll)return"";Ll=!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(a){var r=a}Reflect.construct(e,[],t)}else{try{t.call()}catch(a){r=a}e.call(t.prototype)}else{try{throw Error()}catch(a){r=a}e()}}catch(a){if(a&&r&&typeof a.stack=="string"){for(var l=a.stack.split(`
`),u=r.stack.split(`
`),i=l.length-1,o=u.length-1;1<=i&&0<=o&&l[i]!==u[o];)o--;for(;1<=i&&0<=o;i--,o--)if(l[i]!==u[o]){if(i!==1||o!==1)do if(i--,o--,0>o||l[i]!==u[o]){var s=`
`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=o);break}}}finally{Ll=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?En(e):""}function lf(e){switch(e.tag){case 5:return En(e.type);case 16:return En("Lazy");case 13:return En("Suspense");case 19:return En("SuspenseList");case 0:case 2:case 15:return e=Tl(e.type,!1),e;case 11:return e=Tl(e.type.render,!1),e;case 1:return e=Tl(e.type,!0),e;default:return""}}function lu(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 jt:return"Fragment";case Dt:return"Portal";case tu:return"Profiler";case ti:return"StrictMode";case nu:return"Suspense";case ru:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _s:return(e.displayName||"Context")+".Consumer";case xs:return(e._context.displayName||"Context")+".Provider";case ni:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ri:return t=e.displayName||null,t!==null?t:lu(e.type)||"Memo";case Je:t=e._payload,e=e._init;try{return lu(e(t))}catch{}}return null}function uf(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 lu(t);case 8:return t===ti?"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 dt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ns(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function of(e){var t=Ns(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,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,u.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fr(e){e._valueTracker||(e._valueTracker=of(e))}function zs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ns(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ur(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 uu(e,t){var n=t.checked;return $({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qi(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=dt(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 Ls(e,t){t=t.checked,t!=null&&ei(e,"checked",t,!1)}function iu(e,t){Ls(e,t);var n=dt(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")?ou(e,t.type,n):t.hasOwnProperty("defaultValue")&&ou(e,t.type,dt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function bi(e,t,n){if(t.hasOwnProperty("valu
`).replace(yd,"")}function wr(e,t,n){if(t=Co(t),Co(e)!==t&&n)throw Error(y(425))}function Kr(){}var ku=null,Eu=null;function Cu(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 xu=typeof setTimeout=="function"?setTimeout:void 0,gd=typeof clearTimeout=="function"?clearTimeout:void 0,xo=typeof Promise=="function"?Promise:void 0,wd=typeof queueMicrotask=="function"?queueMicrotask:typeof xo<"u"?function(e){return xo.resolve(null).then(e).catch(Sd)}:xu;function Sd(e){setTimeout(function(){throw e})}function Wl(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),Vn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Vn(t)}function ot(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 _o(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 cn=Math.random().toString(36).slice(2),je="__reactFiber$"+cn,Qn="__reactProps$"+cn,Ke="__reactContainer$"+cn,_u="__reactEvents$"+cn,kd="__reactListeners$"+cn,Ed="__reactHandles$"+cn;function Et(e){var t=e[je];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ke]||n[je]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=_o(e);e!==null;){if(n=e[je])return n;e=_o(e)}return t}e=n,n=e.parentNode}return null}function rr(e){return e=e[je]||e[Ke],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function $t(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(y(33))}function dl(e){return e[Qn]||null}var Pu=[],At=-1;function mt(e){return{current:e}}function j(e){0>At||(e.current=Pu[At],Pu[At]=null,At--)}function F(e,t){At++,Pu[At]=e.current,e.current=t}var pt={},ue=mt(pt),de=mt(!1),zt=pt;function tn(e,t){var n=e.type.contextTypes;if(!n)return pt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in n)l[u]=t[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function Yr(){j(de),j(ue)}function Po(e,t,n){if(ue.current!==pt)throw Error(y(168));F(ue,t),F(de,n)}function ya(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(y(108,uf(e)||"Unknown",l));return $({},n,r)}function Xr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pt,zt=ue.current,F(ue,e),F(de,de.current),!0}function No(e,t,n){var r=e.stateNode;if(!r)throw Error(y(169));n?(e=ya(e,t,zt),r.__reactInternalMemoizedMergedChildContext=e,j(de),j(ue),F(ue,e)):j(de),F(de,n)}var $e=null,pl=!1,Hl=!1;function ga(e){$e===null?$e=[e]:$e.push(e)}function Cd(e){pl=!0,ga(e)}function vt(){if(!Hl&&$e!==null){Hl=!0;var e=0,t=I;try{var n=$e;for(I=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}$e=null,pl=!1}catch(l){throw $e!==null&&($e=$e.slice(e+1)),Ws(ui,vt),l}finally{I=t,Hl=!1}}return null}var Wt=[],Ht=0,Gr=null,Zr=0,ke=[],Ee=0,Lt=null,Ae=1,We="";function St(e,t){Wt[Ht++]=Zr,Wt[Ht++]=Gr,Gr=e,Zr=t}function wa(e,t,n){ke[Ee++]=Ae,ke[Ee++]=We,ke[Ee++]=Lt,Lt=e;var r=Ae;e=We;var l=32-Oe(r)-1;r&=~(1<<l),n+=1;var u=32-Oe(t)+l;if(30<u){var i=l-l%5;u=(r&(1<<i)-1).toString(32),r>>=i,l-=i,Ae=1<<32-Oe(t)+l|n<<l|r,We=u+e}else Ae=1<<u|n<<l|r,We=e}function hi(e){e.return!==null&&(St(e,1),wa(e,1,0))}function mi(e){for(;e===Gr;)Gr=Wt[--Ht],Wt[Ht]=null,Zr=Wt[--Ht],Wt[Ht]=null;for(;e===Lt;)Lt=ke[--Ee],ke[Ee]=null,We=ke[--Ee],ke[Ee]=null,Ae=ke[--Ee],ke[Ee]=null}var ye=null,ve=null,U=!1,Re=null;function Sa(e,t){var n=Ce(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.del
Error generating stack: `+u.message+`
`+u.stack}return{value:e,source:t,stack:l,digest:null}}function Gl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ou(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Od=typeof WeakMap=="function"?WeakMap:Map;function Ya(e,t,n){n=He(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ll||(ll=!0,Au=r),Ou(e,t)},n}function Xa(e,t,n){n=He(-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(){Ou(e,t)}}var u=e.stateNode;return u!==null&&typeof u.componentDidCatch=="function"&&(n.callback=function(){Ou(e,t),typeof r!="function"&&(at===null?at=new Set([this]):at.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function jo(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Od;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=Kd.bind(null,e,t,n),t.then(e,e))}function Uo(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 Bo(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=He(-1,1),t.tag=2,st(n,t,1))),n.lanes|=1),e)}var Md=Ge.ReactCurrentOwner,fe=!1;function ie(e,t,n,r){t.child=e===null?Ca(t,null,n,r):rn(t,e.child,n,r)}function Vo(e,t,n,r,l){n=n.render;var u=t.ref;return qt(t,l),r=Pi(e,t,n,r,u,l),n=Ni(),e!==null&&!fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Xe(e,t,l)):(U&&n&&hi(t),t.flags|=1,ie(e,t,r,l),t.child)}function $o(e,t,n,r,l){if(e===null){var u=n.type;return typeof u=="function"&&!ji(u)&&u.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=u,Ga(e,t,u,r,l)):(e=jr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!(e.lanes&l)){var i=u.memoizedProps;if(n=n.compare,n=n!==null?n:An,n(i,r)&&e.ref===t.ref)return Xe(e,t,l)}return t.flags|=1,e=ft(u,r),e.ref=t.ref,e.return=t,t.child=e}function Ga(e,t,n,r,l){if(e!==null){var u=e.memoizedProps;if(An(u,r)&&e.ref===t.ref)if(fe=!1,t.pendingProps=r=u,(e.lanes&l)!==0)e.flags&131072&&(fe=!0);else return t.lanes=e.lanes,Xe(e,t,l)}return Mu(e,t,n,r,l)}function Za(e,t,n){var r=t.pendingProps,l=r.children,u=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},F(Yt,me),me|=n;else{if(!(n&1073741824))return e=u!==null?u.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,F(Yt,me),me|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=u!==null?u.baseLanes:n,F(Yt,me),me|=r}else u!==null?(r=u.baseLanes|n,t.memoizedState=null):r=n,F(Yt,me),me|=r;return ie(e,t,l,n),t.child}function Ja(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Mu(e,t,n,r,l){var u=pe(n)?zt:ue.current;return u=tn(t,u),qt(t,l),n=Pi(e,t,n,r,u,l),r=Ni(),e!==null&&!fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Xe(e,t,l)):(U&&r&&hi(t),t.flags|=1,ie(e,t,n,l),t.child)}function Ao(e,t,n,r,l){if(pe(n)){var u=!0;Xr(t)}else u=!1;if(qt(t,l),t.stateNode===null)Ir(e,t),Ka(t,n,r),Ru(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,o=t.memoizedProps;i.props=o;var s=i.context,a=n.contextType;typeof a=="object"&&a!==null?a=_e(a):(a=pe(n)?zt:ue.current,a=tn(t,a));var h=n.getDerivedStateFromProps,p=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function";p||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==r||s!==a)&&Do(t,i,r,a),qe=!1;var m=t.memoizedState;i.state=m,br(t,r,i,l),s=t.memoizedState,o!==r||m!==s||de.current||qe?(typeof h=="function"&&(Tu(t,n,h,r),s=t.memoizedState),(o=qe||Fo(t,n,o,r,m,s,a))?(p||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.compon
* @remix-run/router v1.23.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 qn(){return qn=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},qn.apply(this,arguments)}var rt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(rt||(rt={}));const ts="popstate";function lp(e){e===void 0&&(e={});function t(r,l){let{pathname:u,search:i,hash:o}=r.location;return Ku("",{pathname:u,search:i,hash:o},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(r,l){return typeof l=="string"?l:kc(l)}return ip(t,n,null,e)}function Y(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ai(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function up(){return Math.random().toString(36).substr(2,8)}function ns(e,t){return{usr:e.state,key:e.key,idx:t}}function Ku(e,t,n,r){return n===void 0&&(n=null),qn({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?fn(t):t,{state:n,key:t&&t.key||r||up()})}function kc(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 ip(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:u=!1}=r,i=l.history,o=rt.Pop,s=null,a=h();a==null&&(a=0,i.replaceState(qn({},i.state,{idx:a}),""));function h(){return(i.state||{idx:null}).idx}function p(){o=rt.Pop;let C=h(),f=C==null?null:C-a;a=C,s&&s({action:o,location:S.location,delta:f})}function m(C,f){o=rt.Push;let c=Ku(S.location,C,f);a=h()+1;let d=ns(c,a),v=S.createHref(c);try{i.pushState(d,"",v)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(v)}u&&s&&s({action:o,location:S.location,delta:1})}function g(C,f){o=rt.Replace;let c=Ku(S.location,C,f);a=h();let d=ns(c,a),v=S.createHref(c);i.replaceState(d,"",v),u&&s&&s({action:o,location:S.location,delta:0})}function w(C){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof C=="string"?C:kc(C);return c=c.replace(/ $/,"%20"),Y(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let S={get action(){return o},get location(){return e(l,i)},listen(C){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(ts,p),s=C,()=>{l.removeEventListener(ts,p),s=null}},createHref(C){return t(l,C)},createURL:w,encodeLocation(C){let f=w(C);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:g,go(C){return i.go(C)}};return S}var rs;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(rs||(rs={}));function op(e,t,n){return n===void 0&&(n="/"),sp(e,t,n)}function sp(e,t,n,r){let l=typeof t=="string"?fn(t):t,u=xc(l.pathname||"/",n);if(u==null)return null;let i=Ec(e);ap(i);let o=null;for(let s=0;o==null&&s<i.length;++s){let a=kp(u);o=gp(i[s],a)}return o}function Ec(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let l=(u,i,o)=>{let s={relativePath:o===void 0?u.path||"":o,caseSensitive:u.caseSensitive===!0,childrenIndex:i,route:u};s.relativePath.startsWith("/")&&(Y(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=Nt([r,s.relativePath]),h=n.concat(s);u.children&&u.children.length>0&&(Y(u.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),Ec(u.children,t,h,a)),!(u.path==null&&!u.index)&&t.push({path:a,score:vp(a,u.index),routesMeta:h})};return e.forEach((u,i)=>{var o;if(u.path===""||!((o=u.path)!=null&&o.includes("?")))l(u,i);else for(let s of Cc(u.path))l(u,i,s)}),t}function Cc(e){let t=e.split("/");if(t.length===0)
* React Router v6.30.2
*
* 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 bn(){return bn=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},bn.apply(this,arguments)}const Wi=_.createContext(null),Rp=_.createContext(null),ur=_.createContext(null),Cl=_.createContext(null),yt=_.createContext({outlet:null,matches:[],isDataRoute:!1}),zc=_.createContext(null);function ir(){return _.useContext(Cl)!=null}function Hi(){return ir()||Y(!1),_.useContext(Cl).location}function Lc(e){_.useContext(ur).static||_.useLayoutEffect(e)}function Op(){let{isDataRoute:e}=_.useContext(yt);return e?Qp():Mp()}function Mp(){ir()||Y(!1);let e=_.useContext(Wi),{basename:t,future:n,navigator:r}=_.useContext(ur),{matches:l}=_.useContext(yt),{pathname:u}=Hi(),i=JSON.stringify(_c(l,n.v7_relativeSplatPath)),o=_.useRef(!1);return Lc(()=>{o.current=!0}),_.useCallback(function(a,h){if(h===void 0&&(h={}),!o.current)return;if(typeof a=="number"){r.go(a);return}let p=Pc(a,JSON.parse(i),u,h.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Nt([t,p.pathname])),(h.replace?r.replace:r.push)(p,h.state,h)},[t,r,i,u,e])}function eh(){let{matches:e}=_.useContext(yt),t=e[e.length-1];return t?t.params:{}}function Ip(e,t){return Fp(e,t)}function Fp(e,t,n,r){ir()||Y(!1);let{navigator:l}=_.useContext(ur),{matches:u}=_.useContext(yt),i=u[u.length-1],o=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let a=Hi(),h;if(t){var p;let C=typeof t=="string"?fn(t):t;s==="/"||(p=C.pathname)!=null&&p.startsWith(s)||Y(!1),h=C}else h=a;let m=h.pathname||"/",g=m;if(s!=="/"){let C=s.replace(/^\//,"").split("/");g="/"+m.replace(/^\//,"").split("/").slice(C.length).join("/")}let w=op(e,{pathname:g}),S=Vp(w&&w.map(C=>Object.assign({},C,{params:Object.assign({},o,C.params),pathname:Nt([s,l.encodeLocation?l.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?s:Nt([s,l.encodeLocation?l.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),u,n,r);return t&&S?_.createElement(Cl.Provider,{value:{location:bn({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:rt.Pop}},S):S}function Dp(){let e=Hp(),t=Lp(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 jp=_.createElement(Dp,null);class Up 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(yt.Provider,{value:this.props.routeContext},_.createElement(zc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Bp(e){let{routeContext:t,match:n,children:r}=e,l=_.useContext(Wi);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(yt.Provider,{value:t},r)}function Vp(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var u;if(!n)return null;if(n.errors)e=n.matches;else if((u=r)!=null&&u.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,o=(l=n)==null?void 0:l.errors;if(o!=null){let h=i.findIndex(p=>p.route.id&&(o==null?void 0:o[p.route.id])!==void 0);h>=0||Y(!1),i=i.slice(0,Math.min(i.length,h+1
* React Router DOM v6.30.2
*
* 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
*/const Zp="6";try{window.__reactRouterVersion=Zp}catch{}const Jp="startTransition",os=Jc[Jp];function rh(e){let{basename:t,children:n,future:r,window:l}=e,u=_.useRef();u.current==null&&(u.current=lp({window:l,v5Compat:!0}));let i=u.current,[o,s]=_.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},h=_.useCallback(p=>{a&&os?os(()=>s(p)):s(p)},[s,a]);return _.useLayoutEffect(()=>i.listen(h),[i,h]),_.useEffect(()=>Yp(r),[r]),_.createElement(Gp,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:i,future:r})}var ss;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ss||(ss={}));var as;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(as||(as={}));export{rh as B,th as N,Jc as R,Zc as a,bp as b,rp as c,eh as d,Hi as e,nh as f,qp as g,Xp as h,_ as r,Op as u};