mirror of
https://github.com/artegoser/ultyt.git
synced 2024-11-23 04:16:23 +03:00
134 lines
415 KiB
JavaScript
134 lines
415 KiB
JavaScript
|
function I1(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Bl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ym(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bm={exports:{}},sa={},xm={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 ci=Symbol.for("react.element"),F1=Symbol.for("react.portal"),V1=Symbol.for("react.fragment"),B1=Symbol.for("react.strict_mode"),z1=Symbol.for("react.profiler"),U1=Symbol.for("react.provider"),W1=Symbol.for("react.context"),H1=Symbol.for("react.forward_ref"),K1=Symbol.for("react.suspense"),G1=Symbol.for("react.memo"),Q1=Symbol.for("react.lazy"),df=Symbol.iterator;function X1(e){return e===null||typeof e!="object"?null:(e=df&&e[df]||e["@@iterator"],typeof e=="function"?e:null)}var wm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sm=Object.assign,Pm={};function Yr(e,t,n){this.props=e,this.context=t,this.refs=Pm,this.updater=n||wm}Yr.prototype.isReactComponent={};Yr.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")};Yr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Cm(){}Cm.prototype=Yr.prototype;function Pc(e,t,n){this.props=e,this.context=t,this.refs=Pm,this.updater=n||wm}var Cc=Pc.prototype=new Cm;Cc.constructor=Pc;Sm(Cc,Yr.prototype);Cc.isPureReactComponent=!0;var ff=Array.isArray,Em=Object.prototype.hasOwnProperty,Ec={current:null},Tm={key:!0,ref:!0,__self:!0,__source:!0};function km(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Em.call(t,r)&&!Tm.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:ci,type:e,key:i,ref:s,props:o,_owner:Ec.current}}function Y1(e,t){return{$$typeof:ci,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Tc(e){return typeof e=="object"&&e!==null&&e.$$typeof===ci}function q1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var pf=/\/+/g;function za(e,t){return typeof e=="object"&&e!==null&&e.key!=null?q1(""+e.key):t.toString(36)}function Yi(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ci:case F1:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+za(s,0):r,ff(o)?(n="",e!=null&&(n=e.replace(pf,"$&/")+"/"),Yi(o,t,n,"",function(u){return u})):o!=null&&(Tc(o)&&(o=Y1(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(pf,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",ff(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+za(i,a);s+=Yi(i,t,n,l,o)}else if(l=X1(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+za(i,a++),s+=Yi(i,t,n,l,o);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 s}function Pi(e,t,n){if(e==null)return e;var r=[],o=0;return Yi(e,r,"","",function(i){return t.call(n,i,o++)}),r}function J1(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 Ke={current:null},qi={transition:null},Z1={ReactCurrentDispatcher:Ke,ReactCurrentBatchConfig:qi,ReactCurrentOwner:Ec};q.Children={map:Pi,forEach:function(e,t,n){Pi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Pi(e,function(){t++}),t},toArray:function(e){return Pi(e,function(t){return t})||[]},only:function(e){if(!Tc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};q.Component=Yr;q.Fragment=V1;q.Profiler=z1;q.Pure
|
||
|
* @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 tb=y,nb=Symbol.for("react.element"),rb=Symbol.for("react.fragment"),ob=Object.prototype.hasOwnProperty,ib=tb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,sb={key:!0,ref:!0,__self:!0,__source:!0};function Rm(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)ob.call(t,r)&&!sb.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:nb,type:e,key:i,ref:s,props:o,_owner:ib.current}}sa.Fragment=rb;sa.jsx=Rm;sa.jsxs=Rm;bm.exports=sa;var N=bm.exports,zl={},$m={exports:{}},lt={},Nm={exports:{}},Mm={};/**
|
||
|
* @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(_,A){var I=_.length;_.push(A);e:for(;0<I;){var w=I-1>>>1,E=_[w];if(0<o(E,A))_[w]=A,_[I]=E,I=w;else break e}}function n(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var A=_[0],I=_.pop();if(I!==A){_[0]=I;e:for(var w=0,E=_.length,j=E>>>1;w<j;){var V=2*(w+1)-1,H=_[V],W=V+1,G=_[W];if(0>o(H,I))W<E&&0>o(G,H)?(_[w]=G,_[W]=I,w=W):(_[w]=H,_[V]=I,w=V);else if(W<E&&0>o(G,I))_[w]=G,_[W]=I,w=W;else break e}}return A}function o(_,A){var I=_.sortIndex-A.sortIndex;return I!==0?I:_.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,p=!1,m=!1,v=!1,P=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(_){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=_)r(u),A.sortIndex=A.expirationTime,t(l,A);else break;A=n(u)}}function S(_){if(v=!1,g(_),!m)if(n(l)!==null)m=!0,J(C);else{var A=n(u);A!==null&&ie(S,A.startTime-_)}}function C(_,A){m=!1,v&&(v=!1,b(x),x=-1),p=!0;var I=f;try{for(g(A),d=n(l);d!==null&&(!(d.expirationTime>A)||_&&!M());){var w=d.callback;if(typeof w=="function"){d.callback=null,f=d.priorityLevel;var E=w(d.expirationTime<=A);A=e.unstable_now(),typeof E=="function"?d.callback=E:d===n(l)&&r(l),g(A)}else r(l);d=n(l)}if(d!==null)var j=!0;else{var V=n(u);V!==null&&ie(S,V.startTime-A),j=!1}return j}finally{d=null,f=I,p=!1}}var T=!1,k=null,x=-1,$=5,F=-1;function M(){return!(e.unstable_now()-F<$)}function z(){if(k!==null){var _=e.unstable_now();F=_;var A=!0;try{A=k(!0,_)}finally{A?L():(T=!1,k=null)}}else T=!1}var L;if(typeof h=="function")L=function(){h(z)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,U=O.port2;O.port1.onmessage=z,L=function(){U.postMessage(null)}}else L=function(){P(z,0)};function J(_){k=_,T||(T=!0,L())}function ie(_,A){x=P(function(){_(e.unstable_now())},A)}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(_){_.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,J(C))},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(_){switch(f){case 1:case 2:case 3:var A=3;break;default:A=f}var I=f;f=A;try{return _()}finally{f=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,A){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var I=f;f=_;try{return A()}finally{f=I}},e.unstable_scheduleCallback=function(_,A,I){var w=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?w+I:w):I=w,_){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5e3}return E=I+E,_={id:c++,callback:A,priorityLevel:_,startTime:I,expirationTime:E,sortIndex:-1},I>w?(_.sortIndex=I,t(u,_),n(l)===null&&_===n(u)&&(v?(b(x),x=-1):v=!0,ie(S,I-w))):(_.sortIndex=E,t(l,_),m||p||(m=!0,J(C))),_},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(_){var A=f;return function(){var I=f;f=A;try{return _.apply(this,arguments)}finally{f=I}}}})(Mm);Nm.exports=Mm;var ab=Nm.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 Lm=y,st=ab;function D(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 Am=new Set,Bo={};function er(e,t){Fr(e,t),Fr(e+"Capture",t)}function Fr(e,t){for(Bo[e]=t,e=0;e<t.length;e++)Am.add(t[e])}var Qt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ul=Object.prototype.hasOwnProperty,lb=/^[: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]*$/,hf={},mf={};function ub(e){return Ul.call(mf,e)?!0:Ul.call(hf,e)?!1:lb.test(e)?mf[e]=!0:(hf[e]=!0,!1)}function cb(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 db(e,t,n,r){if(t===null||typeof t>"u"||cb(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 Ge(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[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];De[t]=new Ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new Ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[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){De[e]=new Ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new Ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new Ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new Ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new Ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var kc=/[\-:]([a-z])/g;function Rc(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-
|
||
|
`+Ua+e}var Wa=!1;function Ha(e,t){if(!e||Wa)return"";Wa=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
|
||
|
`),i=r.stack.split(`
|
||
|
`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
|
||
|
`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Wa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xo(e):""}function fb(e){switch(e.tag){case 5:return xo(e.type);case 16:return xo("Lazy");case 13:return xo("Suspense");case 19:return xo("SuspenseList");case 0:case 2:case 15:return e=Ha(e.type,!1),e;case 11:return e=Ha(e.type.render,!1),e;case 1:return e=Ha(e.type,!0),e;default:return""}}function Gl(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 gr:return"Fragment";case mr:return"Portal";case Wl:return"Profiler";case Nc:return"StrictMode";case Hl:return"Suspense";case Kl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _m:return(e.displayName||"Context")+".Consumer";case Om:return(e._context.displayName||"Context")+".Provider";case Mc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lc:return t=e.displayName||null,t!==null?t:Gl(e.type)||"Memo";case on:t=e._payload,e=e._init;try{return Gl(e(t))}catch{}}return null}function pb(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 Gl(t);case 8:return t===Nc?"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 En(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hb(e){var t=jm(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ei(e){e._valueTracker||(e._valueTracker=hb(e))}function Im(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=jm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function vs(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 Ql(e,t){var n=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function vf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=En(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 Fm(e,t){t=t.checked,t!=null&&$c(e,"checked",t,!1)}function Xl(e,t){Fm(e,t);var n=En(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")?Yl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yl(e,t.type,En(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yf(e,t,n){if(t.hasOwnProperty("val
|
||
|
`).replace(Cx,"")}function Ai(e,t,n){if(t=Bf(t),Bf(e)!==t&&n)throw Error(D(425))}function Es(){}var cu=null,du=null;function fu(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 pu=typeof setTimeout=="function"?setTimeout:void 0,Ex=typeof clearTimeout=="function"?clearTimeout:void 0,zf=typeof Promise=="function"?Promise:void 0,Tx=typeof queueMicrotask=="function"?queueMicrotask:typeof zf<"u"?function(e){return zf.resolve(null).then(e).catch(kx)}:pu;function kx(e){setTimeout(function(){throw e})}function ol(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Ko(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Ko(t)}function vn(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 Uf(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 Jr=Math.random().toString(36).slice(2),Nt="__reactFiber$"+Jr,qo="__reactProps$"+Jr,Xt="__reactContainer$"+Jr,hu="__reactEvents$"+Jr,Rx="__reactListeners$"+Jr,$x="__reactHandles$"+Jr;function Vn(e){var t=e[Nt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Xt]||n[Nt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Uf(e);e!==null;){if(n=e[Nt])return n;e=Uf(e)}return t}e=n,n=e.parentNode}return null}function pi(e){return e=e[Nt]||e[Xt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function xr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function da(e){return e[qo]||null}var mu=[],wr=-1;function Nn(e){return{current:e}}function ce(e){0>wr||(e.current=mu[wr],mu[wr]=null,wr--)}function se(e,t){wr++,mu[wr]=e.current,e.current=t}var Tn={},ze=Nn(Tn),Ye=Nn(!1),Qn=Tn;function Vr(e,t){var n=e.type.contextTypes;if(!n)return Tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function qe(e){return e=e.childContextTypes,e!=null}function Ts(){ce(Ye),ce(ze)}function Wf(e,t,n){if(ze.current!==Tn)throw Error(D(168));se(ze,t),se(Ye,n)}function kg(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(D(108,pb(e)||"Unknown",o));return be({},n,r)}function ks(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tn,Qn=ze.current,se(ze,e),se(Ye,Ye.current),!0}function Hf(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=kg(e,t,Qn),r.__reactInternalMemoizedMergedChildContext=e,ce(Ye),ce(ze),se(ze,e)):ce(Ye),se(Ye,n)}var Ft=null,fa=!1,il=!1;function Rg(e){Ft===null?Ft=[e]:Ft.push(e)}function Nx(e){fa=!0,Rg(e)}function Mn(){if(!il&&Ft!==null){il=!0;var e=0,t=oe;try{var n=Ft;for(oe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ft=null,fa=!1}catch(o){throw Ft!==null&&(Ft=Ft.slice(e+1)),Zm(Oc,Mn),o}finally{oe=t,il=!1}}return null}var Sr=[],Pr=0,Rs=null,$s=0,ft=[],pt=0,Xn=null,Vt=1,Bt="";function Dn(e,t){Sr[Pr++]=$s,Sr[Pr++]=Rs,Rs=e,$s=t}function $g(e,t,n){ft[pt++]=Vt,ft[pt++]=Bt,ft[pt++]=Xn,Xn=e;var r=Vt;e=Bt;var o=32-Ct(r)-1;r&=~(1<<o),n+=1;var i=32-Ct(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Vt=1<<32-Ct(t)+o|n<<o|r,Bt=i+e}else Vt=1<<i|n<<o|r,Bt=e}function Uc(e){e.return!==null&&(Dn(e,1),$g(e,1,0))}function Wc(e){for(;e===Rs;)Rs=Sr[--Pr],Sr[Pr]=null,$s=Sr[--Pr],Sr[Pr]=null;for(;e===Xn;)Xn=ft[--pt],ft[pt]=null,Bt=ft[--pt],ft[pt]=null,Vt=ft[--pt],ft[pt]=null}var it=null,ot=null,fe=!1,Pt=null;function Ng(e,t){var n=ht(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletio
|
||
|
Error generating stack: `+i.message+`
|
||
|
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function cl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function wu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Fx=typeof WeakMap=="function"?WeakMap:Map;function ov(e,t,n){n=Wt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){js||(js=!0,Mu=r),wu(e,t)},n}function iv(e,t,n){n=Wt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){wu(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){wu(e,t),typeof r!="function"&&(bn===null?bn=new Set([this]):bn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function tp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Fx;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Zx.bind(null,e,t,n),t.then(e,e))}function np(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 rp(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,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=Wt(-1,1),t.tag=2,yn(n,t,1))),n.lanes|=1),e)}var Vx=Zt.ReactCurrentOwner,Xe=!1;function We(e,t,n,r){t.child=e===null?jg(t,null,n,r):zr(t,e.child,n,r)}function op(e,t,n,r,o){n=n.render;var i=t.ref;return jr(t,o),r=td(e,t,n,r,i,o),n=nd(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qt(e,t,o)):(fe&&n&&Uc(t),t.flags|=1,We(e,t,r,o),t.child)}function ip(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!fd(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,sv(e,t,i,r,o)):(e=as(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Qo,n(s,r)&&e.ref===t.ref)return qt(e,t,o)}return t.flags|=1,e=wn(i,r),e.ref=t.ref,e.return=t,t.child=e}function sv(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Qo(i,r)&&e.ref===t.ref)if(Xe=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Xe=!0);else return t.lanes=e.lanes,qt(e,t,o)}return Su(e,t,n,r,o)}function av(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},se(Tr,rt),rt|=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,se(Tr,rt),rt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,se(Tr,rt),rt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,se(Tr,rt),rt|=r;return We(e,t,o,n),t.child}function lv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Su(e,t,n,r,o){var i=qe(n)?Qn:ze.current;return i=Vr(t,i),jr(t,o),n=td(e,t,n,r,i,o),r=nd(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qt(e,t,o)):(fe&&r&&Uc(t),t.flags|=1,We(e,t,n,o),t.child)}function sp(e,t,n,r,o){if(qe(n)){var i=!0;ks(t)}else i=!1;if(jr(t,o),t.stateNode===null)os(e,t),_g(t,n,r),xu(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=vt(u):(u=qe(n)?Qn:ze.current,u=Vr(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&qf(t,s,r,u),sn=!1;var f=t.memoizedState;s.state=f,Ls(t,r,s,o),l=t.memoizedState,a!==r||f!==l||Ye.current||sn?(typeof c=="function"&&(bu(t,n,c,r),l=t.memoizedState),(a=sn||Yf(t,n,a,r,f,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.
|
||
|
* @license React
|
||
|
* react.development.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.
|
||
|
*//**
|
||
|
* @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 kP=new Set(["id","type","className","style","title","role","tabIndex","htmlFor","width","height"]),RP=/^(data-.*)$/,$P=/^(aria-.*)$/,NP=/^(on[A-Z].*)$/;function Ju(e,t={labelable:!0,enabled:!0}){let{labelable:n,propNames:r}=t,o={};if(!t.enabled)return e;for(const i in e)(Object.prototype.hasOwnProperty.call(e,i)&&(kP.has(i)||n&&$P.test(i)||r!=null&&r.has(i)||RP.test(i))||NP.test(i))&&(o[i]=e[i]);return o}var MP=e=>N.jsxs("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[N.jsx("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),N.jsx("path",{d:"M15 3h6v6"}),N.jsx("path",{d:"M10 14L21 3"})]}),LP=e=>N.jsx("svg",{"aria-hidden":"true",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:N.jsx("path",{d:"M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",fill:"currentColor"})});const uy=y.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ea=y.createContext({}),Ta=y.createContext(null),ka=typeof document<"u",Qs=ka?y.useLayoutEffect:y.useEffect,cy=y.createContext({strict:!1});function AP(e,t,n,r){const{visualElement:o}=y.useContext(Ea),i=y.useContext(cy),s=y.useContext(Ta),a=y.useContext(uy).reducedMotion,l=y.useRef();r=r||i.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;return y.useInsertionEffect(()=>{u&&u.update(n,s)}),Qs(()=>{u&&u.render()}),y.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?Qs:y.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}function $r(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function OP(e,t,n){return y.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):$r(n)&&(n.current=r))},[t])}function oi(e){return typeof e=="string"||Array.isArray(e)}function Ra(e){return typeof e=="object"&&typeof e.start=="function"}const Nd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Md=["initial",...Nd];function $a(e){return Ra(e.animate)||Md.some(t=>oi(e[t]))}function dy(e){return!!($a(e)||e.variants)}function _P(e,t){if($a(e)){const{initial:n,animate:r}=e;return{initial:n===!1||oi(n)?n:void 0,animate:oi(r)?r:void 0}}return e.inherit!==!1?t:{}}function DP(e){const{initial:t,animate:n}=_P(e,y.useContext(Ea));return y.useMemo(()=>({initial:t,animate:n}),[Up(t),Up(n)])}function Up(e){return Array.isArray(e)?e.join(" "):e}const Wp={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ii={};for(const e in Wp)ii[e]={isEnabled:t=>Wp[e].some(n=>!!t[n])};function jP(e){for(const t in e)ii[t]={...ii[t],...e[t]}}const Ld=y.createContext({}),fy=y.createContext({}),IP=Symbol.for("motionComponentSymbol");function FP({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&jP(e);function i(a,l){let u;const c={...y.useContext(uy),...a,layoutId:VP(a)},{isStatic:d}=c,f=DP(a),p=r(a,d);if(!d&&ka){f.visualElement=AP(o,p,c,t);const m=y.useContext(fy),v=y.useContext(cy).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,v,e,m))}return y.createElement(Ea.Provider,{value:f},u&&f.visualElement?y.createElement(u,{visualElement:f.visualElement,...c}):null,n(o,a,OP(p,f.visualElement,l),p,d,f.visualElement))}co
|
||
|
[data-motion-pop-id="${n}"] {
|
||
|
position: absolute !important;
|
||
|
width: ${i}px !important;
|
||
|
height: ${s}px !important;
|
||
|
top: ${a}px !important;
|
||
|
left: ${l}px !important;
|
||
|
}
|
||
|
`),()=>{document.head.removeChild(u)}},[t]),y.createElement(zk,{isPresent:t,childRef:r,sizeRef:o},y.cloneElement(e,{ref:r}))}const Al=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:s})=>{const a=Ey(Wk),l=y.useId(),u=y.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:c=>{a.set(c,!0);for(const d of a.values())if(!d)return;r&&r()},register:c=>(a.set(c,!1),()=>a.delete(c))}),i?void 0:[n]);return y.useMemo(()=>{a.forEach((c,d)=>a.set(d,!1))},[n]),y.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=y.createElement(Uk,{isPresent:n},e)),y.createElement(Ta.Provider,{value:u},e)};function Wk(){return new Map}function Hk(e){return y.useEffect(()=>()=>e(),[])}const hr=e=>e.key||"";function Kk(e,t){e.forEach(n=>{const r=hr(n);t.set(r,n)})}function Gk(e){const t=[];return y.Children.forEach(e,n=>{y.isValidElement(n)&&t.push(n)}),t}const $0=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:s="sync"})=>{const a=y.useContext(Ld).forceRender||Bk()[0],l=R0(),u=Gk(e);let c=u;const d=y.useRef(new Map).current,f=y.useRef(c),p=y.useRef(new Map).current,m=y.useRef(!0);if(Qs(()=>{m.current=!1,Kk(u,p),f.current=c}),Hk(()=>{m.current=!0,p.clear(),d.clear()}),m.current)return y.createElement(y.Fragment,null,c.map(h=>y.createElement(Al,{key:hr(h),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:i,mode:s},h)));c=[...c];const v=f.current.map(hr),P=u.map(hr),b=v.length;for(let h=0;h<b;h++){const g=v[h];P.indexOf(g)===-1&&!d.has(g)&&d.set(g,void 0)}return s==="wait"&&d.size&&(c=[]),d.forEach((h,g)=>{if(P.indexOf(g)!==-1)return;const S=p.get(g);if(!S)return;const C=v.indexOf(g);let T=h;if(!T){const k=()=>{p.delete(g),d.delete(g);const x=f.current.findIndex($=>$.key===g);if(f.current.splice(x,1),!d.size){if(f.current=u,l.current===!1)return;a(),r&&r()}};T=y.createElement(Al,{key:hr(S),isPresent:!1,onExitComplete:k,custom:t,presenceAffectsLayout:i,mode:s},S),d.set(g,T)}c.splice(C,0,T)}),c=c.map(h=>{const g=h.key;return d.has(g)?h:y.createElement(Al,{key:hr(h),isPresent:!0,presenceAffectsLayout:i,mode:s},h)}),y.createElement(y.Fragment,null,d.size?c:c.map(h=>y.cloneElement(h)))};var Kh={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],spring:[.155,1.105,.295,1.12],springOut:[.57,-.15,.62,.07],softSpring:[.16,1.11,.3,1.02]},Qk=()=>N.jsxs("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[N.jsx("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),N.jsx("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]}),[BN,Xk]=$d({name:"AvatarGroupContext",strict:!1}),Yk=globalThis!=null&&globalThis.document?y.useLayoutEffect:y.useEffect;function qk(e={}){const{loading:t,src:n,srcSet:r,onLoad:o,onError:i,crossOrigin:s,sizes:a,ignoreFallback:l}=e,[u,c]=y.useState("pending");y.useEffect(()=>{c(n?"loading":"pending")},[n]);const d=y.useRef(),f=y.useCallback(()=>{if(!n)return;p();const m=new Image;m.src=n,s&&(m.crossOrigin=s),r&&(m.srcset=r),a&&(m.sizes=a),t&&(m.loading=t),m.onload=v=>{p(),c("loaded"),o==null||o(v)},m.onerror=v=>{p(),c("failed"),i==null||i(v)},d.current=m},[n,s,r,a,o,i,t]),p=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return Yk(()=>{if(!l)return u==="loading"&&f(),()=>{p()}},[u,f,l]),l?"loaded":u}function Jk(e={}){var t,n,r,o,i;const s=Xk(),a=!!s,{as:l,ref:u,src:c,name:d,icon:f,classNames:p,fallback:m,alt:v=d||"avatar",imgRef:P,color:b=(t=s==null?void 0:s.color)
|
||
|
.`.concat(g2,` {
|
||
|
overflow: hidden `).concat(r,`;
|
||
|
padding-right: `).concat(a,"px ").concat(r,`;
|
||
|
}
|
||
|
body {
|
||
|
overflow: hidden `).concat(r,`;
|
||
|
overscroll-behavior: contain;
|
||
|
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
||
|
padding-left: `.concat(o,`px;
|
||
|
padding-top: `).concat(i,`px;
|
||
|
padding-right: `).concat(s,`px;
|
||
|
margin-left:0;
|
||
|
margin-top:0;
|
||
|
margin-right: `).concat(a,"px ").concat(r,`;
|
||
|
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
|
||
|
}
|
||
|
|
||
|
.`).concat(ds,` {
|
||
|
right: `).concat(a,"px ").concat(r,`;
|
||
|
}
|
||
|
|
||
|
.`).concat(fs,` {
|
||
|
margin-right: `).concat(a,"px ").concat(r,`;
|
||
|
}
|
||
|
|
||
|
.`).concat(ds," .").concat(ds,` {
|
||
|
right: 0 `).concat(r,`;
|
||
|
}
|
||
|
|
||
|
.`).concat(fs," .").concat(fs,` {
|
||
|
margin-right: 0 `).concat(r,`;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
`).concat(v2,": ").concat(a,`px;
|
||
|
}
|
||
|
`)},D2=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=y.useMemo(function(){return A2(o)},[o]);return y.createElement(O2,{styles:_2(i,!t,o,n?"":"!important")})},fc=!1;if(typeof window<"u")try{var Qi=Object.defineProperty({},"passive",{get:function(){return fc=!0,!0}});window.addEventListener("test",Qi,Qi),window.removeEventListener("test",Qi,Qi)}catch{fc=!1}var cr=fc?{passive:!1}:!1,j2=function(e){return e.tagName==="TEXTAREA"},z0=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!j2(e)&&n[t]==="visible")},I2=function(e){return z0(e,"overflowY")},F2=function(e){return z0(e,"overflowX")},Xh=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=U0(e,r);if(o){var i=W0(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},V2=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},B2=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},U0=function(e,t){return e==="v"?I2(t):F2(t)},W0=function(e,t){return e==="v"?V2(t):B2(t)},z2=function(e,t){return e==="h"&&t==="rtl"?-1:1},U2=function(e,t,n,r,o){var i=z2(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,l=t.contains(a),u=!1,c=s>0,d=0,f=0;do{var p=W0(e,a),m=p[0],v=p[1],P=p[2],b=v-P-i*m;(m||b)&&U0(e,a)&&(d+=b,f+=m),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&(o&&d===0||!o&&s>d)||!c&&(o&&f===0||!o&&-s>f))&&(u=!0),u},Xi=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Yh=function(e){return[e.deltaX,e.deltaY]},qh=function(e){return e&&"current"in e?e.current:e},W2=function(e,t){return e[0]===t[0]&&e[1]===t[1]},H2=function(e){return`
|
||
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
||
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
||
|
`)},K2=0,dr=[];function G2(e){var t=y.useRef([]),n=y.useRef([0,0]),r=y.useRef(),o=y.useState(K2++)[0],i=y.useState(B0)[0],s=y.useRef(e);y.useEffect(function(){s.current=e},[e]),y.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=zw([e.lockRef.current],(e.shards||[]).map(qh),!0).filter(Boolean);return v.forEach(function(P){return P.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(P){return P.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=y.useCallback(function(v,P){if("touches"in v&&v.touches.length===2)return!s.current.allowPinchZoom;var b=Xi(v),h=n.current,g="deltaX"in v?v.deltaX:h[0]-b[0],S="deltaY"in v?v.deltaY:h[1]-b[1],C,T=v.target,k=Math.abs(g)>Math.abs(S)?"h":"v";if("touches"in v&&k==="h"&&T.type==="range")return!1;var x=Xh(k,T);if(!x)return!0;if(x?C=k:(C=k==="v"?"h":"v",x=Xh(k,T)),!x)return!1;if(!r.current&&"changedTouches"in v&&(g||S)&&(r.current=C),!C)return!0;var $=r.current||C;return U2($,P,v,$==="h"?g:S,!0)},[]),l=y.useCallback(function(v){var P=v;if(!(!dr.length||dr[dr.length-1]!==i)){var b="deltaY"in P?Yh(P):Xi(P),h=t.current.filter(function(C){return C.name===P.type&&C.target===P.target&&W2(C.delta,b)})[0];if(h&&h.should){P.cancelable&&P.preventDefault();return}if(!h){var g=(s.current.shards||[]).map(qh).filter(Boolean).filter(function(C){return C.contains(P.target)}),S=g.length>0?a(P,g[0]):!s.current.noIsolation;S&&P.cancelable&&P.preventDefault()}}},[]),u=y.useCallback(function(v,P,b,h){var g={name:v,delta:P,target:b,should:h};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(S){return S!==g})},1)},[]),c=y.useCallback(function(v){n.current=Xi(v),r.current=void 0},[]),d=y.useCallback(function(v){u(v.type,Yh(v),v.target,a(v,e.lockRef.current))},[]),f=y.useCallback(function(v){u(v.type,Xi(v),v.target,a(v,e.lockRef.current))},[]);y.useEffect(function(){return dr.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,cr),document.addEventListener("touchmove",l,cr),document.addEventListener("touchstart",c,cr),function(){dr=dr.filter(function(v){return v!==i}),document.removeEventListener("wheel",l,cr),document.removeEventListener("touchmove",l,cr),document.removeEventListener("touchstart",c,cr)}},[]);var p=e.removeScrollBar,m=e.inert;return y.createElement(y.Fragment,null,m?y.createElement(i,{styles:H2(o)}):null,p?y.createElement(D2,{gapMode:e.gapMode}):null)}const Q2=C2(V0,G2);var H0=y.forwardRef(function(e,t){return y.createElement(Aa,Mt({},e,{ref:t,sideCar:Q2}))});H0.classNames=Aa.classNames;const X2=H0;var[Y2,to]=$d({name:"NavbarContext",strict:!0,errorMessage:"useNavbarContext: `context` is undefined. Seems you forgot to wrap component within <Navbar />"}),q2={enter:{height:"calc(100vh - var(--navbar-height) - 1px)",transition:{duration:.3,easings:"easeOut"}},exit:{height:0,transition:{duration:.25,easings:"easeIn"}}},K0=ct((e,t)=>{var n,r;const{className:o,children:i,portalContainer:s,motionProps:a,style:l,...u}=e,c=et(t),{slots:d,isMenuOpen:f,height:p,disableAnimation:m,classNames:v}=to(),P=me(v==null?void 0:v.menu,o),b=y.useCallback(({children:g})=>N.jsx(X2,{forwardProps:!0,enabled:f,removeScrollBar:!1,children:g}),[f]),h=m?N.jsx(b,{children:N.jsx("ul",{ref:c,className:(n=d.menu)==null?void 0:n.call(d,{class:P}),"data-open":Y(f),style:{"--navbar-height":p},...u,children:i})}):N.jsx($0,{children:f?N.jsx(b,{children:N.jsx(Yd.ul,{ref:c,layoutScroll:!0,animate:"enter",className:(r=d.menu)==null?void 0:r.call(d,{class:P}),"data-open":Y(f),exit:"exit",initial:"exit",style:{"--navbar-height":p,...l},variants:q2,...Se(a,u),children:i})}):null});return N.jsx(PS,{portalContainer:s,children:h})});K0.displayName="NextUI.NavbarMenu";var G0=K0,J2={visible:{y:0,transition:{ease:Kh.easeOut}},hidden:{y:"-100%",transition:{ease:Kh.easeIn}}},Z2=typeof window<"u";function Jh(e){return Z2?e?{x:e.scrollLeft,y:e.scrollTop}:{x:window.scroll
|
||
|
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&n$[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};const om=Symbol("internals");function bo(e){return e&&String(e).trim().toLowerCase()}function hs(e){return e===!1||e==null?e:R.isArray(e)?e.map(hs):String(e)}function o$(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const i$=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function jl(e,t,n,r,o){if(R.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!R.isString(t)){if(R.isString(r))return t.indexOf(r)!==-1;if(R.isRegExp(r))return r.test(t)}}function s$(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function a$(e,t){const n=R.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class Fa{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,l,u){const c=bo(l);if(!c)throw new Error("header name must be a non-empty string");const d=R.findKey(o,c);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||l]=hs(a))}const s=(a,l)=>R.forEach(a,(u,c)=>i(u,c,l));return R.isPlainObject(t)||t instanceof this.constructor?s(t,n):R.isString(t)&&(t=t.trim())&&!i$(t)?s(r$(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=bo(t),t){const r=R.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return o$(o);if(R.isFunction(n))return n.call(this,o,r);if(R.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=bo(t),t){const r=R.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||jl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=bo(s),s){const a=R.findKey(r,s);a&&(!n||jl(r,r[a],a,n))&&(delete r[a],o=!0)}}return R.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||jl(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return R.forEach(this,(o,i)=>{const s=R.findKey(r,i);if(s){n[s]=hs(o),delete n[i];return}const a=t?s$(i):String(i).trim();a!==i&&delete n[i],n[a]=hs(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return R.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&R.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[om]=this[om]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=bo(s);r[a]||(a$(o,s),r[a]=!0)}return R.isArray(t)?t.forEach(i):i(t),this}}Fa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.freezeMethods(Fa.prototype);R.freezeMethods(Fa);var Gt=Fa;function Il(e,t){const n=this||ef,r=t||n,o=Gt.from(r.headers);let i=r.data;return R.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function g1(e){return!!(e&&e.__CANCEL__)}function wi(e,t,n){ee.call(this,e??"canceled",ee.ERR_CANCELED,t,n),this.name="CanceledError"}R.inherits(wi,ee,{__CANCEL__:!0});function l$(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ee("Request failed with status code "+n.status,[ee.ERR_BAD_REQUEST,ee.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var u$=Lt.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,s,a){const l=[];l.push(n+"="+encodeURIComponent(r)),R.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),R.isString(i)&&l.push("path="+i),R.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function c$(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function d$(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function v1(e,t){return e&&!c$(t)?d$(e,t):t}var f$=Lt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const a=R.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function p$(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function h$(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[i];s||(s=u),n[o]=l,r[o]=u;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s<t)return;const p=c&&u-c;return p?Math.round(f*1e3/p):void 0}}function im(e,t){let n=0;const r=h$(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-n,l=r(a),u=i<=s;n=i;const c={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&u?(s-i)/l:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const m$=typeof XMLHttpRequest<"u";var g$=m$&&function(e){return new Promise(function(n,r){let o=e.data;const i=Gt.from(e.headers).normalize(),s=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}R.isFormData(o)&&(Lt.isStandardBrowserEnv||Lt.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(p+":"+m))}const c=v1(e.baseURL,e.url);u.open(e.method.toUpperCase(),p1(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function d(){if(!u)return;const p=Gt.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),v={data:!s||s==="text"||s==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:p,config:e,request:u};l$(f
|
||
|
* @remix-run/router v1.7.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 li(){return li=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},li.apply(this,arguments)}var pn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(pn||(pn={}));const um="popstate";function k$(e){e===void 0&&(e={});function t(o,i){let{pathname:s="/",search:a="",hash:l=""}=ir(o.location.hash.substr(1));return yc("",{pathname:s,search:a,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(o,i){let s=o.document.querySelector("base"),a="";if(s&&s.getAttribute("href")){let l=o.location.href,u=l.indexOf("#");a=u===-1?l:l.slice(0,u)}return a+"#"+(typeof i=="string"?i:oa(i))}function r(o,i){Va(o.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(i)+")")}return $$(t,n,r,e)}function Ee(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Va(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function R$(){return Math.random().toString(36).substr(2,8)}function cm(e,t){return{usr:e.state,key:e.key,idx:t}}function yc(e,t,n,r){return n===void 0&&(n=null),li({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ir(t):t,{state:n,key:t&&t.key||r||R$()})}function oa(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 ir(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 $$(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=pn.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(li({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=pn.Pop;let P=c(),b=P==null?null:P-u;u=P,l&&l({action:a,location:v.location,delta:b})}function f(P,b){a=pn.Push;let h=yc(v.location,P,b);n&&n(h,P),u=c()+1;let g=cm(h,u),S=v.createHref(h);try{s.pushState(g,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(S)}i&&l&&l({action:a,location:v.location,delta:1})}function p(P,b){a=pn.Replace;let h=yc(v.location,P,b);n&&n(h,P),u=c();let g=cm(h,u),S=v.createHref(h);s.replaceState(g,"",S),i&&l&&l({action:a,location:v.location,delta:0})}function m(P){let b=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof P=="string"?P:oa(P);return Ee(b,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,b)}let v={get action(){return a},get location(){return e(o,s)},listen(P){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(um,d),l=P,()=>{o.removeEventListener(um,d),l=null}},createHref(P){return t(o,P)},createURL:m,encodeLocation(P){let b=m(P);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:f,replace:p,go(P){return s.go(P)}};return v}var dm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(dm||(dm={}));function N$(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?ir(t):t,o=rf(r.pathname||"/",n);if(o==null)return null;let i=w1(e);M$(i);let s=null;for(let a=0;s==null&&a<i.length;++a)s=V$(i[a],U$(o));return s}function w1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(Ee(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Cn([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(Ee(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),w1(i.children,t,c,u)),!(i.pat
|
||
|
* React Router v6.14.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 ia(){return ia=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},ia.apply(this,arguments)}const af=y.createContext(null),J$=y.createContext(null),ro=y.createContext(null),Ba=y.createContext(null),An=y.createContext({outlet:null,matches:[],isDataRoute:!1}),C1=y.createContext(null);function Z$(e,t){let{relative:n}=t===void 0?{}:t;oo()||Ee(!1);let{basename:r,navigator:o}=y.useContext(ro),{hash:i,pathname:s,search:a}=T1(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:Cn([r,s])),o.createHref({pathname:l,search:a,hash:i})}function oo(){return y.useContext(Ba)!=null}function Si(){return oo()||Ee(!1),y.useContext(Ba).location}function E1(e){y.useContext(ro).static||y.useLayoutEffect(e)}function lf(){let{isDataRoute:e}=y.useContext(An);return e?fN():eN()}function eN(){oo()||Ee(!1);let e=y.useContext(af),{basename:t,navigator:n}=y.useContext(ro),{matches:r}=y.useContext(An),{pathname:o}=Si(),i=JSON.stringify(of(r).map(l=>l.pathnameBase)),s=y.useRef(!1);return E1(()=>{s.current=!0}),y.useCallback(function(l,u){if(u===void 0&&(u={}),!s.current)return;if(typeof l=="number"){n.go(l);return}let c=sf(l,JSON.parse(i),o,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Cn([t,c.pathname])),(u.replace?n.replace:n.push)(c,u.state,u)},[t,n,i,o,e])}function T1(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=y.useContext(An),{pathname:o}=Si(),i=JSON.stringify(of(r).map(s=>s.pathnameBase));return y.useMemo(()=>sf(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function tN(e,t){return nN(e,t)}function nN(e,t,n){oo()||Ee(!1);let{navigator:r}=y.useContext(ro),{matches:o}=y.useContext(An),i=o[o.length-1],s=i?i.params:{};i&&i.pathname;let a=i?i.pathnameBase:"/";i&&i.route;let l=Si(),u;if(t){var c;let v=typeof t=="string"?ir(t):t;a==="/"||(c=v.pathname)!=null&&c.startsWith(a)||Ee(!1),u=v}else u=l;let d=u.pathname||"/",f=a==="/"?d:d.slice(a.length)||"/",p=N$(e,{pathname:f}),m=aN(p&&p.map(v=>Object.assign({},v,{params:Object.assign({},s,v.params),pathname:Cn([a,r.encodeLocation?r.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?a:Cn([a,r.encodeLocation?r.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),o,n);return t&&m?y.createElement(Ba.Provider,{value:{location:ia({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:pn.Pop}},m):m}function rN(){let e=dN(),t=Y$(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:o},n):null,i)}const oN=y.createElement(rN,null);class iN extends y.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||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?y.createElement(An.Provider,{value:this.props.routeContext},y.createElement(C1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function sN(e){let{routeContext:t,match:n,children:r}=e,o=y.useContext(af);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),y.createElement(An.Provider,{value:t},r)}function aN(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let i=e,s=(r=n)==null?void 0:r.errors;if(s!=null){
|
||
|
* React Router DOM v6.14.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 Sc(){return Sc=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},Sc.apply(this,arguments)}function gN(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function vN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function yN(e,t){return e.button===0&&(!t||t==="_self")&&!vN(e)}const bN=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],xN="startTransition",hm=eb[xN];function wN(e){let{basename:t,children:n,future:r,window:o}=e,i=y.useRef();i.current==null&&(i.current=k$({window:o,v5Compat:!0}));let s=i.current,[a,l]=y.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=y.useCallback(d=>{u&&hm?hm(()=>l(d)):l(d)},[l,u]);return y.useLayoutEffect(()=>s.listen(c),[s,c]),y.createElement(hN,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s})}const SN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",PN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ko=y.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:c}=t,d=gN(t,bN),{basename:f}=y.useContext(ro),p,m=!1;if(typeof u=="string"&&PN.test(u)&&(p=u,SN))try{let h=new URL(window.location.href),g=u.startsWith("//")?new URL(h.protocol+u):new URL(u),S=rf(g.pathname,f);g.origin===h.origin&&S!=null?u=S+g.search+g.hash:m=!0}catch{}let v=Z$(u,{relative:o}),P=CN(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:o});function b(h){r&&r(h),h.defaultPrevented||P(h)}return y.createElement("a",Sc({},d,{href:p||v,onClick:m||i?r:b,ref:n,target:l}))});var mm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(mm||(mm={}));var gm;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(gm||(gm={}));function CN(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s}=t===void 0?{}:t,a=lf(),l=Si(),u=T1(e,{relative:s});return y.useCallback(c=>{if(yN(c,n)){c.preventDefault();let d=r!==void 0?r:oa(l)===oa(u);a(e,{replace:d,state:o,preventScrollReset:i,relative:s})}},[l,a,u,r,o,n,e,i,s])}function EN({title:e,titleId:t,...n},r){return y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?y.createElement("title",{id:t},e):null,y.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z",clipRule:"evenodd"}))}const TN=y.forwardRef(EN),kN=TN;function RN({title:e,titleId:t,...n},r){return y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?y.createElement("title",{id:t},e):null,y.createElement("path",{d:"M12 15a3 3 0 100-6 3 3 0 000 6z"}),y.createElement("path",{fillRule:"evenodd",d:"M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z",clipRule:"evenodd"}))}const $N=y.forwardRef(RN),NN=$N;function MN({title:e,titleId:t,...n},r){return y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?y.createElement("title",{id:t},e):null,y.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 100 13.5 6.75 6.75 0 000-13.5zM2.25 10.5a8.25 8.25 0 1114.59 5.28l4.69 4.69a.75.75 0 11-1.06 1.06l-4.69-4.69A8.25 8.25 0 012.25 10.5z",clipRu
|