diff --git a/assets/index-CBij_4vU.js b/assets/index-BH2e98qW.js similarity index 82% rename from assets/index-CBij_4vU.js rename to assets/index-BH2e98qW.js index 0e8be66..825fc10 100644 --- a/assets/index-CBij_4vU.js +++ b/assets/index-BH2e98qW.js @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Ad;function Fh(){if(Ad)return Au;Ad=1;var c=Symbol.for("react.transitional.element"),v=Symbol.for("react.fragment");function b(s,A,N){var Y=null;if(N!==void 0&&(Y=""+N),A.key!==void 0&&(Y=""+A.key),"key"in A){N={};for(var X in A)X!=="key"&&(N[X]=A[X])}else N=A;return A=N.ref,{$$typeof:c,type:s,key:Y,ref:A!==void 0?A:null,props:N}}return Au.Fragment=v,Au.jsx=b,Au.jsxs=b,Au}var Od;function Ph(){return Od||(Od=1,Vf.exports=Fh()),Vf.exports}var _t=Ph(),Kf={exports:{}},yt={};/** + */var Ad;function Fh(){if(Ad)return Au;Ad=1;var c=Symbol.for("react.transitional.element"),v=Symbol.for("react.fragment");function b(s,A,N){var Y=null;if(N!==void 0&&(Y=""+N),A.key!==void 0&&(Y=""+A.key),"key"in A){N={};for(var X in A)X!=="key"&&(N[X]=A[X])}else N=A;return A=N.ref,{$$typeof:c,type:s,key:Y,ref:A!==void 0?A:null,props:N}}return Au.Fragment=v,Au.jsx=b,Au.jsxs=b,Au}var _d;function Ph(){return _d||(_d=1,Vf.exports=Fh()),Vf.exports}var Ot=Ph(),Kf={exports:{}},yt={};/** * @license React * react.production.js * @@ -14,7 +14,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var _d;function Ih(){if(_d)return yt;_d=1;var c=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),w=Symbol.iterator;function M(r){return r===null||typeof r!="object"?null:(r=w&&r[w]||r["@@iterator"],typeof r=="function"?r:null)}var ct={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ut=Object.assign,St={};function G(r,D,lt){this.props=r,this.context=D,this.refs=St,this.updater=lt||ct}G.prototype.isReactComponent={},G.prototype.setState=function(r,D){if(typeof r!="object"&&typeof r!="function"&&r!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,r,D,"setState")},G.prototype.forceUpdate=function(r){this.updater.enqueueForceUpdate(this,r,"forceUpdate")};function C(){}C.prototype=G.prototype;function J(r,D,lt){this.props=r,this.context=D,this.refs=St,this.updater=lt||ct}var at=J.prototype=new C;at.constructor=J,ut(at,G.prototype),at.isPureReactComponent=!0;var Bt=Array.isArray,V={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function Nt(r,D,lt,I,q,Et){return lt=Et.ref,{$$typeof:c,type:r,key:D,ref:lt!==void 0?lt:null,props:Et}}function qt(r,D){return Nt(r.type,D,void 0,void 0,void 0,r.props)}function L(r){return typeof r=="object"&&r!==null&&r.$$typeof===c}function st(r){var D={"=":"=0",":":"=2"};return"$"+r.replace(/[=:]/g,function(lt){return D[lt]})}var Yt=/\/+/g;function zt(r,D){return typeof r=="object"&&r!==null&&r.key!=null?st(""+r.key):D.toString(36)}function gt(){}function At(r){switch(r.status){case"fulfilled":return r.value;case"rejected":throw r.reason;default:switch(typeof r.status=="string"?r.then(gt,gt):(r.status="pending",r.then(function(D){r.status==="pending"&&(r.status="fulfilled",r.value=D)},function(D){r.status==="pending"&&(r.status="rejected",r.reason=D)})),r.status){case"fulfilled":return r.value;case"rejected":throw r.reason}}throw r}function rt(r,D,lt,I,q){var Et=typeof r;(Et==="undefined"||Et==="boolean")&&(r=null);var ft=!1;if(r===null)ft=!0;else switch(Et){case"bigint":case"string":case"number":ft=!0;break;case"object":switch(r.$$typeof){case c:case v:ft=!0;break;case B:return ft=r._init,rt(ft(r._payload),D,lt,I,q)}}if(ft)return q=q(r),ft=I===""?"."+zt(r,0):I,Bt(q)?(lt="",ft!=null&&(lt=ft.replace(Yt,"$&/")+"/"),rt(q,D,lt,"",function($t){return $t})):q!=null&&(L(q)&&(q=qt(q,lt+(q.key==null||r&&r.key===q.key?"":(""+q.key).replace(Yt,"$&/")+"/")+ft)),D.push(q)),1;ft=0;var oe=I===""?".":I+":";if(Bt(r))for(var Mt=0;Mt>>1,r=x[mt];if(0>>1;mtA(I,Q))qA(Et,I)?(x[mt]=Et,x[q]=Q,mt=q):(x[mt]=I,x[lt]=Q,mt=lt);else if(qA(Et,Q))x[mt]=Et,x[q]=Q,mt=q;else break t}}return P}function A(x,P){var Q=x.sortIndex-P.sortIndex;return Q!==0?Q:x.id-P.id}if(c.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var N=performance;c.unstable_now=function(){return N.now()}}else{var Y=Date,X=Y.now();c.unstable_now=function(){return Y.now()-X}}var z=[],E=[],B=1,w=null,M=3,ct=!1,ut=!1,St=!1,G=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function at(x){for(var P=b(E);P!==null;){if(P.callback===null)s(E);else if(P.startTime<=x)s(E),P.sortIndex=P.expirationTime,v(z,P);else break;P=b(E)}}function Bt(x){if(St=!1,at(x),!ut)if(b(z)!==null)ut=!0,At();else{var P=b(E);P!==null&&rt(Bt,P.startTime-x)}}var V=!1,F=-1,Nt=5,qt=-1;function L(){return!(c.unstable_now()-qtx&&L());){var mt=w.callback;if(typeof mt=="function"){w.callback=null,M=w.priorityLevel;var r=mt(w.expirationTime<=x);if(x=c.unstable_now(),typeof r=="function"){w.callback=r,at(x),P=!0;break e}w===b(z)&&s(z),at(x)}else s(z);w=b(z)}if(w!==null)P=!0;else{var D=b(E);D!==null&&rt(Bt,D.startTime-x),P=!1}}break t}finally{w=null,M=Q,ct=!1}P=void 0}}finally{P?Yt():V=!1}}}var Yt;if(typeof J=="function")Yt=function(){J(st)};else if(typeof MessageChannel<"u"){var zt=new MessageChannel,gt=zt.port2;zt.port1.onmessage=st,Yt=function(){gt.postMessage(null)}}else Yt=function(){G(st,0)};function At(){V||(V=!0,Yt())}function rt(x,P){F=G(function(){x(c.unstable_now())},P)}c.unstable_IdlePriority=5,c.unstable_ImmediatePriority=1,c.unstable_LowPriority=4,c.unstable_NormalPriority=3,c.unstable_Profiling=null,c.unstable_UserBlockingPriority=2,c.unstable_cancelCallback=function(x){x.callback=null},c.unstable_continueExecution=function(){ut||ct||(ut=!0,At())},c.unstable_forceFrameRate=function(x){0>x||125mt?(x.sortIndex=Q,v(E,x),b(z)===null&&x===b(E)&&(St?(C(F),F=-1):St=!0,rt(Bt,Q-mt))):(x.sortIndex=r,v(z,x),ut||ct||(ut=!0,At())),x},c.unstable_shouldYield=L,c.unstable_wrapCallback=function(x){var P=M;return function(){var Q=M;M=P;try{return x.apply(this,arguments)}finally{M=Q}}}}($f)),$f}var Rd;function eg(){return Rd||(Rd=1,kf.exports=tg()),kf.exports}var Wf={exports:{}},Me={};/** + */var Md;function tg(){return Md||(Md=1,function(c){function v(x,P){var Q=x.length;x.push(P);t:for(;0>>1,r=x[mt];if(0>>1;mtA(I,Q))qA(pt,I)?(x[mt]=pt,x[q]=Q,mt=q):(x[mt]=I,x[lt]=Q,mt=lt);else if(qA(pt,Q))x[mt]=pt,x[q]=Q,mt=q;else break t}}return P}function A(x,P){var Q=x.sortIndex-P.sortIndex;return Q!==0?Q:x.id-P.id}if(c.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var N=performance;c.unstable_now=function(){return N.now()}}else{var Y=Date,X=Y.now();c.unstable_now=function(){return Y.now()-X}}var z=[],p=[],B=1,w=null,M=3,ct=!1,ut=!1,St=!1,G=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function at(x){for(var P=b(p);P!==null;){if(P.callback===null)s(p);else if(P.startTime<=x)s(p),P.sortIndex=P.expirationTime,v(z,P);else break;P=b(p)}}function Bt(x){if(St=!1,at(x),!ut)if(b(z)!==null)ut=!0,At();else{var P=b(p);P!==null&&rt(Bt,P.startTime-x)}}var V=!1,F=-1,Nt=5,qt=-1;function L(){return!(c.unstable_now()-qtx&&L());){var mt=w.callback;if(typeof mt=="function"){w.callback=null,M=w.priorityLevel;var r=mt(w.expirationTime<=x);if(x=c.unstable_now(),typeof r=="function"){w.callback=r,at(x),P=!0;break e}w===b(z)&&s(z),at(x)}else s(z);w=b(z)}if(w!==null)P=!0;else{var D=b(p);D!==null&&rt(Bt,D.startTime-x),P=!1}}break t}finally{w=null,M=Q,ct=!1}P=void 0}}finally{P?Yt():V=!1}}}var Yt;if(typeof J=="function")Yt=function(){J(st)};else if(typeof MessageChannel<"u"){var zt=new MessageChannel,gt=zt.port2;zt.port1.onmessage=st,Yt=function(){gt.postMessage(null)}}else Yt=function(){G(st,0)};function At(){V||(V=!0,Yt())}function rt(x,P){F=G(function(){x(c.unstable_now())},P)}c.unstable_IdlePriority=5,c.unstable_ImmediatePriority=1,c.unstable_LowPriority=4,c.unstable_NormalPriority=3,c.unstable_Profiling=null,c.unstable_UserBlockingPriority=2,c.unstable_cancelCallback=function(x){x.callback=null},c.unstable_continueExecution=function(){ut||ct||(ut=!0,At())},c.unstable_forceFrameRate=function(x){0>x||125mt?(x.sortIndex=Q,v(p,x),b(z)===null&&x===b(p)&&(St?(C(F),F=-1):St=!0,rt(Bt,Q-mt))):(x.sortIndex=r,v(z,x),ut||ct||(ut=!0,At())),x},c.unstable_shouldYield=L,c.unstable_wrapCallback=function(x){var P=M;return function(){var Q=M;M=P;try{return x.apply(this,arguments)}finally{M=Q}}}}($f)),$f}var Rd;function eg(){return Rd||(Rd=1,kf.exports=tg()),kf.exports}var Wf={exports:{}},Me={};/** * @license React * react-dom.production.js * @@ -30,7 +30,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Dd;function lg(){if(Dd)return Me;Dd=1;var c=cs();function v(z){var E="https://react.dev/errors/"+z;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(v){console.error(v)}}return c(),Wf.exports=lg(),Wf.exports}/** + */var Dd;function lg(){if(Dd)return Me;Dd=1;var c=cs();function v(z){var p="https://react.dev/errors/"+z;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(v){console.error(v)}}return c(),Wf.exports=lg(),Wf.exports}/** * @license React * react-dom-client.production.js * @@ -38,24 +38,24 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Ud;function ag(){if(Ud)return Ou;Ud=1;var c=eg(),v=cs(),b=ng();function s(t){var e="https://react.dev/errors/"+t;if(1)":-1a||o[n]!==h[a]){var T=` `+o[n].replace(" at new "," at ");return t.displayName&&T.includes("")&&(T=T.replace("",t.displayName)),T}while(1<=n&&0<=a);break}}}finally{At=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?gt(l):""}function x(t){switch(t.tag){case 26:case 27:case 5:return gt(t.type);case 16:return gt("Lazy");case 13:return gt("Suspense");case 19:return gt("SuspenseList");case 0:case 15:return t=rt(t.type,!1),t;case 11:return t=rt(t.type.render,!1),t;case 1:return t=rt(t.type,!0),t;default:return""}}function P(t){try{var e="";do e+=x(t),t=t.return;while(t);return e}catch(l){return` Error generating stack: `+l.message+` -`+l.stack}}function Q(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function mt(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function r(t){if(Q(t)!==t)throw Error(s(188))}function D(t){var e=t.alternate;if(!e){if(e=Q(t),e===null)throw Error(s(188));return e!==t?null:t}for(var l=t,n=e;;){var a=l.return;if(a===null)break;var u=a.alternate;if(u===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===u.child){for(u=a.child;u;){if(u===l)return r(a),t;if(u===n)return r(a),e;u=u.sibling}throw Error(s(188))}if(l.return!==n.return)l=a,n=u;else{for(var i=!1,f=a.child;f;){if(f===l){i=!0,l=a,n=u;break}if(f===n){i=!0,n=a,l=u;break}f=f.sibling}if(!i){for(f=u.child;f;){if(f===l){i=!0,l=u,n=a;break}if(f===n){i=!0,n=u,l=a;break}f=f.sibling}if(!i)throw Error(s(189))}}if(l.alternate!==n)throw Error(s(190))}if(l.tag!==3)throw Error(s(188));return l.stateNode.current===l?t:e}function lt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=lt(t),e!==null)return e;t=t.sibling}return null}var I=Array.isArray,q=b.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Et={pending:!1,data:null,method:null,action:null},ft=[],oe=-1;function Mt(t){return{current:t}}function $t(t){0>oe||(t.current=ft[oe],ft[oe]=null,oe--)}function Vt(t,e){oe++,ft[oe]=t.current,t.current=e}var we=Mt(null),dn=Mt(null),fl=Mt(null),jn=Mt(null);function Ln(t,e){switch(Vt(fl,e),Vt(dn,t),Vt(we,null),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)&&(e=e.namespaceURI)?Pr(e):0;break;default:if(t=t===8?e.parentNode:e,e=t.tagName,t=t.namespaceURI)t=Pr(t),e=Ir(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}$t(we),Vt(we,e)}function bl(){$t(we),$t(dn),$t(fl)}function pa(t){t.memoizedState!==null&&Vt(jn,t);var e=we.current,l=Ir(e,t.type);e!==l&&(Vt(dn,t),Vt(we,l))}function qn(t){dn.current===t&&($t(we),$t(dn)),jn.current===t&&($t(jn),bu._currentValue=Et)}var Ta=Object.prototype.hasOwnProperty,Yn=c.unstable_scheduleCallback,Aa=c.unstable_cancelCallback,wc=c.unstable_shouldYield,Qc=c.unstable_requestPaint,Qe=c.unstable_now,Zc=c.unstable_getCurrentPriorityLevel,Gn=c.unstable_ImmediatePriority,Oa=c.unstable_UserBlockingPriority,Xn=c.unstable_NormalPriority,Nu=c.unstable_LowPriority,wn=c.unstable_IdlePriority,Mu=c.log,xe=c.unstable_setDisableYieldValue,Sl=null,Oe=null;function Ru(t){if(Oe&&typeof Oe.onCommitFiberRoot=="function")try{Oe.onCommitFiberRoot(Sl,t,void 0,(t.current.flags&128)===128)}catch{}}function El(t){if(typeof Mu=="function"&&xe(t),Oe&&typeof Oe.setStrictMode=="function")try{Oe.setStrictMode(Sl,t)}catch{}}var Re=Math.clz32?Math.clz32:H,y=Math.log,O=Math.LN2;function H(t){return t>>>=0,t===0?32:31-(y(t)/O|0)|0}var tt=128,Ut=4194304;function pt(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Wt(t,e){var l=t.pendingLanes;if(l===0)return 0;var n=0,a=t.suspendedLanes,u=t.pingedLanes,i=t.warmLanes;t=t.finishedLanes!==0;var f=l&134217727;return f!==0?(l=f&~a,l!==0?n=pt(l):(u&=f,u!==0?n=pt(u):t||(i=f&~i,i!==0&&(n=pt(i))))):(f=l&~a,f!==0?n=pt(f):u!==0?n=pt(u):t||(i=l&~i,i!==0&&(n=pt(i)))),n===0?0:e!==0&&e!==n&&!(e&a)&&(a=n&-n,i=e&-e,a>=i||a===32&&(i&4194176)!==0)?e:n}function j(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function k(t,e){switch(t){case 1:case 2:case 4:case 8:return e+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ot(){var t=tt;return tt<<=1,!(tt&4194176)&&(tt=128),t}function ht(){var t=Ut;return Ut<<=1,!(Ut&62914560)&&(Ut=4194304),t}function Kt(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function He(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function _a(t,e,l,n,a,u){var i=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var f=t.entanglements,o=t.expirationTimes,h=t.hiddenUpdates;for(l=i&~l;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),U=RegExp("^[: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]*$"),K={},Rt={};function Gt(t){return Ta.call(Rt,t)?!0:Ta.call(K,t)?!1:U.test(t)?Rt[t]=!0:(K[t]=!0,!1)}function Ft(t,e,l){if(Gt(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function Ve(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function re(t,e,l,n){if(n===null)t.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+n)}}function Pt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function je(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function rl(t){var e=je(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var a=l.get,u=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,u.call(this,i)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Zn(t){t._valueTracker||(t._valueTracker=rl(t))}function ju(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=je(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function Vn(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Kc=/[\n"\\]/g;function Ee(t){return t.replace(Kc,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Kn(t,e,l,n,a,u,i,f){t.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.type=i:t.removeAttribute("type"),e!=null?i==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Pt(e)):t.value!==""+Pt(e)&&(t.value=""+Pt(e)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),e!=null?Da(t,i,Pt(e)):l!=null?Da(t,i,Pt(l)):n!=null&&t.removeAttribute("value"),a==null&&u!=null&&(t.defaultChecked=!!u),a!=null&&(t.checked=a&&typeof a!="function"&&typeof a!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.name=""+Pt(f):t.removeAttribute("name")}function Al(t,e,l,n,a,u,i,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null))return;l=l!=null?""+Pt(l):"",e=e!=null?""+Pt(e):l,f||e===t.value||(t.value=e),t.defaultValue=e}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=f?t.checked:!!n,t.defaultChecked=!!n,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.name=i)}function Da(t,e,l){e==="number"&&Vn(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function dl(t,e,l,n){if(t=t.options,e){e={};for(var a=0;a=ja),vs=" ",ys=!1;function ms(t,e){switch(t){case"keyup":return p0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Jn=!1;function A0(t,e){switch(t){case"compositionend":return bs(e);case"keypress":return e.which!==32?null:(ys=!0,vs);case"textInput":return t=e.data,t===vs&&ys?null:t;default:return null}}function O0(t,e){if(Jn)return t==="compositionend"||!ti&&ms(t,e)?(t=ss(),qu=$c=wl=null,Jn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:l,offset:e-t};t=n}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Ns(l)}}function Rs(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Rs(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ds(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Vn(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Vn(t.document)}return e}function ni(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function x0(t,e){var l=Ds(e);e=t.focusedElem;var n=t.selectionRange;if(l!==e&&e&&e.ownerDocument&&Rs(e.ownerDocument.documentElement,e)){if(n!==null&&ni(e)){if(t=n.start,l=n.end,l===void 0&&(l=t),"selectionStart"in e)e.selectionStart=t,e.selectionEnd=Math.min(l,e.value.length);else if(l=(t=e.ownerDocument||document)&&t.defaultView||window,l.getSelection){l=l.getSelection();var a=e.textContent.length,u=Math.min(n.start,a);n=n.end===void 0?u:Math.min(n.end,a),!l.extend&&u>n&&(a=n,n=u,u=a),a=Ms(e,u);var i=Ms(e,n);a&&i&&(l.rangeCount!==1||l.anchorNode!==a.node||l.anchorOffset!==a.offset||l.focusNode!==i.node||l.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),l.removeAllRanges(),u>n?(l.addRange(t),l.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),l.addRange(t)))}}for(t=[],l=e;l=l.parentNode;)l.nodeType===1&&t.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof e.focus=="function"&&e.focus(),e=0;e=document.documentMode,kn=null,ai=null,Ga=null,ui=!1;function zs(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;ui||kn==null||kn!==Vn(n)||(n=kn,"selectionStart"in n&&ni(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Ga&&Ya(Ga,n)||(Ga=n,n=_c(ai,"onSelect"),0>=i,a-=i,_l=1<<32-Re(e)+a|l<it?(Se=et,et=null):Se=et.sibling;var Lt=S(g,et,m[it],_);if(Lt===null){et===null&&(et=Se);break}t&&et&&Lt.alternate===null&&e(g,et),d=u(Lt,d,it),Ot===null?Z=Lt:Ot.sibling=Lt,Ot=Lt,et=Se}if(it===m.length)return l(g,et),jt&&En(g,it),Z;if(et===null){for(;itit?(Se=et,et=null):Se=et.sibling;var sn=S(g,et,Lt.value,_);if(sn===null){et===null&&(et=Se);break}t&&et&&sn.alternate===null&&e(g,et),d=u(sn,d,it),Ot===null?Z=sn:Ot.sibling=sn,Ot=sn,et=Se}if(Lt.done)return l(g,et),jt&&En(g,it),Z;if(et===null){for(;!Lt.done;it++,Lt=m.next())Lt=R(g,Lt.value,_),Lt!==null&&(d=u(Lt,d,it),Ot===null?Z=Lt:Ot.sibling=Lt,Ot=Lt);return jt&&En(g,it),Z}for(et=n(et);!Lt.done;it++,Lt=m.next())Lt=p(et,g,it,Lt.value,_),Lt!==null&&(t&&Lt.alternate!==null&&et.delete(Lt.key===null?it:Lt.key),d=u(Lt,d,it),Ot===null?Z=Lt:Ot.sibling=Lt,Ot=Lt);return t&&et.forEach(function(Wh){return e(g,Wh)}),jt&&En(g,it),Z}function ue(g,d,m,_){if(typeof m=="object"&&m!==null&&m.type===z&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Y:t:{for(var Z=m.key;d!==null;){if(d.key===Z){if(Z=m.type,Z===z){if(d.tag===7){l(g,d.sibling),_=a(d,m.props.children),_.return=g,g=_;break t}}else if(d.elementType===Z||typeof Z=="object"&&Z!==null&&Z.$$typeof===J&&Js(Z)===d.type){l(g,d.sibling),_=a(d,m.props),Ja(_,m),_.return=g,g=_;break t}l(g,d);break}else e(g,d);d=d.sibling}m.type===z?(_=Un(m.props.children,g.mode,_,m.key),_.return=g,g=_):(_=vc(m.type,m.key,m.props,null,g.mode,_),Ja(_,m),_.return=g,g=_)}return i(g);case X:t:{for(Z=m.key;d!==null;){if(d.key===Z)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){l(g,d.sibling),_=a(d,m.children||[]),_.return=g,g=_;break t}else{l(g,d);break}else e(g,d);d=d.sibling}_=ff(m,g.mode,_),_.return=g,g=_}return i(g);case J:return Z=m._init,m=Z(m._payload),ue(g,d,m,_)}if(I(m))return W(g,d,m,_);if(F(m)){if(Z=F(m),typeof Z!="function")throw Error(s(150));return m=Z.call(m),dt(g,d,m,_)}if(typeof m.then=="function")return ue(g,d,Wu(m),_);if(m.$$typeof===ct)return ue(g,d,dc(g,m),_);Fu(g,m)}return typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint"?(m=""+m,d!==null&&d.tag===6?(l(g,d.sibling),_=a(d,m),_.return=g,g=_):(l(g,d),_=cf(m,g.mode,_),_.return=g,g=_),i(g)):l(g,d)}return function(g,d,m,_){try{Ka=0;var Z=ue(g,d,m,_);return ta=null,Z}catch(et){if(et===Za)throw et;var Ot=Ie(29,et,null,g.mode);return Ot.lanes=_,Ot.return=g,Ot}finally{}}}var Tn=ks(!0),$s=ks(!1),ea=Mt(null),Pu=Mt(0);function Ws(t,e){t=Ll,Vt(Pu,t),Vt(ea,e),Ll=t|e.baseLanes}function hi(){Vt(Pu,Ll),Vt(ea,ea.current)}function gi(){Ll=Pu.current,$t(ea),$t(Pu)}var We=Mt(null),gl=null;function Zl(t){var e=t.alternate;Vt(ve,ve.current&1),Vt(We,t),gl===null&&(e===null||ea.current!==null||e.memoizedState!==null)&&(gl=t)}function Fs(t){if(t.tag===22){if(Vt(ve,ve.current),Vt(We,t),gl===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(gl=t)}}else Vl()}function Vl(){Vt(ve,ve.current),Vt(We,We.current)}function Ml(t){$t(We),gl===t&&(gl=null),$t(ve)}var ve=Mt(0);function Iu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var L0=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},q0=c.unstable_scheduleCallback,Y0=c.unstable_NormalPriority,ye={$$typeof:ct,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vi(){return{controller:new L0,data:new Map,refCount:0}}function ka(t){t.refCount--,t.refCount===0&&q0(Y0,function(){t.controller.abort()})}var $a=null,yi=0,la=0,na=null;function G0(t,e){if($a===null){var l=$a=[];yi=0,la=Af(),na={status:"pending",value:void 0,then:function(n){l.push(n)}}}return yi++,e.then(Ps,Ps),e}function Ps(){if(--yi===0&&$a!==null){na!==null&&(na.status="fulfilled");var t=$a;$a=null,la=0,na=null;for(var e=0;eu?u:8;var i=L.T,f={};L.T=f,Hi(t,!1,e,l);try{var o=a(),h=L.S;if(h!==null&&h(f,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var T=X0(o,n);Pa(t,e,T,Xe(t))}else Pa(t,e,n,Xe(t))}catch(R){Pa(t,e,{then:function(){},status:"rejected",reason:R},Xe())}finally{q.p=u,L.T=i}}function K0(){}function Ui(t,e,l,n){if(t.tag!==5)throw Error(s(476));var a=zo(t).queue;Do(t,a,e,Et,l===null?K0:function(){return Uo(t),l(n)})}function zo(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Et,baseState:Et,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rl,lastRenderedState:Et},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rl,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Uo(t){var e=zo(t).next.queue;Pa(t,e,{},Xe())}function xi(){return Ne(bu)}function xo(){return he().memoizedState}function Ho(){return he().memoizedState}function J0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Xe();t=Wl(l);var n=Fl(e,t,l);n!==null&&(Ue(n,e,l),eu(n,e,l)),e={cache:vi()},t.payload=e;return}e=e.return}}function k0(t,e,l){var n=Xe();l={lane:n,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},fc(t)?Co(e,l):(l=fi(t,e,l,n),l!==null&&(Ue(l,t,n),jo(l,e,n)))}function Bo(t,e,l){var n=Xe();Pa(t,e,l,n)}function Pa(t,e,l,n){var a={lane:n,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(fc(t))Co(e,a);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var i=e.lastRenderedState,f=u(i,l);if(a.hasEagerState=!0,a.eagerState=f,Le(f,i))return Vu(t,e,a,0),Jt===null&&Zu(),!1}catch{}finally{}if(l=fi(t,e,a,n),l!==null)return Ue(l,t,n),jo(l,e,n),!0}return!1}function Hi(t,e,l,n){if(n={lane:2,revertLane:Af(),action:n,hasEagerState:!1,eagerState:null,next:null},fc(t)){if(e)throw Error(s(479))}else e=fi(t,l,n,2),e!==null&&Ue(e,t,2)}function fc(t){var e=t.alternate;return t===Tt||e!==null&&e===Tt}function Co(t,e){aa=ec=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function jo(t,e,l){if(l&4194176){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,Du(t,l)}}var vl={readContext:Ne,use:ac,useCallback:se,useContext:se,useEffect:se,useImperativeHandle:se,useLayoutEffect:se,useInsertionEffect:se,useMemo:se,useReducer:se,useRef:se,useState:se,useDebugValue:se,useDeferredValue:se,useTransition:se,useSyncExternalStore:se,useId:se};vl.useCacheRefresh=se,vl.useMemoCache=se,vl.useHostTransitionStatus=se,vl.useFormState=se,vl.useActionState=se,vl.useOptimistic=se;var _n={readContext:Ne,use:ac,useCallback:function(t,e){return Ce().memoizedState=[t,e===void 0?null:e],t},useContext:Ne,useEffect:po,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,cc(4194308,4,Oo.bind(null,e,t),l)},useLayoutEffect:function(t,e){return cc(4194308,4,t,e)},useInsertionEffect:function(t,e){cc(4,2,t,e)},useMemo:function(t,e){var l=Ce();e=e===void 0?null:e;var n=t();if(On){El(!0);try{t()}finally{El(!1)}}return l.memoizedState=[n,e],n},useReducer:function(t,e,l){var n=Ce();if(l!==void 0){var a=l(e);if(On){El(!0);try{l(e)}finally{El(!1)}}}else a=e;return n.memoizedState=n.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},n.queue=t,t=t.dispatch=k0.bind(null,Tt,t),[n.memoizedState,t]},useRef:function(t){var e=Ce();return t={current:t},e.memoizedState=t},useState:function(t){t=Ni(t);var e=t.queue,l=Bo.bind(null,Tt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Di,useDeferredValue:function(t,e){var l=Ce();return zi(l,t,e)},useTransition:function(){var t=Ni(!1);return t=Do.bind(null,Tt,t.queue,!0,!1),Ce().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var n=Tt,a=Ce();if(jt){if(l===void 0)throw Error(s(407));l=l()}else{if(l=e(),Jt===null)throw Error(s(349));Ht&60||ao(n,e,l)}a.memoizedState=l;var u={value:l,getSnapshot:e};return a.queue=u,po(co.bind(null,n,u,t),[t]),n.flags|=2048,ca(9,uo.bind(null,n,u,l,e),{destroy:void 0},null),l},useId:function(){var t=Ce(),e=Jt.identifierPrefix;if(jt){var l=Nl,n=_l;l=(n&~(1<<32-Re(n)-1)).toString(32)+l,e=":"+e+"R"+l,l=lc++,0 title"))),Ae(u,n,l),u[ce]=t,ie(u),n=u;break t;case"link":var i=sd("link","href",a).get(n+(l.href||""));if(i){for(var f=0;f<\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof n.is=="string"?a.createElement("select",{is:n.is}):a.createElement("select"),n.multiple?t.multiple=!0:n.size&&(t.size=n.size);break;default:t=typeof n.is=="string"?a.createElement(l,{is:n.is}):a.createElement(l)}}t[ce]=e,t[_e]=n;t:for(a=e.child;a!==null;){if(a.tag===5||a.tag===6)t.appendChild(a.stateNode);else if(a.tag!==4&&a.tag!==27&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break t;for(;a.sibling===null;){if(a.return===null||a.return===e)break t;a=a.return}a.sibling.return=a.return,a=a.sibling}e.stateNode=t;t:switch(Ae(t,l,n),l){case"button":case"input":case"select":case"textarea":t=!!n.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&Cl(e)}}return It(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&Cl(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(s(166));if(t=fl.current,Xa(e)){if(t=e.stateNode,l=e.memoizedProps,n=null,a=ze,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}t[ce]=e,t=!!(t.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||Fr(t.nodeValue,l)),t||pn(e)}else t=Mc(t).createTextNode(n),t[ce]=e,e.stateNode=t}return It(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=Xa(e),n!==null&&n.dehydrated!==null){if(t===null){if(!a)throw Error(s(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(s(317));a[ce]=e}else wa(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;It(e),a=!1}else ul!==null&&(yf(ul),ul=null),a=!0;if(!a)return e.flags&256?(Ml(e),e):(Ml(e),null)}if(Ml(e),e.flags&128)return e.lanes=l,e;if(l=n!==null,t=t!==null&&t.memoizedState!==null,l){n=e.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool);var u=null;n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==a&&(n.flags|=2048)}return l!==t&&l&&(e.child.flags|=8192),yc(e,e.updateQueue),It(e),null;case 4:return bl(),t===null&&Mf(e.stateNode.containerInfo),It(e),null;case 10:return Ul(e.type),It(e),null;case 19:if($t(ve),a=e.memoizedState,a===null)return It(e),null;if(n=(e.flags&128)!==0,u=a.rendering,u===null)if(n)fu(a,!1);else{if(ae!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(u=Iu(t),u!==null){for(e.flags|=128,fu(a,!1),t=u.updateQueue,e.updateQueue=t,yc(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)_r(l,t),l=l.sibling;return Vt(ve,ve.current&1|2),e.child}t=t.sibling}a.tail!==null&&Qe()>mc&&(e.flags|=128,n=!0,fu(a,!1),e.lanes=4194304)}else{if(!n)if(t=Iu(u),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,yc(e,t),fu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!jt)return It(e),null}else 2*Qe()-a.renderingStartTime>mc&&l!==536870912&&(e.flags|=128,n=!0,fu(a,!1),e.lanes=4194304);a.isBackwards?(u.sibling=e.child,e.child=u):(t=a.last,t!==null?t.sibling=u:e.child=u,a.last=u)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Qe(),e.sibling=null,t=ve.current,Vt(ve,n?t&1|2:t&1),e):(It(e),null);case 22:case 23:return Ml(e),gi(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?l&536870912&&!(e.flags&128)&&(It(e),e.subtreeFlags&6&&(e.flags|=8192)):It(e),l=e.updateQueue,l!==null&&yc(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==l&&(e.flags|=2048),t!==null&&$t(An),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Ul(ye),It(e),null;case 25:return null}throw Error(s(156,e.tag))}function eh(t,e){switch(oi(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ul(ye),bl(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return qn(e),null;case 13:if(Ml(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(s(340));wa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return $t(ve),null;case 4:return bl(),null;case 10:return Ul(e.type),null;case 22:case 23:return Ml(e),gi(),t!==null&&$t(An),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ul(ye),null;case 25:return null;default:return null}}function Rr(t,e){switch(oi(e),e.tag){case 3:Ul(ye),bl();break;case 26:case 27:case 5:qn(e);break;case 4:bl();break;case 13:Ml(e);break;case 19:$t(ve);break;case 10:Ul(e.type);break;case 22:case 23:Ml(e),gi(),t!==null&&$t(An);break;case 24:Ul(ye)}}var lh={getCacheForType:function(t){var e=Ne(ye),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},nh=typeof WeakMap=="function"?WeakMap:Map,te=0,Jt=null,Dt=null,Ht=0,kt=0,Ge=null,jl=!1,oa=!1,sf=!1,Ll=0,ae=0,ln=0,xn=0,of=0,tl=0,ra=0,su=null,yl=null,rf=!1,df=0,mc=1/0,bc=null,nn=null,Sc=!1,Hn=null,ou=0,hf=0,gf=null,ru=0,vf=null;function Xe(){if(te&2&&Ht!==0)return Ht&-Ht;if(L.T!==null){var t=la;return t!==0?t:Af()}return Uu()}function Dr(){tl===0&&(tl=!(Ht&536870912)||jt?ot():536870912);var t=We.current;return t!==null&&(t.flags|=32),tl}function Ue(t,e,l){(t===Jt&&kt===2||t.cancelPendingCommit!==null)&&(da(t,0),ql(t,Ht,tl,!1)),He(t,l),(!(te&2)||t!==Jt)&&(t===Jt&&(!(te&2)&&(xn|=l),ae===4&&ql(t,Ht,tl,!1)),ml(t))}function zr(t,e,l){if(te&6)throw Error(s(327));var n=!l&&(e&60)===0&&(e&t.expiredLanes)===0||j(t,e),a=n?ch(t,e):Sf(t,e,!0),u=n;do{if(a===0){oa&&!n&&ql(t,e,0,!1);break}else if(a===6)ql(t,e,0,!jl);else{if(l=t.current.alternate,u&&!ah(l)){a=Sf(t,e,!1),u=!1;continue}if(a===2){if(u=e,t.errorRecoveryDisabledLanes&u)var i=0;else i=t.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){e=i;t:{var f=t;a=su;var o=f.current.memoizedState.isDehydrated;if(o&&(da(f,i).flags|=256),i=Sf(f,i,!1),i!==2){if(sf&&!o){f.errorRecoveryDisabledLanes|=u,xn|=u,a=4;break t}u=yl,yl=a,u!==null&&yf(u)}a=i}if(u=!1,a!==2)continue}}if(a===1){da(t,0),ql(t,e,0,!0);break}t:{switch(n=t,a){case 0:case 1:throw Error(s(345));case 4:if((e&4194176)===e){ql(n,e,tl,!jl);break t}break;case 2:yl=null;break;case 3:case 5:break;default:throw Error(s(329))}if(n.finishedWork=l,n.finishedLanes=e,(e&62914560)===e&&(u=df+300-Qe(),10l?32:l,L.T=null,Hn===null)var u=!1;else{l=gf,gf=null;var i=Hn,f=ou;if(Hn=null,ou=0,te&6)throw Error(s(331));var o=te;if(te|=4,Ar(i.current),Er(i,i.current,f,l),te=o,du(0,!1),Oe&&typeof Oe.onPostCommitFiberRoot=="function")try{Oe.onPostCommitFiberRoot(Sl,i)}catch{}u=!0}return u}finally{q.p=a,L.T=n,Yr(t,e)}}return!1}function Gr(t,e,l){e=Je(l,e),e=ji(t.stateNode,e,2),t=Fl(t,e,2),t!==null&&(He(t,2),ml(t))}function Zt(t,e,l){if(t.tag===3)Gr(t,t,l);else for(;e!==null;){if(e.tag===3){Gr(e,t,l);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(nn===null||!nn.has(n))){t=Je(l,t),l=Qo(2),n=Fl(e,l,2),n!==null&&(Zo(l,n,e,t),He(n,2),ml(n));break}}e=e.return}}function Ef(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new nh;var a=new Set;n.set(e,a)}else a=n.get(e),a===void 0&&(a=new Set,n.set(e,a));a.has(l)||(sf=!0,a.add(l),t=sh.bind(null,t,e,l),e.then(t,t))}function sh(t,e,l){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Jt===t&&(Ht&l)===l&&(ae===4||ae===3&&(Ht&62914560)===Ht&&300>Qe()-df?!(te&2)&&da(t,0):of|=l,ra===Ht&&(ra=0)),ml(t)}function Xr(t,e){e===0&&(e=ht()),t=Ql(t,e),t!==null&&(He(t,e),ml(t))}function oh(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Xr(t,l)}function rh(t,e){var l=0;switch(t.tag){case 13:var n=t.stateNode,a=t.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(s(314))}n!==null&&n.delete(e),Xr(t,l)}function dh(t,e){return Yn(t,e)}var Tc=null,va=null,pf=!1,Ac=!1,Tf=!1,Bn=0;function ml(t){t!==va&&t.next===null&&(va===null?Tc=va=t:va=va.next=t),Ac=!0,pf||(pf=!0,gh(hh))}function du(t,e){if(!Tf&&Ac){Tf=!0;do for(var l=!1,n=Tc;n!==null;){if(t!==0){var a=n.pendingLanes;if(a===0)var u=0;else{var i=n.suspendedLanes,f=n.pingedLanes;u=(1<<31-Re(42|t)+1)-1,u&=a&~(i&~f),u=u&201326677?u&201326677|1:u?u|2:0}u!==0&&(l=!0,Zr(n,u))}else u=Ht,u=Wt(n,n===Jt?u:0),!(u&3)||j(n,u)||(l=!0,Zr(n,u));n=n.next}while(l);Tf=!1}}function hh(){Ac=pf=!1;var t=0;Bn!==0&&(Th()&&(t=Bn),Bn=0);for(var e=Qe(),l=null,n=Tc;n!==null;){var a=n.next,u=wr(n,e);u===0?(n.next=null,l===null?Tc=a:l.next=a,a===null&&(va=l)):(l=n,(t!==0||u&3)&&(Ac=!0)),n=a}du(t)}function wr(t,e){for(var l=t.suspendedLanes,n=t.pingedLanes,a=t.expirationTimes,u=t.pendingLanes&-62914561;0"u"?null:document;function ud(t,e,l){var n=ma;if(n&&typeof e=="string"&&e){var a=Ee(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),ad.has(a)||(ad.add(a),t={rel:t,crossOrigin:l,href:e},n.querySelector(a)===null&&(e=n.createElement("link"),Ae(e,"link",t),ie(e),n.head.appendChild(e)))}}function zh(t){Yl.D(t),ud("dns-prefetch",t,null)}function Uh(t,e){Yl.C(t,e),ud("preconnect",t,e)}function xh(t,e,l){Yl.L(t,e,l);var n=ma;if(n&&t&&e){var a='link[rel="preload"][as="'+Ee(e)+'"]';e==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+Ee(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+Ee(l.imageSizes)+'"]')):a+='[href="'+Ee(t)+'"]';var u=a;switch(e){case"style":u=ba(t);break;case"script":u=Sa(t)}el.has(u)||(t=st({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),el.set(u,t),n.querySelector(a)!==null||e==="style"&&n.querySelector(vu(u))||e==="script"&&n.querySelector(yu(u))||(e=n.createElement("link"),Ae(e,"link",t),ie(e),n.head.appendChild(e)))}}function Hh(t,e){Yl.m(t,e);var l=ma;if(l&&t){var n=e&&typeof e.as=="string"?e.as:"script",a='link[rel="modulepreload"][as="'+Ee(n)+'"][href="'+Ee(t)+'"]',u=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Sa(t)}if(!el.has(u)&&(t=st({rel:"modulepreload",href:t},e),el.set(u,t),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(yu(u)))return}n=l.createElement("link"),Ae(n,"link",t),ie(n),l.head.appendChild(n)}}}function Bh(t,e,l){Yl.S(t,e,l);var n=ma;if(n&&t){var a=Tl(n).hoistableStyles,u=ba(t);e=e||"default";var i=a.get(u);if(!i){var f={loading:0,preload:null};if(i=n.querySelector(vu(u)))f.loading=5;else{t=st({rel:"stylesheet",href:t,"data-precedence":e},l),(l=el.get(u))&&jf(t,l);var o=i=n.createElement("link");ie(o),Ae(o,"link",t),o._p=new Promise(function(h,T){o.onload=h,o.onerror=T}),o.addEventListener("load",function(){f.loading|=1}),o.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Dc(i,e,n)}i={type:"stylesheet",instance:i,count:1,state:f},a.set(u,i)}}}function Ch(t,e){Yl.X(t,e);var l=ma;if(l&&t){var n=Tl(l).hoistableScripts,a=Sa(t),u=n.get(a);u||(u=l.querySelector(yu(a)),u||(t=st({src:t,async:!0},e),(e=el.get(a))&&Lf(t,e),u=l.createElement("script"),ie(u),Ae(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function jh(t,e){Yl.M(t,e);var l=ma;if(l&&t){var n=Tl(l).hoistableScripts,a=Sa(t),u=n.get(a);u||(u=l.querySelector(yu(a)),u||(t=st({src:t,async:!0,type:"module"},e),(e=el.get(a))&&Lf(t,e),u=l.createElement("script"),ie(u),Ae(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function cd(t,e,l,n){var a=(a=fl.current)?Rc(a):null;if(!a)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=ba(l.href),l=Tl(a).hoistableStyles,n=l.get(e),n||(n={type:"style",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=ba(l.href);var u=Tl(a).hoistableStyles,i=u.get(t);if(i||(a=a.ownerDocument||a,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,i),(u=a.querySelector(vu(t)))&&!u._p&&(i.instance=u,i.state.loading=5),el.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},el.set(t,l),u||Lh(a,t,l,i.state))),e&&n===null)throw Error(s(528,""));return i}if(e&&n!==null)throw Error(s(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Sa(l),l=Tl(a).hoistableScripts,n=l.get(e),n||(n={type:"script",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function ba(t){return'href="'+Ee(t)+'"'}function vu(t){return'link[rel="stylesheet"]['+t+"]"}function id(t){return st({},t,{"data-precedence":t.precedence,precedence:null})}function Lh(t,e,l,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),Ae(e,"link",l),ie(e),t.head.appendChild(e))}function Sa(t){return'[src="'+Ee(t)+'"]'}function yu(t){return"script[async]"+t}function fd(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+Ee(l.href)+'"]');if(n)return e.instance=n,ie(n),n;var a=st({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),ie(n),Ae(n,"style",a),Dc(n,l.precedence,t),e.instance=n;case"stylesheet":a=ba(l.href);var u=t.querySelector(vu(a));if(u)return e.state.loading|=4,e.instance=u,ie(u),u;n=id(l),(a=el.get(a))&&jf(n,a),u=(t.ownerDocument||t).createElement("link"),ie(u);var i=u;return i._p=new Promise(function(f,o){i.onload=f,i.onerror=o}),Ae(u,"link",n),e.state.loading|=4,Dc(u,l.precedence,t),e.instance=u;case"script":return u=Sa(l.src),(a=t.querySelector(yu(u)))?(e.instance=a,ie(a),a):(n=l,(a=el.get(u))&&(n=st({},l),Lf(n,a)),t=t.ownerDocument||t,a=t.createElement("script"),ie(a),Ae(a,"link",n),t.head.appendChild(a),e.instance=a);case"void":return null;default:throw Error(s(443,e.type))}else e.type==="stylesheet"&&!(e.state.loading&4)&&(n=e.instance,e.state.loading|=4,Dc(n,l.precedence,t));return e.instance}function Dc(t,e,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,u=a,i=0;i title"):null)}function qh(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function rd(t){return!(t.type==="stylesheet"&&!(t.state.loading&3))}var mu=null;function Yh(){}function Gh(t,e,l){if(mu===null)throw Error(s(475));var n=mu;if(e.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&!(e.state.loading&4)){if(e.instance===null){var a=ba(l.href),u=t.querySelector(vu(a));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(n.count++,n=Uc.bind(n),t.then(n,n)),e.state.loading|=4,e.instance=u,ie(u);return}u=t.ownerDocument||t,l=id(l),(a=el.get(a))&&jf(l,a),u=u.createElement("link"),ie(u);var i=u;i._p=new Promise(function(f,o){i.onload=f,i.onerror=o}),Ae(u,"link",l),e.instance=u}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(e,t),(t=e.state.preload)&&!(e.state.loading&3)&&(n.count++,e=Uc.bind(n),t.addEventListener("load",e),t.addEventListener("error",e))}}function Xh(){if(mu===null)throw Error(s(475));var t=mu;return t.stylesheets&&t.count===0&&qf(t,t.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(v){console.error(v)}}return c(),Jf.exports=ag(),Jf.exports}var cg=ug();function ig(c,v){if(c==null)return{};var b={};for(var s in c)if({}.hasOwnProperty.call(c,s)){if(v.includes(s))continue;b[s]=c[s]}return b}function fg(c,v){if(c==null)return{};var b,s,A=ig(c,v);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(c);for(s=0;sc.length)&&(v=c.length);for(var b=0,s=Array(v);b=4)return[c[0],c[1],c[2],c[3],"".concat(c[0],".").concat(c[1]),"".concat(c[0],".").concat(c[2]),"".concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[0]),"".concat(c[1],".").concat(c[2]),"".concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[1]),"".concat(c[2],".").concat(c[3]),"".concat(c[3],".").concat(c[0]),"".concat(c[3],".").concat(c[1]),"".concat(c[3],".").concat(c[2]),"".concat(c[0],".").concat(c[1],".").concat(c[2]),"".concat(c[0],".").concat(c[1],".").concat(c[3]),"".concat(c[0],".").concat(c[2],".").concat(c[1]),"".concat(c[0],".").concat(c[2],".").concat(c[3]),"".concat(c[0],".").concat(c[3],".").concat(c[1]),"".concat(c[0],".").concat(c[3],".").concat(c[2]),"".concat(c[1],".").concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[2],".").concat(c[0]),"".concat(c[1],".").concat(c[2],".").concat(c[3]),"".concat(c[1],".").concat(c[3],".").concat(c[0]),"".concat(c[1],".").concat(c[3],".").concat(c[2]),"".concat(c[2],".").concat(c[0],".").concat(c[1]),"".concat(c[2],".").concat(c[0],".").concat(c[3]),"".concat(c[2],".").concat(c[1],".").concat(c[0]),"".concat(c[2],".").concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[3],".").concat(c[0]),"".concat(c[2],".").concat(c[3],".").concat(c[1]),"".concat(c[3],".").concat(c[0],".").concat(c[1]),"".concat(c[3],".").concat(c[0],".").concat(c[2]),"".concat(c[3],".").concat(c[1],".").concat(c[0]),"".concat(c[3],".").concat(c[1],".").concat(c[2]),"".concat(c[3],".").concat(c[2],".").concat(c[0]),"".concat(c[3],".").concat(c[2],".").concat(c[1]),"".concat(c[0],".").concat(c[1],".").concat(c[2],".").concat(c[3]),"".concat(c[0],".").concat(c[1],".").concat(c[3],".").concat(c[2]),"".concat(c[0],".").concat(c[2],".").concat(c[1],".").concat(c[3]),"".concat(c[0],".").concat(c[2],".").concat(c[3],".").concat(c[1]),"".concat(c[0],".").concat(c[3],".").concat(c[1],".").concat(c[2]),"".concat(c[0],".").concat(c[3],".").concat(c[2],".").concat(c[1]),"".concat(c[1],".").concat(c[0],".").concat(c[2],".").concat(c[3]),"".concat(c[1],".").concat(c[0],".").concat(c[3],".").concat(c[2]),"".concat(c[1],".").concat(c[2],".").concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[2],".").concat(c[3],".").concat(c[0]),"".concat(c[1],".").concat(c[3],".").concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[3],".").concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[0],".").concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[0],".").concat(c[3],".").concat(c[1]),"".concat(c[2],".").concat(c[1],".").concat(c[0],".").concat(c[3]),"".concat(c[2],".").concat(c[1],".").concat(c[3],".").concat(c[0]),"".concat(c[2],".").concat(c[3],".").concat(c[0],".").concat(c[1]),"".concat(c[2],".").concat(c[3],".").concat(c[1],".").concat(c[0]),"".concat(c[3],".").concat(c[0],".").concat(c[1],".").concat(c[2]),"".concat(c[3],".").concat(c[0],".").concat(c[2],".").concat(c[1]),"".concat(c[3],".").concat(c[1],".").concat(c[0],".").concat(c[2]),"".concat(c[3],".").concat(c[1],".").concat(c[2],".").concat(c[0]),"".concat(c[3],".").concat(c[2],".").concat(c[0],".").concat(c[1]),"".concat(c[3],".").concat(c[2],".").concat(c[1],".").concat(c[0])]}var Ff={};function yg(c){if(c.length===0||c.length===1)return c;var v=c.join(".");return Ff[v]||(Ff[v]=vg(c)),Ff[v]}function mg(c){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=arguments.length>2?arguments[2]:void 0,s=c.filter(function(N){return N!=="token"}),A=yg(s);return A.reduce(function(N,Y){return Ea(Ea({},N),b[Y])},v)}function Bd(c){return c.join(" ")}function bg(c,v){var b=0;return function(s){return b+=1,s.map(function(A,N){return Zd({node:A,stylesheet:c,useInlineStyles:v,key:"code-segment-".concat(b,"-").concat(N)})})}}function Zd(c){var v=c.node,b=c.stylesheet,s=c.style,A=s===void 0?{}:s,N=c.useInlineStyles,Y=c.key,X=v.properties,z=v.type,E=v.tagName,B=v.value;if(z==="text")return B;if(E){var w=bg(b,N),M;if(!N)M=Ea(Ea({},X),{},{className:Bd(X.className)});else{var ct=Object.keys(b).reduce(function(C,J){return J.split(".").forEach(function(at){C.includes(at)||C.push(at)}),C},[]),ut=X.className&&X.className.includes("token")?["token"]:[],St=X.className&&ut.concat(X.className.filter(function(C){return!ct.includes(C)}));M=Ea(Ea({},X),{},{className:Bd(St)||void 0,style:mg(X.className,Object.assign({},X.style,A),b)})}var G=w(v.children);return on.createElement(E,as({key:Y},M),G)}}const Sg=function(c,v){var b=c.listLanguages();return b.indexOf(v)!==-1};var Eg=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Cd(c,v){var b=Object.keys(c);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(c);v&&(s=s.filter(function(A){return Object.getOwnPropertyDescriptor(c,A).enumerable})),b.push.apply(b,s)}return b}function rn(c){for(var v=1;v1&&arguments[1]!==void 0?arguments[1]:[],b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],s=0;s2&&arguments[2]!==void 0?arguments[2]:[];return Xc({children:V,lineNumber:F,lineNumberStyle:X,largestLineNumber:Y,showInlineLineNumbers:A,lineProps:b,className:Nt,showLineNumbers:s,wrapLongLines:z,wrapLines:v})}function St(V,F){if(s&&F&&A){var Nt=Kd(X,F,Y);V.unshift(Vd(F,Nt))}return V}function G(V,F){var Nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return v||Nt.length>0?ut(V,F,Nt):St(V,F)}for(var C=function(){var F=B[ct],Nt=F.children[0].value,qt=Tg(Nt);if(qt){var L=Nt.split(` +`+l.stack}}function Q(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function mt(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function r(t){if(Q(t)!==t)throw Error(s(188))}function D(t){var e=t.alternate;if(!e){if(e=Q(t),e===null)throw Error(s(188));return e!==t?null:t}for(var l=t,n=e;;){var a=l.return;if(a===null)break;var u=a.alternate;if(u===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===u.child){for(u=a.child;u;){if(u===l)return r(a),t;if(u===n)return r(a),e;u=u.sibling}throw Error(s(188))}if(l.return!==n.return)l=a,n=u;else{for(var i=!1,f=a.child;f;){if(f===l){i=!0,l=a,n=u;break}if(f===n){i=!0,n=a,l=u;break}f=f.sibling}if(!i){for(f=u.child;f;){if(f===l){i=!0,l=u,n=a;break}if(f===n){i=!0,n=u,l=a;break}f=f.sibling}if(!i)throw Error(s(189))}}if(l.alternate!==n)throw Error(s(190))}if(l.tag!==3)throw Error(s(188));return l.stateNode.current===l?t:e}function lt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=lt(t),e!==null)return e;t=t.sibling}return null}var I=Array.isArray,q=b.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pt={pending:!1,data:null,method:null,action:null},ft=[],oe=-1;function Mt(t){return{current:t}}function $t(t){0>oe||(t.current=ft[oe],ft[oe]=null,oe--)}function Vt(t,e){oe++,ft[oe]=t.current,t.current=e}var we=Mt(null),dn=Mt(null),fl=Mt(null),jn=Mt(null);function Ln(t,e){switch(Vt(fl,e),Vt(dn,t),Vt(we,null),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)&&(e=e.namespaceURI)?Pr(e):0;break;default:if(t=t===8?e.parentNode:e,e=t.tagName,t=t.namespaceURI)t=Pr(t),e=Ir(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}$t(we),Vt(we,e)}function bl(){$t(we),$t(dn),$t(fl)}function Ea(t){t.memoizedState!==null&&Vt(jn,t);var e=we.current,l=Ir(e,t.type);e!==l&&(Vt(dn,t),Vt(we,l))}function qn(t){dn.current===t&&($t(we),$t(dn)),jn.current===t&&($t(jn),bu._currentValue=pt)}var Ta=Object.prototype.hasOwnProperty,Yn=c.unstable_scheduleCallback,Aa=c.unstable_cancelCallback,wc=c.unstable_shouldYield,Qc=c.unstable_requestPaint,Qe=c.unstable_now,Zc=c.unstable_getCurrentPriorityLevel,Gn=c.unstable_ImmediatePriority,_a=c.unstable_UserBlockingPriority,Xn=c.unstable_NormalPriority,Nu=c.unstable_LowPriority,wn=c.unstable_IdlePriority,Mu=c.log,xe=c.unstable_setDisableYieldValue,Sl=null,_e=null;function Ru(t){if(_e&&typeof _e.onCommitFiberRoot=="function")try{_e.onCommitFiberRoot(Sl,t,void 0,(t.current.flags&128)===128)}catch{}}function pl(t){if(typeof Mu=="function"&&xe(t),_e&&typeof _e.setStrictMode=="function")try{_e.setStrictMode(Sl,t)}catch{}}var Re=Math.clz32?Math.clz32:H,y=Math.log,_=Math.LN2;function H(t){return t>>>=0,t===0?32:31-(y(t)/_|0)|0}var tt=128,Ut=4194304;function Et(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Wt(t,e){var l=t.pendingLanes;if(l===0)return 0;var n=0,a=t.suspendedLanes,u=t.pingedLanes,i=t.warmLanes;t=t.finishedLanes!==0;var f=l&134217727;return f!==0?(l=f&~a,l!==0?n=Et(l):(u&=f,u!==0?n=Et(u):t||(i=f&~i,i!==0&&(n=Et(i))))):(f=l&~a,f!==0?n=Et(f):u!==0?n=Et(u):t||(i=l&~i,i!==0&&(n=Et(i)))),n===0?0:e!==0&&e!==n&&!(e&a)&&(a=n&-n,i=e&-e,a>=i||a===32&&(i&4194176)!==0)?e:n}function j(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function k(t,e){switch(t){case 1:case 2:case 4:case 8:return e+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ot(){var t=tt;return tt<<=1,!(tt&4194176)&&(tt=128),t}function ht(){var t=Ut;return Ut<<=1,!(Ut&62914560)&&(Ut=4194304),t}function Kt(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function He(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Oa(t,e,l,n,a,u){var i=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var f=t.entanglements,o=t.expirationTimes,h=t.hiddenUpdates;for(l=i&~l;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),U=RegExp("^[: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]*$"),K={},Rt={};function Gt(t){return Ta.call(Rt,t)?!0:Ta.call(K,t)?!1:U.test(t)?Rt[t]=!0:(K[t]=!0,!1)}function Ft(t,e,l){if(Gt(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function Ve(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function re(t,e,l,n){if(n===null)t.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+n)}}function Pt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function je(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function rl(t){var e=je(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var a=l.get,u=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,u.call(this,i)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Zn(t){t._valueTracker||(t._valueTracker=rl(t))}function ju(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=je(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function Vn(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Kc=/[\n"\\]/g;function pe(t){return t.replace(Kc,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Kn(t,e,l,n,a,u,i,f){t.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.type=i:t.removeAttribute("type"),e!=null?i==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Pt(e)):t.value!==""+Pt(e)&&(t.value=""+Pt(e)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),e!=null?Da(t,i,Pt(e)):l!=null?Da(t,i,Pt(l)):n!=null&&t.removeAttribute("value"),a==null&&u!=null&&(t.defaultChecked=!!u),a!=null&&(t.checked=a&&typeof a!="function"&&typeof a!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.name=""+Pt(f):t.removeAttribute("name")}function Al(t,e,l,n,a,u,i,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null))return;l=l!=null?""+Pt(l):"",e=e!=null?""+Pt(e):l,f||e===t.value||(t.value=e),t.defaultValue=e}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=f?t.checked:!!n,t.defaultChecked=!!n,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.name=i)}function Da(t,e,l){e==="number"&&Vn(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function dl(t,e,l,n){if(t=t.options,e){e={};for(var a=0;a=ja),vs=" ",ys=!1;function ms(t,e){switch(t){case"keyup":return E0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Jn=!1;function A0(t,e){switch(t){case"compositionend":return bs(e);case"keypress":return e.which!==32?null:(ys=!0,vs);case"textInput":return t=e.data,t===vs&&ys?null:t;default:return null}}function _0(t,e){if(Jn)return t==="compositionend"||!ti&&ms(t,e)?(t=ss(),qu=$c=wl=null,Jn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:l,offset:e-t};t=n}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Ns(l)}}function Rs(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Rs(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ds(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Vn(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Vn(t.document)}return e}function ni(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function x0(t,e){var l=Ds(e);e=t.focusedElem;var n=t.selectionRange;if(l!==e&&e&&e.ownerDocument&&Rs(e.ownerDocument.documentElement,e)){if(n!==null&&ni(e)){if(t=n.start,l=n.end,l===void 0&&(l=t),"selectionStart"in e)e.selectionStart=t,e.selectionEnd=Math.min(l,e.value.length);else if(l=(t=e.ownerDocument||document)&&t.defaultView||window,l.getSelection){l=l.getSelection();var a=e.textContent.length,u=Math.min(n.start,a);n=n.end===void 0?u:Math.min(n.end,a),!l.extend&&u>n&&(a=n,n=u,u=a),a=Ms(e,u);var i=Ms(e,n);a&&i&&(l.rangeCount!==1||l.anchorNode!==a.node||l.anchorOffset!==a.offset||l.focusNode!==i.node||l.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),l.removeAllRanges(),u>n?(l.addRange(t),l.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),l.addRange(t)))}}for(t=[],l=e;l=l.parentNode;)l.nodeType===1&&t.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof e.focus=="function"&&e.focus(),e=0;e=document.documentMode,kn=null,ai=null,Ga=null,ui=!1;function zs(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;ui||kn==null||kn!==Vn(n)||(n=kn,"selectionStart"in n&&ni(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Ga&&Ya(Ga,n)||(Ga=n,n=Oc(ai,"onSelect"),0>=i,a-=i,Ol=1<<32-Re(e)+a|l<it?(Se=et,et=null):Se=et.sibling;var Lt=S(g,et,m[it],O);if(Lt===null){et===null&&(et=Se);break}t&&et&&Lt.alternate===null&&e(g,et),d=u(Lt,d,it),_t===null?Z=Lt:_t.sibling=Lt,_t=Lt,et=Se}if(it===m.length)return l(g,et),jt&&pn(g,it),Z;if(et===null){for(;itit?(Se=et,et=null):Se=et.sibling;var sn=S(g,et,Lt.value,O);if(sn===null){et===null&&(et=Se);break}t&&et&&sn.alternate===null&&e(g,et),d=u(sn,d,it),_t===null?Z=sn:_t.sibling=sn,_t=sn,et=Se}if(Lt.done)return l(g,et),jt&&pn(g,it),Z;if(et===null){for(;!Lt.done;it++,Lt=m.next())Lt=R(g,Lt.value,O),Lt!==null&&(d=u(Lt,d,it),_t===null?Z=Lt:_t.sibling=Lt,_t=Lt);return jt&&pn(g,it),Z}for(et=n(et);!Lt.done;it++,Lt=m.next())Lt=E(et,g,it,Lt.value,O),Lt!==null&&(t&&Lt.alternate!==null&&et.delete(Lt.key===null?it:Lt.key),d=u(Lt,d,it),_t===null?Z=Lt:_t.sibling=Lt,_t=Lt);return t&&et.forEach(function(Wh){return e(g,Wh)}),jt&&pn(g,it),Z}function ue(g,d,m,O){if(typeof m=="object"&&m!==null&&m.type===z&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Y:t:{for(var Z=m.key;d!==null;){if(d.key===Z){if(Z=m.type,Z===z){if(d.tag===7){l(g,d.sibling),O=a(d,m.props.children),O.return=g,g=O;break t}}else if(d.elementType===Z||typeof Z=="object"&&Z!==null&&Z.$$typeof===J&&Js(Z)===d.type){l(g,d.sibling),O=a(d,m.props),Ja(O,m),O.return=g,g=O;break t}l(g,d);break}else e(g,d);d=d.sibling}m.type===z?(O=Un(m.props.children,g.mode,O,m.key),O.return=g,g=O):(O=vc(m.type,m.key,m.props,null,g.mode,O),Ja(O,m),O.return=g,g=O)}return i(g);case X:t:{for(Z=m.key;d!==null;){if(d.key===Z)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){l(g,d.sibling),O=a(d,m.children||[]),O.return=g,g=O;break t}else{l(g,d);break}else e(g,d);d=d.sibling}O=ff(m,g.mode,O),O.return=g,g=O}return i(g);case J:return Z=m._init,m=Z(m._payload),ue(g,d,m,O)}if(I(m))return W(g,d,m,O);if(F(m)){if(Z=F(m),typeof Z!="function")throw Error(s(150));return m=Z.call(m),dt(g,d,m,O)}if(typeof m.then=="function")return ue(g,d,Wu(m),O);if(m.$$typeof===ct)return ue(g,d,dc(g,m),O);Fu(g,m)}return typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint"?(m=""+m,d!==null&&d.tag===6?(l(g,d.sibling),O=a(d,m),O.return=g,g=O):(l(g,d),O=cf(m,g.mode,O),O.return=g,g=O),i(g)):l(g,d)}return function(g,d,m,O){try{Ka=0;var Z=ue(g,d,m,O);return ta=null,Z}catch(et){if(et===Za)throw et;var _t=Ie(29,et,null,g.mode);return _t.lanes=O,_t.return=g,_t}finally{}}}var Tn=ks(!0),$s=ks(!1),ea=Mt(null),Pu=Mt(0);function Ws(t,e){t=Ll,Vt(Pu,t),Vt(ea,e),Ll=t|e.baseLanes}function hi(){Vt(Pu,Ll),Vt(ea,ea.current)}function gi(){Ll=Pu.current,$t(ea),$t(Pu)}var We=Mt(null),gl=null;function Zl(t){var e=t.alternate;Vt(ve,ve.current&1),Vt(We,t),gl===null&&(e===null||ea.current!==null||e.memoizedState!==null)&&(gl=t)}function Fs(t){if(t.tag===22){if(Vt(ve,ve.current),Vt(We,t),gl===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(gl=t)}}else Vl()}function Vl(){Vt(ve,ve.current),Vt(We,We.current)}function Ml(t){$t(We),gl===t&&(gl=null),$t(ve)}var ve=Mt(0);function Iu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var L0=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},q0=c.unstable_scheduleCallback,Y0=c.unstable_NormalPriority,ye={$$typeof:ct,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vi(){return{controller:new L0,data:new Map,refCount:0}}function ka(t){t.refCount--,t.refCount===0&&q0(Y0,function(){t.controller.abort()})}var $a=null,yi=0,la=0,na=null;function G0(t,e){if($a===null){var l=$a=[];yi=0,la=Af(),na={status:"pending",value:void 0,then:function(n){l.push(n)}}}return yi++,e.then(Ps,Ps),e}function Ps(){if(--yi===0&&$a!==null){na!==null&&(na.status="fulfilled");var t=$a;$a=null,la=0,na=null;for(var e=0;eu?u:8;var i=L.T,f={};L.T=f,Hi(t,!1,e,l);try{var o=a(),h=L.S;if(h!==null&&h(f,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var T=X0(o,n);Pa(t,e,T,Xe(t))}else Pa(t,e,n,Xe(t))}catch(R){Pa(t,e,{then:function(){},status:"rejected",reason:R},Xe())}finally{q.p=u,L.T=i}}function K0(){}function Ui(t,e,l,n){if(t.tag!==5)throw Error(s(476));var a=zo(t).queue;Do(t,a,e,pt,l===null?K0:function(){return Uo(t),l(n)})}function zo(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:pt,baseState:pt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rl,lastRenderedState:pt},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rl,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Uo(t){var e=zo(t).next.queue;Pa(t,e,{},Xe())}function xi(){return Ne(bu)}function xo(){return he().memoizedState}function Ho(){return he().memoizedState}function J0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Xe();t=Wl(l);var n=Fl(e,t,l);n!==null&&(Ue(n,e,l),eu(n,e,l)),e={cache:vi()},t.payload=e;return}e=e.return}}function k0(t,e,l){var n=Xe();l={lane:n,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},fc(t)?Co(e,l):(l=fi(t,e,l,n),l!==null&&(Ue(l,t,n),jo(l,e,n)))}function Bo(t,e,l){var n=Xe();Pa(t,e,l,n)}function Pa(t,e,l,n){var a={lane:n,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(fc(t))Co(e,a);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var i=e.lastRenderedState,f=u(i,l);if(a.hasEagerState=!0,a.eagerState=f,Le(f,i))return Vu(t,e,a,0),Jt===null&&Zu(),!1}catch{}finally{}if(l=fi(t,e,a,n),l!==null)return Ue(l,t,n),jo(l,e,n),!0}return!1}function Hi(t,e,l,n){if(n={lane:2,revertLane:Af(),action:n,hasEagerState:!1,eagerState:null,next:null},fc(t)){if(e)throw Error(s(479))}else e=fi(t,l,n,2),e!==null&&Ue(e,t,2)}function fc(t){var e=t.alternate;return t===Tt||e!==null&&e===Tt}function Co(t,e){aa=ec=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function jo(t,e,l){if(l&4194176){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,Du(t,l)}}var vl={readContext:Ne,use:ac,useCallback:se,useContext:se,useEffect:se,useImperativeHandle:se,useLayoutEffect:se,useInsertionEffect:se,useMemo:se,useReducer:se,useRef:se,useState:se,useDebugValue:se,useDeferredValue:se,useTransition:se,useSyncExternalStore:se,useId:se};vl.useCacheRefresh=se,vl.useMemoCache=se,vl.useHostTransitionStatus=se,vl.useFormState=se,vl.useActionState=se,vl.useOptimistic=se;var On={readContext:Ne,use:ac,useCallback:function(t,e){return Ce().memoizedState=[t,e===void 0?null:e],t},useContext:Ne,useEffect:Eo,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,cc(4194308,4,_o.bind(null,e,t),l)},useLayoutEffect:function(t,e){return cc(4194308,4,t,e)},useInsertionEffect:function(t,e){cc(4,2,t,e)},useMemo:function(t,e){var l=Ce();e=e===void 0?null:e;var n=t();if(_n){pl(!0);try{t()}finally{pl(!1)}}return l.memoizedState=[n,e],n},useReducer:function(t,e,l){var n=Ce();if(l!==void 0){var a=l(e);if(_n){pl(!0);try{l(e)}finally{pl(!1)}}}else a=e;return n.memoizedState=n.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},n.queue=t,t=t.dispatch=k0.bind(null,Tt,t),[n.memoizedState,t]},useRef:function(t){var e=Ce();return t={current:t},e.memoizedState=t},useState:function(t){t=Ni(t);var e=t.queue,l=Bo.bind(null,Tt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Di,useDeferredValue:function(t,e){var l=Ce();return zi(l,t,e)},useTransition:function(){var t=Ni(!1);return t=Do.bind(null,Tt,t.queue,!0,!1),Ce().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var n=Tt,a=Ce();if(jt){if(l===void 0)throw Error(s(407));l=l()}else{if(l=e(),Jt===null)throw Error(s(349));Ht&60||ao(n,e,l)}a.memoizedState=l;var u={value:l,getSnapshot:e};return a.queue=u,Eo(co.bind(null,n,u,t),[t]),n.flags|=2048,ca(9,uo.bind(null,n,u,l,e),{destroy:void 0},null),l},useId:function(){var t=Ce(),e=Jt.identifierPrefix;if(jt){var l=Nl,n=Ol;l=(n&~(1<<32-Re(n)-1)).toString(32)+l,e=":"+e+"R"+l,l=lc++,0 title"))),Ae(u,n,l),u[ce]=t,ie(u),n=u;break t;case"link":var i=sd("link","href",a).get(n+(l.href||""));if(i){for(var f=0;f<\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof n.is=="string"?a.createElement("select",{is:n.is}):a.createElement("select"),n.multiple?t.multiple=!0:n.size&&(t.size=n.size);break;default:t=typeof n.is=="string"?a.createElement(l,{is:n.is}):a.createElement(l)}}t[ce]=e,t[Oe]=n;t:for(a=e.child;a!==null;){if(a.tag===5||a.tag===6)t.appendChild(a.stateNode);else if(a.tag!==4&&a.tag!==27&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break t;for(;a.sibling===null;){if(a.return===null||a.return===e)break t;a=a.return}a.sibling.return=a.return,a=a.sibling}e.stateNode=t;t:switch(Ae(t,l,n),l){case"button":case"input":case"select":case"textarea":t=!!n.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&Cl(e)}}return It(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&Cl(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(s(166));if(t=fl.current,Xa(e)){if(t=e.stateNode,l=e.memoizedProps,n=null,a=ze,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}t[ce]=e,t=!!(t.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||Fr(t.nodeValue,l)),t||En(e)}else t=Mc(t).createTextNode(n),t[ce]=e,e.stateNode=t}return It(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=Xa(e),n!==null&&n.dehydrated!==null){if(t===null){if(!a)throw Error(s(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(s(317));a[ce]=e}else wa(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;It(e),a=!1}else ul!==null&&(yf(ul),ul=null),a=!0;if(!a)return e.flags&256?(Ml(e),e):(Ml(e),null)}if(Ml(e),e.flags&128)return e.lanes=l,e;if(l=n!==null,t=t!==null&&t.memoizedState!==null,l){n=e.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool);var u=null;n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==a&&(n.flags|=2048)}return l!==t&&l&&(e.child.flags|=8192),yc(e,e.updateQueue),It(e),null;case 4:return bl(),t===null&&Mf(e.stateNode.containerInfo),It(e),null;case 10:return Ul(e.type),It(e),null;case 19:if($t(ve),a=e.memoizedState,a===null)return It(e),null;if(n=(e.flags&128)!==0,u=a.rendering,u===null)if(n)fu(a,!1);else{if(ae!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(u=Iu(t),u!==null){for(e.flags|=128,fu(a,!1),t=u.updateQueue,e.updateQueue=t,yc(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Or(l,t),l=l.sibling;return Vt(ve,ve.current&1|2),e.child}t=t.sibling}a.tail!==null&&Qe()>mc&&(e.flags|=128,n=!0,fu(a,!1),e.lanes=4194304)}else{if(!n)if(t=Iu(u),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,yc(e,t),fu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!jt)return It(e),null}else 2*Qe()-a.renderingStartTime>mc&&l!==536870912&&(e.flags|=128,n=!0,fu(a,!1),e.lanes=4194304);a.isBackwards?(u.sibling=e.child,e.child=u):(t=a.last,t!==null?t.sibling=u:e.child=u,a.last=u)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Qe(),e.sibling=null,t=ve.current,Vt(ve,n?t&1|2:t&1),e):(It(e),null);case 22:case 23:return Ml(e),gi(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?l&536870912&&!(e.flags&128)&&(It(e),e.subtreeFlags&6&&(e.flags|=8192)):It(e),l=e.updateQueue,l!==null&&yc(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==l&&(e.flags|=2048),t!==null&&$t(An),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Ul(ye),It(e),null;case 25:return null}throw Error(s(156,e.tag))}function eh(t,e){switch(oi(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ul(ye),bl(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return qn(e),null;case 13:if(Ml(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(s(340));wa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return $t(ve),null;case 4:return bl(),null;case 10:return Ul(e.type),null;case 22:case 23:return Ml(e),gi(),t!==null&&$t(An),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ul(ye),null;case 25:return null;default:return null}}function Rr(t,e){switch(oi(e),e.tag){case 3:Ul(ye),bl();break;case 26:case 27:case 5:qn(e);break;case 4:bl();break;case 13:Ml(e);break;case 19:$t(ve);break;case 10:Ul(e.type);break;case 22:case 23:Ml(e),gi(),t!==null&&$t(An);break;case 24:Ul(ye)}}var lh={getCacheForType:function(t){var e=Ne(ye),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},nh=typeof WeakMap=="function"?WeakMap:Map,te=0,Jt=null,Dt=null,Ht=0,kt=0,Ge=null,jl=!1,oa=!1,sf=!1,Ll=0,ae=0,ln=0,xn=0,of=0,tl=0,ra=0,su=null,yl=null,rf=!1,df=0,mc=1/0,bc=null,nn=null,Sc=!1,Hn=null,ou=0,hf=0,gf=null,ru=0,vf=null;function Xe(){if(te&2&&Ht!==0)return Ht&-Ht;if(L.T!==null){var t=la;return t!==0?t:Af()}return Uu()}function Dr(){tl===0&&(tl=!(Ht&536870912)||jt?ot():536870912);var t=We.current;return t!==null&&(t.flags|=32),tl}function Ue(t,e,l){(t===Jt&&kt===2||t.cancelPendingCommit!==null)&&(da(t,0),ql(t,Ht,tl,!1)),He(t,l),(!(te&2)||t!==Jt)&&(t===Jt&&(!(te&2)&&(xn|=l),ae===4&&ql(t,Ht,tl,!1)),ml(t))}function zr(t,e,l){if(te&6)throw Error(s(327));var n=!l&&(e&60)===0&&(e&t.expiredLanes)===0||j(t,e),a=n?ch(t,e):Sf(t,e,!0),u=n;do{if(a===0){oa&&!n&&ql(t,e,0,!1);break}else if(a===6)ql(t,e,0,!jl);else{if(l=t.current.alternate,u&&!ah(l)){a=Sf(t,e,!1),u=!1;continue}if(a===2){if(u=e,t.errorRecoveryDisabledLanes&u)var i=0;else i=t.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){e=i;t:{var f=t;a=su;var o=f.current.memoizedState.isDehydrated;if(o&&(da(f,i).flags|=256),i=Sf(f,i,!1),i!==2){if(sf&&!o){f.errorRecoveryDisabledLanes|=u,xn|=u,a=4;break t}u=yl,yl=a,u!==null&&yf(u)}a=i}if(u=!1,a!==2)continue}}if(a===1){da(t,0),ql(t,e,0,!0);break}t:{switch(n=t,a){case 0:case 1:throw Error(s(345));case 4:if((e&4194176)===e){ql(n,e,tl,!jl);break t}break;case 2:yl=null;break;case 3:case 5:break;default:throw Error(s(329))}if(n.finishedWork=l,n.finishedLanes=e,(e&62914560)===e&&(u=df+300-Qe(),10l?32:l,L.T=null,Hn===null)var u=!1;else{l=gf,gf=null;var i=Hn,f=ou;if(Hn=null,ou=0,te&6)throw Error(s(331));var o=te;if(te|=4,Ar(i.current),pr(i,i.current,f,l),te=o,du(0,!1),_e&&typeof _e.onPostCommitFiberRoot=="function")try{_e.onPostCommitFiberRoot(Sl,i)}catch{}u=!0}return u}finally{q.p=a,L.T=n,Yr(t,e)}}return!1}function Gr(t,e,l){e=Je(l,e),e=ji(t.stateNode,e,2),t=Fl(t,e,2),t!==null&&(He(t,2),ml(t))}function Zt(t,e,l){if(t.tag===3)Gr(t,t,l);else for(;e!==null;){if(e.tag===3){Gr(e,t,l);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(nn===null||!nn.has(n))){t=Je(l,t),l=Qo(2),n=Fl(e,l,2),n!==null&&(Zo(l,n,e,t),He(n,2),ml(n));break}}e=e.return}}function pf(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new nh;var a=new Set;n.set(e,a)}else a=n.get(e),a===void 0&&(a=new Set,n.set(e,a));a.has(l)||(sf=!0,a.add(l),t=sh.bind(null,t,e,l),e.then(t,t))}function sh(t,e,l){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Jt===t&&(Ht&l)===l&&(ae===4||ae===3&&(Ht&62914560)===Ht&&300>Qe()-df?!(te&2)&&da(t,0):of|=l,ra===Ht&&(ra=0)),ml(t)}function Xr(t,e){e===0&&(e=ht()),t=Ql(t,e),t!==null&&(He(t,e),ml(t))}function oh(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Xr(t,l)}function rh(t,e){var l=0;switch(t.tag){case 13:var n=t.stateNode,a=t.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(s(314))}n!==null&&n.delete(e),Xr(t,l)}function dh(t,e){return Yn(t,e)}var Tc=null,va=null,Ef=!1,Ac=!1,Tf=!1,Bn=0;function ml(t){t!==va&&t.next===null&&(va===null?Tc=va=t:va=va.next=t),Ac=!0,Ef||(Ef=!0,gh(hh))}function du(t,e){if(!Tf&&Ac){Tf=!0;do for(var l=!1,n=Tc;n!==null;){if(t!==0){var a=n.pendingLanes;if(a===0)var u=0;else{var i=n.suspendedLanes,f=n.pingedLanes;u=(1<<31-Re(42|t)+1)-1,u&=a&~(i&~f),u=u&201326677?u&201326677|1:u?u|2:0}u!==0&&(l=!0,Zr(n,u))}else u=Ht,u=Wt(n,n===Jt?u:0),!(u&3)||j(n,u)||(l=!0,Zr(n,u));n=n.next}while(l);Tf=!1}}function hh(){Ac=Ef=!1;var t=0;Bn!==0&&(Th()&&(t=Bn),Bn=0);for(var e=Qe(),l=null,n=Tc;n!==null;){var a=n.next,u=wr(n,e);u===0?(n.next=null,l===null?Tc=a:l.next=a,a===null&&(va=l)):(l=n,(t!==0||u&3)&&(Ac=!0)),n=a}du(t)}function wr(t,e){for(var l=t.suspendedLanes,n=t.pingedLanes,a=t.expirationTimes,u=t.pendingLanes&-62914561;0"u"?null:document;function ud(t,e,l){var n=ma;if(n&&typeof e=="string"&&e){var a=pe(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),ad.has(a)||(ad.add(a),t={rel:t,crossOrigin:l,href:e},n.querySelector(a)===null&&(e=n.createElement("link"),Ae(e,"link",t),ie(e),n.head.appendChild(e)))}}function zh(t){Yl.D(t),ud("dns-prefetch",t,null)}function Uh(t,e){Yl.C(t,e),ud("preconnect",t,e)}function xh(t,e,l){Yl.L(t,e,l);var n=ma;if(n&&t&&e){var a='link[rel="preload"][as="'+pe(e)+'"]';e==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+pe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+pe(l.imageSizes)+'"]')):a+='[href="'+pe(t)+'"]';var u=a;switch(e){case"style":u=ba(t);break;case"script":u=Sa(t)}el.has(u)||(t=st({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),el.set(u,t),n.querySelector(a)!==null||e==="style"&&n.querySelector(vu(u))||e==="script"&&n.querySelector(yu(u))||(e=n.createElement("link"),Ae(e,"link",t),ie(e),n.head.appendChild(e)))}}function Hh(t,e){Yl.m(t,e);var l=ma;if(l&&t){var n=e&&typeof e.as=="string"?e.as:"script",a='link[rel="modulepreload"][as="'+pe(n)+'"][href="'+pe(t)+'"]',u=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Sa(t)}if(!el.has(u)&&(t=st({rel:"modulepreload",href:t},e),el.set(u,t),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(yu(u)))return}n=l.createElement("link"),Ae(n,"link",t),ie(n),l.head.appendChild(n)}}}function Bh(t,e,l){Yl.S(t,e,l);var n=ma;if(n&&t){var a=Tl(n).hoistableStyles,u=ba(t);e=e||"default";var i=a.get(u);if(!i){var f={loading:0,preload:null};if(i=n.querySelector(vu(u)))f.loading=5;else{t=st({rel:"stylesheet",href:t,"data-precedence":e},l),(l=el.get(u))&&jf(t,l);var o=i=n.createElement("link");ie(o),Ae(o,"link",t),o._p=new Promise(function(h,T){o.onload=h,o.onerror=T}),o.addEventListener("load",function(){f.loading|=1}),o.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Dc(i,e,n)}i={type:"stylesheet",instance:i,count:1,state:f},a.set(u,i)}}}function Ch(t,e){Yl.X(t,e);var l=ma;if(l&&t){var n=Tl(l).hoistableScripts,a=Sa(t),u=n.get(a);u||(u=l.querySelector(yu(a)),u||(t=st({src:t,async:!0},e),(e=el.get(a))&&Lf(t,e),u=l.createElement("script"),ie(u),Ae(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function jh(t,e){Yl.M(t,e);var l=ma;if(l&&t){var n=Tl(l).hoistableScripts,a=Sa(t),u=n.get(a);u||(u=l.querySelector(yu(a)),u||(t=st({src:t,async:!0,type:"module"},e),(e=el.get(a))&&Lf(t,e),u=l.createElement("script"),ie(u),Ae(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function cd(t,e,l,n){var a=(a=fl.current)?Rc(a):null;if(!a)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=ba(l.href),l=Tl(a).hoistableStyles,n=l.get(e),n||(n={type:"style",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=ba(l.href);var u=Tl(a).hoistableStyles,i=u.get(t);if(i||(a=a.ownerDocument||a,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,i),(u=a.querySelector(vu(t)))&&!u._p&&(i.instance=u,i.state.loading=5),el.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},el.set(t,l),u||Lh(a,t,l,i.state))),e&&n===null)throw Error(s(528,""));return i}if(e&&n!==null)throw Error(s(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Sa(l),l=Tl(a).hoistableScripts,n=l.get(e),n||(n={type:"script",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function ba(t){return'href="'+pe(t)+'"'}function vu(t){return'link[rel="stylesheet"]['+t+"]"}function id(t){return st({},t,{"data-precedence":t.precedence,precedence:null})}function Lh(t,e,l,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),Ae(e,"link",l),ie(e),t.head.appendChild(e))}function Sa(t){return'[src="'+pe(t)+'"]'}function yu(t){return"script[async]"+t}function fd(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+pe(l.href)+'"]');if(n)return e.instance=n,ie(n),n;var a=st({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),ie(n),Ae(n,"style",a),Dc(n,l.precedence,t),e.instance=n;case"stylesheet":a=ba(l.href);var u=t.querySelector(vu(a));if(u)return e.state.loading|=4,e.instance=u,ie(u),u;n=id(l),(a=el.get(a))&&jf(n,a),u=(t.ownerDocument||t).createElement("link"),ie(u);var i=u;return i._p=new Promise(function(f,o){i.onload=f,i.onerror=o}),Ae(u,"link",n),e.state.loading|=4,Dc(u,l.precedence,t),e.instance=u;case"script":return u=Sa(l.src),(a=t.querySelector(yu(u)))?(e.instance=a,ie(a),a):(n=l,(a=el.get(u))&&(n=st({},l),Lf(n,a)),t=t.ownerDocument||t,a=t.createElement("script"),ie(a),Ae(a,"link",n),t.head.appendChild(a),e.instance=a);case"void":return null;default:throw Error(s(443,e.type))}else e.type==="stylesheet"&&!(e.state.loading&4)&&(n=e.instance,e.state.loading|=4,Dc(n,l.precedence,t));return e.instance}function Dc(t,e,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,u=a,i=0;i title"):null)}function qh(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function rd(t){return!(t.type==="stylesheet"&&!(t.state.loading&3))}var mu=null;function Yh(){}function Gh(t,e,l){if(mu===null)throw Error(s(475));var n=mu;if(e.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&!(e.state.loading&4)){if(e.instance===null){var a=ba(l.href),u=t.querySelector(vu(a));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(n.count++,n=Uc.bind(n),t.then(n,n)),e.state.loading|=4,e.instance=u,ie(u);return}u=t.ownerDocument||t,l=id(l),(a=el.get(a))&&jf(l,a),u=u.createElement("link"),ie(u);var i=u;i._p=new Promise(function(f,o){i.onload=f,i.onerror=o}),Ae(u,"link",l),e.instance=u}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(e,t),(t=e.state.preload)&&!(e.state.loading&3)&&(n.count++,e=Uc.bind(n),t.addEventListener("load",e),t.addEventListener("error",e))}}function Xh(){if(mu===null)throw Error(s(475));var t=mu;return t.stylesheets&&t.count===0&&qf(t,t.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(v){console.error(v)}}return c(),Jf.exports=ag(),Jf.exports}var cg=ug();function ig(c,v){if(c==null)return{};var b={};for(var s in c)if({}.hasOwnProperty.call(c,s)){if(v.includes(s))continue;b[s]=c[s]}return b}function fg(c,v){if(c==null)return{};var b,s,A=ig(c,v);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(c);for(s=0;sc.length)&&(v=c.length);for(var b=0,s=Array(v);b=4)return[c[0],c[1],c[2],c[3],"".concat(c[0],".").concat(c[1]),"".concat(c[0],".").concat(c[2]),"".concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[0]),"".concat(c[1],".").concat(c[2]),"".concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[1]),"".concat(c[2],".").concat(c[3]),"".concat(c[3],".").concat(c[0]),"".concat(c[3],".").concat(c[1]),"".concat(c[3],".").concat(c[2]),"".concat(c[0],".").concat(c[1],".").concat(c[2]),"".concat(c[0],".").concat(c[1],".").concat(c[3]),"".concat(c[0],".").concat(c[2],".").concat(c[1]),"".concat(c[0],".").concat(c[2],".").concat(c[3]),"".concat(c[0],".").concat(c[3],".").concat(c[1]),"".concat(c[0],".").concat(c[3],".").concat(c[2]),"".concat(c[1],".").concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[2],".").concat(c[0]),"".concat(c[1],".").concat(c[2],".").concat(c[3]),"".concat(c[1],".").concat(c[3],".").concat(c[0]),"".concat(c[1],".").concat(c[3],".").concat(c[2]),"".concat(c[2],".").concat(c[0],".").concat(c[1]),"".concat(c[2],".").concat(c[0],".").concat(c[3]),"".concat(c[2],".").concat(c[1],".").concat(c[0]),"".concat(c[2],".").concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[3],".").concat(c[0]),"".concat(c[2],".").concat(c[3],".").concat(c[1]),"".concat(c[3],".").concat(c[0],".").concat(c[1]),"".concat(c[3],".").concat(c[0],".").concat(c[2]),"".concat(c[3],".").concat(c[1],".").concat(c[0]),"".concat(c[3],".").concat(c[1],".").concat(c[2]),"".concat(c[3],".").concat(c[2],".").concat(c[0]),"".concat(c[3],".").concat(c[2],".").concat(c[1]),"".concat(c[0],".").concat(c[1],".").concat(c[2],".").concat(c[3]),"".concat(c[0],".").concat(c[1],".").concat(c[3],".").concat(c[2]),"".concat(c[0],".").concat(c[2],".").concat(c[1],".").concat(c[3]),"".concat(c[0],".").concat(c[2],".").concat(c[3],".").concat(c[1]),"".concat(c[0],".").concat(c[3],".").concat(c[1],".").concat(c[2]),"".concat(c[0],".").concat(c[3],".").concat(c[2],".").concat(c[1]),"".concat(c[1],".").concat(c[0],".").concat(c[2],".").concat(c[3]),"".concat(c[1],".").concat(c[0],".").concat(c[3],".").concat(c[2]),"".concat(c[1],".").concat(c[2],".").concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[2],".").concat(c[3],".").concat(c[0]),"".concat(c[1],".").concat(c[3],".").concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[3],".").concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[0],".").concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[0],".").concat(c[3],".").concat(c[1]),"".concat(c[2],".").concat(c[1],".").concat(c[0],".").concat(c[3]),"".concat(c[2],".").concat(c[1],".").concat(c[3],".").concat(c[0]),"".concat(c[2],".").concat(c[3],".").concat(c[0],".").concat(c[1]),"".concat(c[2],".").concat(c[3],".").concat(c[1],".").concat(c[0]),"".concat(c[3],".").concat(c[0],".").concat(c[1],".").concat(c[2]),"".concat(c[3],".").concat(c[0],".").concat(c[2],".").concat(c[1]),"".concat(c[3],".").concat(c[1],".").concat(c[0],".").concat(c[2]),"".concat(c[3],".").concat(c[1],".").concat(c[2],".").concat(c[0]),"".concat(c[3],".").concat(c[2],".").concat(c[0],".").concat(c[1]),"".concat(c[3],".").concat(c[2],".").concat(c[1],".").concat(c[0])]}var Ff={};function yg(c){if(c.length===0||c.length===1)return c;var v=c.join(".");return Ff[v]||(Ff[v]=vg(c)),Ff[v]}function mg(c){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=arguments.length>2?arguments[2]:void 0,s=c.filter(function(N){return N!=="token"}),A=yg(s);return A.reduce(function(N,Y){return pa(pa({},N),b[Y])},v)}function Bd(c){return c.join(" ")}function bg(c,v){var b=0;return function(s){return b+=1,s.map(function(A,N){return Zd({node:A,stylesheet:c,useInlineStyles:v,key:"code-segment-".concat(b,"-").concat(N)})})}}function Zd(c){var v=c.node,b=c.stylesheet,s=c.style,A=s===void 0?{}:s,N=c.useInlineStyles,Y=c.key,X=v.properties,z=v.type,p=v.tagName,B=v.value;if(z==="text")return B;if(p){var w=bg(b,N),M;if(!N)M=pa(pa({},X),{},{className:Bd(X.className)});else{var ct=Object.keys(b).reduce(function(C,J){return J.split(".").forEach(function(at){C.includes(at)||C.push(at)}),C},[]),ut=X.className&&X.className.includes("token")?["token"]:[],St=X.className&&ut.concat(X.className.filter(function(C){return!ct.includes(C)}));M=pa(pa({},X),{},{className:Bd(St)||void 0,style:mg(X.className,Object.assign({},X.style,A),b)})}var G=w(v.children);return on.createElement(p,as({key:Y},M),G)}}const Sg=function(c,v){var b=c.listLanguages();return b.indexOf(v)!==-1};var pg=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Cd(c,v){var b=Object.keys(c);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(c);v&&(s=s.filter(function(A){return Object.getOwnPropertyDescriptor(c,A).enumerable})),b.push.apply(b,s)}return b}function rn(c){for(var v=1;v1&&arguments[1]!==void 0?arguments[1]:[],b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],s=0;s2&&arguments[2]!==void 0?arguments[2]:[];return Xc({children:V,lineNumber:F,lineNumberStyle:X,largestLineNumber:Y,showInlineLineNumbers:A,lineProps:b,className:Nt,showLineNumbers:s,wrapLongLines:z,wrapLines:v})}function St(V,F){if(s&&F&&A){var Nt=Kd(X,F,Y);V.unshift(Vd(F,Nt))}return V}function G(V,F){var Nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return v||Nt.length>0?ut(V,F,Nt):St(V,F)}for(var C=function(){var F=B[ct],Nt=F.children[0].value,qt=Tg(Nt);if(qt){var L=Nt.split(` `);L.forEach(function(st,Yt){var zt=s&&w.length+N,gt={type:"text",value:"".concat(st,` -`)};if(Yt===0){var At=B.slice(M+1,ct).concat(Xc({children:[gt],className:F.properties.className})),rt=G(At,zt);w.push(rt)}else if(Yt===L.length-1){var x=B[ct+1]&&B[ct+1].children&&B[ct+1].children[0],P={type:"text",value:"".concat(st)};if(x){var Q=Xc({children:[P],className:F.properties.className});B.splice(ct+1,0,Q)}else{var mt=[P],r=G(mt,zt,F.properties.className);w.push(r)}}else{var D=[gt],lt=G(D,zt,F.properties.className);w.push(lt)}}),M=ct}ct++};ct/g,">").replace(/"/g,""").replace(/'/g,"'")}function N(y,...O){const H=Object.create(null);for(const tt in y)H[tt]=y[tt];return O.forEach(function(tt){for(const Ut in tt)H[Ut]=tt[Ut]}),H}const Y="",X=y=>!!y.kind;class z{constructor(O,H){this.buffer="",this.classPrefix=H.classPrefix,O.walk(this)}addText(O){this.buffer+=A(O)}openNode(O){if(!X(O))return;let H=O.kind;O.sublanguage||(H=`${this.classPrefix}${H}`),this.span(H)}closeNode(O){X(O)&&(this.buffer+=Y)}value(){return this.buffer}span(O){this.buffer+=``}}class E{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(O){this.top.children.push(O)}openNode(O){const H={kind:O,children:[]};this.add(H),this.stack.push(H)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(O){return this.constructor._walk(O,this.rootNode)}static _walk(O,H){return typeof H=="string"?O.addText(H):H.children&&(O.openNode(H),H.children.forEach(tt=>this._walk(O,tt)),O.closeNode(H)),O}static _collapse(O){typeof O!="string"&&O.children&&(O.children.every(H=>typeof H=="string")?O.children=[O.children.join("")]:O.children.forEach(H=>{E._collapse(H)}))}}class B extends E{constructor(O){super(),this.options=O}addKeyword(O,H){O!==""&&(this.openNode(H),this.addText(O),this.closeNode())}addText(O){O!==""&&this.add(O)}addSublanguage(O,H){const tt=O.root;tt.kind=H,tt.sublanguage=!0,this.add(tt)}toHTML(){return new z(this,this.options).value()}finalize(){return!0}}function w(y){return new RegExp(y.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function M(y){return y?typeof y=="string"?y:y.source:null}function ct(...y){return y.map(H=>M(H)).join("")}function ut(...y){return"("+y.map(H=>M(H)).join("|")+")"}function St(y){return new RegExp(y.toString()+"|").exec("").length-1}function G(y,O){const H=y&&y.exec(O);return H&&H.index===0}const C=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function J(y,O="|"){let H=0;return y.map(tt=>{H+=1;const Ut=H;let pt=M(tt),Wt="";for(;pt.length>0;){const j=C.exec(pt);if(!j){Wt+=pt;break}Wt+=pt.substring(0,j.index),pt=pt.substring(j.index+j[0].length),j[0][0]==="\\"&&j[1]?Wt+="\\"+String(Number(j[1])+Ut):(Wt+=j[0],j[0]==="("&&H++)}return Wt}).map(tt=>`(${tt})`).join(O)}const at=/\b\B/,Bt="[a-zA-Z]\\w*",V="[a-zA-Z_]\\w*",F="\\b\\d+(\\.\\d+)?",Nt="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",qt="\\b(0b[01]+)",L="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",st=(y={})=>{const O=/^#![ ]*\//;return y.binary&&(y.begin=ct(O,/.*\b/,y.binary,/\b.*/)),N({className:"meta",begin:O,end:/$/,relevance:0,"on:begin":(H,tt)=>{H.index!==0&&tt.ignoreMatch()}},y)},Yt={begin:"\\\\[\\s\\S]",relevance:0},zt={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Yt]},gt={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Yt]},At={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},rt=function(y,O,H={}){const tt=N({className:"comment",begin:y,end:O,contains:[]},H);return tt.contains.push(At),tt.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),tt},x=rt("//","$"),P=rt("/\\*","\\*/"),Q=rt("#","$"),mt={className:"number",begin:F,relevance:0},r={className:"number",begin:Nt,relevance:0},D={className:"number",begin:qt,relevance:0},lt={className:"number",begin:F+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},I={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Yt,{begin:/\[/,end:/\]/,relevance:0,contains:[Yt]}]}]},q={className:"title",begin:Bt,relevance:0},Et={className:"title",begin:V,relevance:0},ft={begin:"\\.\\s*"+V,relevance:0};var Mt=Object.freeze({__proto__:null,MATCH_NOTHING_RE:at,IDENT_RE:Bt,UNDERSCORE_IDENT_RE:V,NUMBER_RE:F,C_NUMBER_RE:Nt,BINARY_NUMBER_RE:qt,RE_STARTERS_RE:L,SHEBANG:st,BACKSLASH_ESCAPE:Yt,APOS_STRING_MODE:zt,QUOTE_STRING_MODE:gt,PHRASAL_WORDS_MODE:At,COMMENT:rt,C_LINE_COMMENT_MODE:x,C_BLOCK_COMMENT_MODE:P,HASH_COMMENT_MODE:Q,NUMBER_MODE:mt,C_NUMBER_MODE:r,BINARY_NUMBER_MODE:D,CSS_NUMBER_MODE:lt,REGEXP_MODE:I,TITLE_MODE:q,UNDERSCORE_TITLE_MODE:Et,METHOD_GUARD:ft,END_SAME_AS_BEGIN:function(y){return Object.assign(y,{"on:begin":(O,H)=>{H.data._beginMatch=O[1]},"on:end":(O,H)=>{H.data._beginMatch!==O[1]&&H.ignoreMatch()}})}});function $t(y,O){y.input[y.index-1]==="."&&O.ignoreMatch()}function Vt(y,O){O&&y.beginKeywords&&(y.begin="\\b("+y.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",y.__beforeBegin=$t,y.keywords=y.keywords||y.beginKeywords,delete y.beginKeywords,y.relevance===void 0&&(y.relevance=0))}function we(y,O){Array.isArray(y.illegal)&&(y.illegal=ut(...y.illegal))}function dn(y,O){if(y.match){if(y.begin||y.end)throw new Error("begin & end are not supported with match");y.begin=y.match,delete y.match}}function fl(y,O){y.relevance===void 0&&(y.relevance=1)}const jn=["of","and","for","in","not","or","if","then","parent","list","value"],Ln="keyword";function bl(y,O,H=Ln){const tt={};return typeof y=="string"?Ut(H,y.split(" ")):Array.isArray(y)?Ut(H,y):Object.keys(y).forEach(function(pt){Object.assign(tt,bl(y[pt],O,pt))}),tt;function Ut(pt,Wt){O&&(Wt=Wt.map(j=>j.toLowerCase())),Wt.forEach(function(j){const k=j.split("|");tt[k[0]]=[pt,pa(k[0],k[1])]})}}function pa(y,O){return O?Number(O):qn(y)?0:1}function qn(y){return jn.includes(y.toLowerCase())}function Ta(y,{plugins:O}){function H(j,k){return new RegExp(M(j),"m"+(y.case_insensitive?"i":"")+(k?"g":""))}class tt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(k,ot){ot.position=this.position++,this.matchIndexes[this.matchAt]=ot,this.regexes.push([ot,k]),this.matchAt+=St(k)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const k=this.regexes.map(ot=>ot[1]);this.matcherRe=H(J(k),!0),this.lastIndex=0}exec(k){this.matcherRe.lastIndex=this.lastIndex;const ot=this.matcherRe.exec(k);if(!ot)return null;const ht=ot.findIndex((He,_a)=>_a>0&&He!==void 0),Kt=this.matchIndexes[ht];return ot.splice(0,ht),Object.assign(ot,Kt)}}class Ut{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(k){if(this.multiRegexes[k])return this.multiRegexes[k];const ot=new tt;return this.rules.slice(k).forEach(([ht,Kt])=>ot.addRule(ht,Kt)),ot.compile(),this.multiRegexes[k]=ot,ot}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(k,ot){this.rules.push([k,ot]),ot.type==="begin"&&this.count++}exec(k){const ot=this.getMatcher(this.regexIndex);ot.lastIndex=this.lastIndex;let ht=ot.exec(k);if(this.resumingScanAtSamePosition()&&!(ht&&ht.index===this.lastIndex)){const Kt=this.getMatcher(0);Kt.lastIndex=this.lastIndex+1,ht=Kt.exec(k)}return ht&&(this.regexIndex+=ht.position+1,this.regexIndex===this.count&&this.considerAll()),ht}}function pt(j){const k=new Ut;return j.contains.forEach(ot=>k.addRule(ot.begin,{rule:ot,type:"begin"})),j.terminatorEnd&&k.addRule(j.terminatorEnd,{type:"end"}),j.illegal&&k.addRule(j.illegal,{type:"illegal"}),k}function Wt(j,k){const ot=j;if(j.isCompiled)return ot;[dn].forEach(Kt=>Kt(j,k)),y.compilerExtensions.forEach(Kt=>Kt(j,k)),j.__beforeBegin=null,[Vt,we,fl].forEach(Kt=>Kt(j,k)),j.isCompiled=!0;let ht=null;if(typeof j.keywords=="object"&&(ht=j.keywords.$pattern,delete j.keywords.$pattern),j.keywords&&(j.keywords=bl(j.keywords,y.case_insensitive)),j.lexemes&&ht)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return ht=ht||j.lexemes||/\w+/,ot.keywordPatternRe=H(ht,!0),k&&(j.begin||(j.begin=/\B|\b/),ot.beginRe=H(j.begin),j.endSameAsBegin&&(j.end=j.begin),!j.end&&!j.endsWithParent&&(j.end=/\B|\b/),j.end&&(ot.endRe=H(j.end)),ot.terminatorEnd=M(j.end)||"",j.endsWithParent&&k.terminatorEnd&&(ot.terminatorEnd+=(j.end?"|":"")+k.terminatorEnd)),j.illegal&&(ot.illegalRe=H(j.illegal)),j.contains||(j.contains=[]),j.contains=[].concat(...j.contains.map(function(Kt){return Aa(Kt==="self"?j:Kt)})),j.contains.forEach(function(Kt){Wt(Kt,ot)}),j.starts&&Wt(j.starts,k),ot.matcher=pt(ot),ot}if(y.compilerExtensions||(y.compilerExtensions=[]),y.contains&&y.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return y.classNameAliases=N(y.classNameAliases||{}),Wt(y)}function Yn(y){return y?y.endsWithParent||Yn(y.starts):!1}function Aa(y){return y.variants&&!y.cachedVariants&&(y.cachedVariants=y.variants.map(function(O){return N(y,{variants:null},O)})),y.cachedVariants?y.cachedVariants:Yn(y)?N(y,{starts:y.starts?N(y.starts):null}):Object.isFrozen(y)?N(y):y}var wc="10.7.3";function Qc(y){return!!(y||y==="")}function Qe(y){const O={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!y.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,A(this.code);let tt={};return this.autoDetect?(tt=y.highlightAuto(this.code),this.detectedLanguage=tt.language):(tt=y.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),tt.value},autoDetect(){return!this.language||Qc(this.autodetect)},ignoreIllegals(){return!0}},render(tt){return tt("pre",{},[tt("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:O,VuePlugin:{install(tt){tt.component("highlightjs",O)}}}}const Zc={"after:highlightElement":({el:y,result:O,text:H})=>{const tt=Oa(y);if(!tt.length)return;const Ut=document.createElement("div");Ut.innerHTML=O.value,O.value=Xn(tt,Oa(Ut),H)}};function Gn(y){return y.nodeName.toLowerCase()}function Oa(y){const O=[];return function H(tt,Ut){for(let pt=tt.firstChild;pt;pt=pt.nextSibling)pt.nodeType===3?Ut+=pt.nodeValue.length:pt.nodeType===1&&(O.push({event:"start",offset:Ut,node:pt}),Ut=H(pt,Ut),Gn(pt).match(/br|hr|img|input/)||O.push({event:"stop",offset:Ut,node:pt}));return Ut}(y,0),O}function Xn(y,O,H){let tt=0,Ut="";const pt=[];function Wt(){return!y.length||!O.length?y.length?y:O:y[0].offset!==O[0].offset?y[0].offset"}function k(ht){Ut+=""}function ot(ht){(ht.event==="start"?j:k)(ht.node)}for(;y.length||O.length;){let ht=Wt();if(Ut+=A(H.substring(tt,ht[0].offset)),tt=ht[0].offset,ht===y){pt.reverse().forEach(k);do ot(ht.splice(0,1)[0]),ht=Wt();while(ht===y&&ht.length&&ht[0].offset===tt);pt.reverse().forEach(j)}else ht[0].event==="start"?pt.push(ht[0].node):pt.pop(),ot(ht.splice(0,1)[0])}return Ut+A(H.substr(tt))}const Nu={},wn=y=>{console.error(y)},Mu=(y,...O)=>{console.log(`WARN: ${y}`,...O)},xe=(y,O)=>{Nu[`${y}/${O}`]||(console.log(`Deprecated as of ${y}. ${O}`),Nu[`${y}/${O}`]=!0)},Sl=A,Oe=N,Ru=Symbol("nomatch");var Re=function(y){const O=Object.create(null),H=Object.create(null),tt=[];let Ut=!0;const pt=/(^(<[^>]+>|\t|)+|\n)/gm,Wt="Could not find the language '{}', did you forget to load/include a language module?",j={disableAutodetect:!0,name:"Plain text",contains:[]};let k={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:B};function ot(U){return k.noHighlightRe.test(U)}function ht(U){let K=U.className+" ";K+=U.parentNode?U.parentNode.className:"";const Rt=k.languageDetectRe.exec(K);if(Rt){const Gt=De(Rt[1]);return Gt||(Mu(Wt.replace("{}",Rt[1])),Mu("Falling back to no-highlight mode for this block.",U)),Gt?Rt[1]:"no-highlight"}return K.split(/\s+/).find(Gt=>ot(Gt)||De(Gt))}function Kt(U,K,Rt,Gt){let Ft="",Ve="";typeof K=="object"?(Ft=U,Rt=K.ignoreIllegals,Ve=K.language,Gt=void 0):(xe("10.7.0","highlight(lang, code, ...args) has been deprecated."),xe("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),Ve=U,Ft=K);const re={code:Ft,language:Ve};Ze("before:highlight",re);const Pt=re.result?re.result:He(re.language,re.code,Rt,Gt);return Pt.code=re.code,Ze("after:highlight",Pt),Pt}function He(U,K,Rt,Gt){function Ft($,nt){const vt=Al.case_insensitive?nt[0].toLowerCase():nt[0];return Object.prototype.hasOwnProperty.call($.keywords,vt)&&$.keywords[vt]}function Ve(){if(!bt.keywords){ee.addText(le);return}let $=0;bt.keywordPatternRe.lastIndex=0;let nt=bt.keywordPatternRe.exec(le),vt="";for(;nt;){vt+=le.substring($,nt.index);const Ct=Ft(bt,nt);if(Ct){const[fe,nl]=Ct;if(ee.addText(vt),vt="",gn+=nl,fe.startsWith("_"))vt+=nt[0];else{const Lu=Al.classNameAliases[fe]||fe;ee.addKeyword(nt[0],Lu)}}else vt+=nt[0];$=bt.keywordPatternRe.lastIndex,nt=bt.keywordPatternRe.exec(le)}vt+=le.substr($),ee.addText(vt)}function re(){if(le==="")return;let $=null;if(typeof bt.subLanguage=="string"){if(!O[bt.subLanguage]){ee.addText(le);return}$=He(bt.subLanguage,le,!0,za[bt.subLanguage]),za[bt.subLanguage]=$.top}else $=Qn(le,bt.subLanguage.length?bt.subLanguage:null);bt.relevance>0&&(gn+=$.relevance),ee.addSublanguage($.emitter,$.language)}function Pt(){bt.subLanguage!=null?re():Ve(),le=""}function je($){return $.className&&ee.openNode(Al.classNameAliases[$.className]||$.className),bt=Object.create($,{parent:{value:bt}}),bt}function rl($,nt,vt){let Ct=G($.endRe,vt);if(Ct){if($["on:end"]){const fe=new s($);$["on:end"](nt,fe),fe.isMatchIgnored&&(Ct=!1)}if(Ct){for(;$.endsParent&&$.parent;)$=$.parent;return $}}if($.endsWithParent)return rl($.parent,nt,vt)}function Zn($){return bt.matcher.regexIndex===0?(le+=$[0],1):(Ua=!0,0)}function ju($){const nt=$[0],vt=$.rule,Ct=new s(vt),fe=[vt.__beforeBegin,vt["on:begin"]];for(const nl of fe)if(nl&&(nl($,Ct),Ct.isMatchIgnored))return Zn(nt);return vt&&vt.endSameAsBegin&&(vt.endRe=w(nt)),vt.skip?le+=nt:(vt.excludeBegin&&(le+=nt),Pt(),!vt.returnBegin&&!vt.excludeBegin&&(le=nt)),je(vt),vt.returnBegin?0:nt.length}function Vn($){const nt=$[0],vt=K.substr($.index),Ct=rl(bt,$,vt);if(!Ct)return Ru;const fe=bt;fe.skip?le+=nt:(fe.returnEnd||fe.excludeEnd||(le+=nt),Pt(),fe.excludeEnd&&(le=nt));do bt.className&&ee.closeNode(),!bt.skip&&!bt.subLanguage&&(gn+=bt.relevance),bt=bt.parent;while(bt!==Ct.parent);return Ct.starts&&(Ct.endSameAsBegin&&(Ct.starts.endRe=Ct.endRe),je(Ct.starts)),fe.returnEnd?0:nt.length}function Kc(){const $=[];for(let nt=bt;nt!==Al;nt=nt.parent)nt.className&&$.unshift(nt.className);$.forEach(nt=>ee.openNode(nt))}let Ee={};function Kn($,nt){const vt=nt&&nt[0];if(le+=$,vt==null)return Pt(),0;if(Ee.type==="begin"&&nt.type==="end"&&Ee.index===nt.index&&vt===""){if(le+=K.slice(nt.index,nt.index+1),!Ut){const Ct=new Error("0 width match regex");throw Ct.languageName=U,Ct.badRule=Ee.rule,Ct}return 1}if(Ee=nt,nt.type==="begin")return ju(nt);if(nt.type==="illegal"&&!Rt){const Ct=new Error('Illegal lexeme "'+vt+'" for mode "'+(bt.className||"")+'"');throw Ct.mode=bt,Ct}else if(nt.type==="end"){const Ct=Vn(nt);if(Ct!==Ru)return Ct}if(nt.type==="illegal"&&vt==="")return 1;if(vn>1e5&&vn>nt.index*3)throw new Error("potential infinite loop, way more iterations than matches");return le+=vt,vt.length}const Al=De(U);if(!Al)throw wn(Wt.replace("{}",U)),new Error('Unknown language: "'+U+'"');const Da=Ta(Al,{plugins:tt});let dl="",bt=Gt||Da;const za={},ee=new k.__emitter(k);Kc();let le="",gn=0,Ol=0,vn=0,Ua=!1;try{for(bt.matcher.considerAll();;){vn++,Ua?Ua=!1:bt.matcher.considerAll(),bt.matcher.lastIndex=Ol;const $=bt.matcher.exec(K);if(!$)break;const nt=K.substring(Ol,$.index),vt=Kn(nt,$);Ol=$.index+vt}return Kn(K.substr(Ol)),ee.closeAllNodes(),ee.finalize(),dl=ee.toHTML(),{relevance:Math.floor(gn),value:dl,language:U,illegal:!1,emitter:ee,top:bt}}catch($){if($.message&&$.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:$.message,context:K.slice(Ol-100,Ol+100),mode:$.mode},sofar:dl,relevance:0,value:Sl(K),emitter:ee};if(Ut)return{illegal:!1,relevance:0,value:Sl(K),emitter:ee,language:U,top:bt,errorRaised:$};throw $}}function _a(U){const K={relevance:0,emitter:new k.__emitter(k),value:Sl(U),illegal:!1,top:j};return K.emitter.addText(U),K}function Qn(U,K){K=K||k.languages||Object.keys(O);const Rt=_a(U),Gt=K.filter(De).filter(ie).map(je=>He(je,U,!1));Gt.unshift(Rt);const Ft=Gt.sort((je,rl)=>{if(je.relevance!==rl.relevance)return rl.relevance-je.relevance;if(je.language&&rl.language){if(De(je.language).supersetOf===rl.language)return 1;if(De(rl.language).supersetOf===je.language)return-1}return 0}),[Ve,re]=Ft,Pt=Ve;return Pt.second_best=re,Pt}function Du(U){return k.tabReplace||k.useBR?U.replace(pt,K=>K===` +`)};if(Yt===0){var At=B.slice(M+1,ct).concat(Xc({children:[gt],className:F.properties.className})),rt=G(At,zt);w.push(rt)}else if(Yt===L.length-1){var x=B[ct+1]&&B[ct+1].children&&B[ct+1].children[0],P={type:"text",value:"".concat(st)};if(x){var Q=Xc({children:[P],className:F.properties.className});B.splice(ct+1,0,Q)}else{var mt=[P],r=G(mt,zt,F.properties.className);w.push(r)}}else{var D=[gt],lt=G(D,zt,F.properties.className);w.push(lt)}}),M=ct}ct++};ct/g,">").replace(/"/g,""").replace(/'/g,"'")}function N(y,..._){const H=Object.create(null);for(const tt in y)H[tt]=y[tt];return _.forEach(function(tt){for(const Ut in tt)H[Ut]=tt[Ut]}),H}const Y="",X=y=>!!y.kind;class z{constructor(_,H){this.buffer="",this.classPrefix=H.classPrefix,_.walk(this)}addText(_){this.buffer+=A(_)}openNode(_){if(!X(_))return;let H=_.kind;_.sublanguage||(H=`${this.classPrefix}${H}`),this.span(H)}closeNode(_){X(_)&&(this.buffer+=Y)}value(){return this.buffer}span(_){this.buffer+=``}}class p{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(_){this.top.children.push(_)}openNode(_){const H={kind:_,children:[]};this.add(H),this.stack.push(H)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(_){return this.constructor._walk(_,this.rootNode)}static _walk(_,H){return typeof H=="string"?_.addText(H):H.children&&(_.openNode(H),H.children.forEach(tt=>this._walk(_,tt)),_.closeNode(H)),_}static _collapse(_){typeof _!="string"&&_.children&&(_.children.every(H=>typeof H=="string")?_.children=[_.children.join("")]:_.children.forEach(H=>{p._collapse(H)}))}}class B extends p{constructor(_){super(),this.options=_}addKeyword(_,H){_!==""&&(this.openNode(H),this.addText(_),this.closeNode())}addText(_){_!==""&&this.add(_)}addSublanguage(_,H){const tt=_.root;tt.kind=H,tt.sublanguage=!0,this.add(tt)}toHTML(){return new z(this,this.options).value()}finalize(){return!0}}function w(y){return new RegExp(y.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function M(y){return y?typeof y=="string"?y:y.source:null}function ct(...y){return y.map(H=>M(H)).join("")}function ut(...y){return"("+y.map(H=>M(H)).join("|")+")"}function St(y){return new RegExp(y.toString()+"|").exec("").length-1}function G(y,_){const H=y&&y.exec(_);return H&&H.index===0}const C=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function J(y,_="|"){let H=0;return y.map(tt=>{H+=1;const Ut=H;let Et=M(tt),Wt="";for(;Et.length>0;){const j=C.exec(Et);if(!j){Wt+=Et;break}Wt+=Et.substring(0,j.index),Et=Et.substring(j.index+j[0].length),j[0][0]==="\\"&&j[1]?Wt+="\\"+String(Number(j[1])+Ut):(Wt+=j[0],j[0]==="("&&H++)}return Wt}).map(tt=>`(${tt})`).join(_)}const at=/\b\B/,Bt="[a-zA-Z]\\w*",V="[a-zA-Z_]\\w*",F="\\b\\d+(\\.\\d+)?",Nt="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",qt="\\b(0b[01]+)",L="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",st=(y={})=>{const _=/^#![ ]*\//;return y.binary&&(y.begin=ct(_,/.*\b/,y.binary,/\b.*/)),N({className:"meta",begin:_,end:/$/,relevance:0,"on:begin":(H,tt)=>{H.index!==0&&tt.ignoreMatch()}},y)},Yt={begin:"\\\\[\\s\\S]",relevance:0},zt={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Yt]},gt={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Yt]},At={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},rt=function(y,_,H={}){const tt=N({className:"comment",begin:y,end:_,contains:[]},H);return tt.contains.push(At),tt.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),tt},x=rt("//","$"),P=rt("/\\*","\\*/"),Q=rt("#","$"),mt={className:"number",begin:F,relevance:0},r={className:"number",begin:Nt,relevance:0},D={className:"number",begin:qt,relevance:0},lt={className:"number",begin:F+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},I={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Yt,{begin:/\[/,end:/\]/,relevance:0,contains:[Yt]}]}]},q={className:"title",begin:Bt,relevance:0},pt={className:"title",begin:V,relevance:0},ft={begin:"\\.\\s*"+V,relevance:0};var Mt=Object.freeze({__proto__:null,MATCH_NOTHING_RE:at,IDENT_RE:Bt,UNDERSCORE_IDENT_RE:V,NUMBER_RE:F,C_NUMBER_RE:Nt,BINARY_NUMBER_RE:qt,RE_STARTERS_RE:L,SHEBANG:st,BACKSLASH_ESCAPE:Yt,APOS_STRING_MODE:zt,QUOTE_STRING_MODE:gt,PHRASAL_WORDS_MODE:At,COMMENT:rt,C_LINE_COMMENT_MODE:x,C_BLOCK_COMMENT_MODE:P,HASH_COMMENT_MODE:Q,NUMBER_MODE:mt,C_NUMBER_MODE:r,BINARY_NUMBER_MODE:D,CSS_NUMBER_MODE:lt,REGEXP_MODE:I,TITLE_MODE:q,UNDERSCORE_TITLE_MODE:pt,METHOD_GUARD:ft,END_SAME_AS_BEGIN:function(y){return Object.assign(y,{"on:begin":(_,H)=>{H.data._beginMatch=_[1]},"on:end":(_,H)=>{H.data._beginMatch!==_[1]&&H.ignoreMatch()}})}});function $t(y,_){y.input[y.index-1]==="."&&_.ignoreMatch()}function Vt(y,_){_&&y.beginKeywords&&(y.begin="\\b("+y.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",y.__beforeBegin=$t,y.keywords=y.keywords||y.beginKeywords,delete y.beginKeywords,y.relevance===void 0&&(y.relevance=0))}function we(y,_){Array.isArray(y.illegal)&&(y.illegal=ut(...y.illegal))}function dn(y,_){if(y.match){if(y.begin||y.end)throw new Error("begin & end are not supported with match");y.begin=y.match,delete y.match}}function fl(y,_){y.relevance===void 0&&(y.relevance=1)}const jn=["of","and","for","in","not","or","if","then","parent","list","value"],Ln="keyword";function bl(y,_,H=Ln){const tt={};return typeof y=="string"?Ut(H,y.split(" ")):Array.isArray(y)?Ut(H,y):Object.keys(y).forEach(function(Et){Object.assign(tt,bl(y[Et],_,Et))}),tt;function Ut(Et,Wt){_&&(Wt=Wt.map(j=>j.toLowerCase())),Wt.forEach(function(j){const k=j.split("|");tt[k[0]]=[Et,Ea(k[0],k[1])]})}}function Ea(y,_){return _?Number(_):qn(y)?0:1}function qn(y){return jn.includes(y.toLowerCase())}function Ta(y,{plugins:_}){function H(j,k){return new RegExp(M(j),"m"+(y.case_insensitive?"i":"")+(k?"g":""))}class tt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(k,ot){ot.position=this.position++,this.matchIndexes[this.matchAt]=ot,this.regexes.push([ot,k]),this.matchAt+=St(k)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const k=this.regexes.map(ot=>ot[1]);this.matcherRe=H(J(k),!0),this.lastIndex=0}exec(k){this.matcherRe.lastIndex=this.lastIndex;const ot=this.matcherRe.exec(k);if(!ot)return null;const ht=ot.findIndex((He,Oa)=>Oa>0&&He!==void 0),Kt=this.matchIndexes[ht];return ot.splice(0,ht),Object.assign(ot,Kt)}}class Ut{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(k){if(this.multiRegexes[k])return this.multiRegexes[k];const ot=new tt;return this.rules.slice(k).forEach(([ht,Kt])=>ot.addRule(ht,Kt)),ot.compile(),this.multiRegexes[k]=ot,ot}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(k,ot){this.rules.push([k,ot]),ot.type==="begin"&&this.count++}exec(k){const ot=this.getMatcher(this.regexIndex);ot.lastIndex=this.lastIndex;let ht=ot.exec(k);if(this.resumingScanAtSamePosition()&&!(ht&&ht.index===this.lastIndex)){const Kt=this.getMatcher(0);Kt.lastIndex=this.lastIndex+1,ht=Kt.exec(k)}return ht&&(this.regexIndex+=ht.position+1,this.regexIndex===this.count&&this.considerAll()),ht}}function Et(j){const k=new Ut;return j.contains.forEach(ot=>k.addRule(ot.begin,{rule:ot,type:"begin"})),j.terminatorEnd&&k.addRule(j.terminatorEnd,{type:"end"}),j.illegal&&k.addRule(j.illegal,{type:"illegal"}),k}function Wt(j,k){const ot=j;if(j.isCompiled)return ot;[dn].forEach(Kt=>Kt(j,k)),y.compilerExtensions.forEach(Kt=>Kt(j,k)),j.__beforeBegin=null,[Vt,we,fl].forEach(Kt=>Kt(j,k)),j.isCompiled=!0;let ht=null;if(typeof j.keywords=="object"&&(ht=j.keywords.$pattern,delete j.keywords.$pattern),j.keywords&&(j.keywords=bl(j.keywords,y.case_insensitive)),j.lexemes&&ht)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return ht=ht||j.lexemes||/\w+/,ot.keywordPatternRe=H(ht,!0),k&&(j.begin||(j.begin=/\B|\b/),ot.beginRe=H(j.begin),j.endSameAsBegin&&(j.end=j.begin),!j.end&&!j.endsWithParent&&(j.end=/\B|\b/),j.end&&(ot.endRe=H(j.end)),ot.terminatorEnd=M(j.end)||"",j.endsWithParent&&k.terminatorEnd&&(ot.terminatorEnd+=(j.end?"|":"")+k.terminatorEnd)),j.illegal&&(ot.illegalRe=H(j.illegal)),j.contains||(j.contains=[]),j.contains=[].concat(...j.contains.map(function(Kt){return Aa(Kt==="self"?j:Kt)})),j.contains.forEach(function(Kt){Wt(Kt,ot)}),j.starts&&Wt(j.starts,k),ot.matcher=Et(ot),ot}if(y.compilerExtensions||(y.compilerExtensions=[]),y.contains&&y.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return y.classNameAliases=N(y.classNameAliases||{}),Wt(y)}function Yn(y){return y?y.endsWithParent||Yn(y.starts):!1}function Aa(y){return y.variants&&!y.cachedVariants&&(y.cachedVariants=y.variants.map(function(_){return N(y,{variants:null},_)})),y.cachedVariants?y.cachedVariants:Yn(y)?N(y,{starts:y.starts?N(y.starts):null}):Object.isFrozen(y)?N(y):y}var wc="10.7.3";function Qc(y){return!!(y||y==="")}function Qe(y){const _={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!y.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,A(this.code);let tt={};return this.autoDetect?(tt=y.highlightAuto(this.code),this.detectedLanguage=tt.language):(tt=y.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),tt.value},autoDetect(){return!this.language||Qc(this.autodetect)},ignoreIllegals(){return!0}},render(tt){return tt("pre",{},[tt("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:_,VuePlugin:{install(tt){tt.component("highlightjs",_)}}}}const Zc={"after:highlightElement":({el:y,result:_,text:H})=>{const tt=_a(y);if(!tt.length)return;const Ut=document.createElement("div");Ut.innerHTML=_.value,_.value=Xn(tt,_a(Ut),H)}};function Gn(y){return y.nodeName.toLowerCase()}function _a(y){const _=[];return function H(tt,Ut){for(let Et=tt.firstChild;Et;Et=Et.nextSibling)Et.nodeType===3?Ut+=Et.nodeValue.length:Et.nodeType===1&&(_.push({event:"start",offset:Ut,node:Et}),Ut=H(Et,Ut),Gn(Et).match(/br|hr|img|input/)||_.push({event:"stop",offset:Ut,node:Et}));return Ut}(y,0),_}function Xn(y,_,H){let tt=0,Ut="";const Et=[];function Wt(){return!y.length||!_.length?y.length?y:_:y[0].offset!==_[0].offset?y[0].offset<_[0].offset?y:_:_[0].event==="start"?y:_}function j(ht){function Kt(He){return" "+He.nodeName+'="'+A(He.value)+'"'}Ut+="<"+Gn(ht)+[].map.call(ht.attributes,Kt).join("")+">"}function k(ht){Ut+=""}function ot(ht){(ht.event==="start"?j:k)(ht.node)}for(;y.length||_.length;){let ht=Wt();if(Ut+=A(H.substring(tt,ht[0].offset)),tt=ht[0].offset,ht===y){Et.reverse().forEach(k);do ot(ht.splice(0,1)[0]),ht=Wt();while(ht===y&&ht.length&&ht[0].offset===tt);Et.reverse().forEach(j)}else ht[0].event==="start"?Et.push(ht[0].node):Et.pop(),ot(ht.splice(0,1)[0])}return Ut+A(H.substr(tt))}const Nu={},wn=y=>{console.error(y)},Mu=(y,..._)=>{console.log(`WARN: ${y}`,..._)},xe=(y,_)=>{Nu[`${y}/${_}`]||(console.log(`Deprecated as of ${y}. ${_}`),Nu[`${y}/${_}`]=!0)},Sl=A,_e=N,Ru=Symbol("nomatch");var Re=function(y){const _=Object.create(null),H=Object.create(null),tt=[];let Ut=!0;const Et=/(^(<[^>]+>|\t|)+|\n)/gm,Wt="Could not find the language '{}', did you forget to load/include a language module?",j={disableAutodetect:!0,name:"Plain text",contains:[]};let k={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:B};function ot(U){return k.noHighlightRe.test(U)}function ht(U){let K=U.className+" ";K+=U.parentNode?U.parentNode.className:"";const Rt=k.languageDetectRe.exec(K);if(Rt){const Gt=De(Rt[1]);return Gt||(Mu(Wt.replace("{}",Rt[1])),Mu("Falling back to no-highlight mode for this block.",U)),Gt?Rt[1]:"no-highlight"}return K.split(/\s+/).find(Gt=>ot(Gt)||De(Gt))}function Kt(U,K,Rt,Gt){let Ft="",Ve="";typeof K=="object"?(Ft=U,Rt=K.ignoreIllegals,Ve=K.language,Gt=void 0):(xe("10.7.0","highlight(lang, code, ...args) has been deprecated."),xe("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),Ve=U,Ft=K);const re={code:Ft,language:Ve};Ze("before:highlight",re);const Pt=re.result?re.result:He(re.language,re.code,Rt,Gt);return Pt.code=re.code,Ze("after:highlight",Pt),Pt}function He(U,K,Rt,Gt){function Ft($,nt){const vt=Al.case_insensitive?nt[0].toLowerCase():nt[0];return Object.prototype.hasOwnProperty.call($.keywords,vt)&&$.keywords[vt]}function Ve(){if(!bt.keywords){ee.addText(le);return}let $=0;bt.keywordPatternRe.lastIndex=0;let nt=bt.keywordPatternRe.exec(le),vt="";for(;nt;){vt+=le.substring($,nt.index);const Ct=Ft(bt,nt);if(Ct){const[fe,nl]=Ct;if(ee.addText(vt),vt="",gn+=nl,fe.startsWith("_"))vt+=nt[0];else{const Lu=Al.classNameAliases[fe]||fe;ee.addKeyword(nt[0],Lu)}}else vt+=nt[0];$=bt.keywordPatternRe.lastIndex,nt=bt.keywordPatternRe.exec(le)}vt+=le.substr($),ee.addText(vt)}function re(){if(le==="")return;let $=null;if(typeof bt.subLanguage=="string"){if(!_[bt.subLanguage]){ee.addText(le);return}$=He(bt.subLanguage,le,!0,za[bt.subLanguage]),za[bt.subLanguage]=$.top}else $=Qn(le,bt.subLanguage.length?bt.subLanguage:null);bt.relevance>0&&(gn+=$.relevance),ee.addSublanguage($.emitter,$.language)}function Pt(){bt.subLanguage!=null?re():Ve(),le=""}function je($){return $.className&&ee.openNode(Al.classNameAliases[$.className]||$.className),bt=Object.create($,{parent:{value:bt}}),bt}function rl($,nt,vt){let Ct=G($.endRe,vt);if(Ct){if($["on:end"]){const fe=new s($);$["on:end"](nt,fe),fe.isMatchIgnored&&(Ct=!1)}if(Ct){for(;$.endsParent&&$.parent;)$=$.parent;return $}}if($.endsWithParent)return rl($.parent,nt,vt)}function Zn($){return bt.matcher.regexIndex===0?(le+=$[0],1):(Ua=!0,0)}function ju($){const nt=$[0],vt=$.rule,Ct=new s(vt),fe=[vt.__beforeBegin,vt["on:begin"]];for(const nl of fe)if(nl&&(nl($,Ct),Ct.isMatchIgnored))return Zn(nt);return vt&&vt.endSameAsBegin&&(vt.endRe=w(nt)),vt.skip?le+=nt:(vt.excludeBegin&&(le+=nt),Pt(),!vt.returnBegin&&!vt.excludeBegin&&(le=nt)),je(vt),vt.returnBegin?0:nt.length}function Vn($){const nt=$[0],vt=K.substr($.index),Ct=rl(bt,$,vt);if(!Ct)return Ru;const fe=bt;fe.skip?le+=nt:(fe.returnEnd||fe.excludeEnd||(le+=nt),Pt(),fe.excludeEnd&&(le=nt));do bt.className&&ee.closeNode(),!bt.skip&&!bt.subLanguage&&(gn+=bt.relevance),bt=bt.parent;while(bt!==Ct.parent);return Ct.starts&&(Ct.endSameAsBegin&&(Ct.starts.endRe=Ct.endRe),je(Ct.starts)),fe.returnEnd?0:nt.length}function Kc(){const $=[];for(let nt=bt;nt!==Al;nt=nt.parent)nt.className&&$.unshift(nt.className);$.forEach(nt=>ee.openNode(nt))}let pe={};function Kn($,nt){const vt=nt&&nt[0];if(le+=$,vt==null)return Pt(),0;if(pe.type==="begin"&&nt.type==="end"&&pe.index===nt.index&&vt===""){if(le+=K.slice(nt.index,nt.index+1),!Ut){const Ct=new Error("0 width match regex");throw Ct.languageName=U,Ct.badRule=pe.rule,Ct}return 1}if(pe=nt,nt.type==="begin")return ju(nt);if(nt.type==="illegal"&&!Rt){const Ct=new Error('Illegal lexeme "'+vt+'" for mode "'+(bt.className||"")+'"');throw Ct.mode=bt,Ct}else if(nt.type==="end"){const Ct=Vn(nt);if(Ct!==Ru)return Ct}if(nt.type==="illegal"&&vt==="")return 1;if(vn>1e5&&vn>nt.index*3)throw new Error("potential infinite loop, way more iterations than matches");return le+=vt,vt.length}const Al=De(U);if(!Al)throw wn(Wt.replace("{}",U)),new Error('Unknown language: "'+U+'"');const Da=Ta(Al,{plugins:tt});let dl="",bt=Gt||Da;const za={},ee=new k.__emitter(k);Kc();let le="",gn=0,_l=0,vn=0,Ua=!1;try{for(bt.matcher.considerAll();;){vn++,Ua?Ua=!1:bt.matcher.considerAll(),bt.matcher.lastIndex=_l;const $=bt.matcher.exec(K);if(!$)break;const nt=K.substring(_l,$.index),vt=Kn(nt,$);_l=$.index+vt}return Kn(K.substr(_l)),ee.closeAllNodes(),ee.finalize(),dl=ee.toHTML(),{relevance:Math.floor(gn),value:dl,language:U,illegal:!1,emitter:ee,top:bt}}catch($){if($.message&&$.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:$.message,context:K.slice(_l-100,_l+100),mode:$.mode},sofar:dl,relevance:0,value:Sl(K),emitter:ee};if(Ut)return{illegal:!1,relevance:0,value:Sl(K),emitter:ee,language:U,top:bt,errorRaised:$};throw $}}function Oa(U){const K={relevance:0,emitter:new k.__emitter(k),value:Sl(U),illegal:!1,top:j};return K.emitter.addText(U),K}function Qn(U,K){K=K||k.languages||Object.keys(_);const Rt=Oa(U),Gt=K.filter(De).filter(ie).map(je=>He(je,U,!1));Gt.unshift(Rt);const Ft=Gt.sort((je,rl)=>{if(je.relevance!==rl.relevance)return rl.relevance-je.relevance;if(je.language&&rl.language){if(De(je.language).supersetOf===rl.language)return 1;if(De(rl.language).supersetOf===je.language)return-1}return 0}),[Ve,re]=Ft,Pt=Ve;return Pt.second_best=re,Pt}function Du(U){return k.tabReplace||k.useBR?U.replace(Et,K=>K===` `?k.useBR?"
":K:k.tabReplace?K.replace(/\t/g,k.tabReplace):K):U}function zu(U,K,Rt){const Gt=K?H[K]:Rt;U.classList.add("hljs"),Gt&&U.classList.add(Gt)}const Uu={"before:highlightElement":({el:U})=>{k.useBR&&(U.innerHTML=U.innerHTML.replace(/\n/g,"").replace(//g,` -`))},"after:highlightElement":({result:U})=>{k.useBR&&(U.value=U.value.replace(/\n/g,"
"))}},Vc=/^(<[^>]+>|\t)+/gm,sl={"after:highlightElement":({result:U})=>{k.tabReplace&&(U.value=U.value.replace(Vc,K=>K.replace(/\t/g,k.tabReplace)))}};function ce(U){let K=null;const Rt=ht(U);if(ot(Rt))return;Ze("before:highlightElement",{el:U,language:Rt}),K=U;const Gt=K.textContent,Ft=Rt?Kt(Gt,{language:Rt,ignoreIllegals:!0}):Qn(Gt);Ze("after:highlightElement",{el:U,result:Ft,text:Gt}),U.innerHTML=Ft.value,zu(U,Rt,Ft.language),U.result={language:Ft.language,re:Ft.relevance,relavance:Ft.relevance},Ft.second_best&&(U.second_best={language:Ft.second_best.language,re:Ft.second_best.relevance,relavance:Ft.second_best.relevance})}function _e(U){U.useBR&&(xe("10.3.0","'useBR' will be removed entirely in v11.0"),xe("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),k=Oe(k,U)}const ol=()=>{if(ol.called)return;ol.called=!0,xe("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(ce)};function Na(){xe("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Ma=!0}let Ma=!1;function xu(){if(document.readyState==="loading"){Ma=!0;return}document.querySelectorAll("pre code").forEach(ce)}function Hu(){Ma&&xu()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Hu,!1);function hn(U,K){let Rt=null;try{Rt=K(y)}catch(Gt){if(wn("Language definition for '{}' could not be registered.".replace("{}",U)),Ut)wn(Gt);else throw Gt;Rt=j}Rt.name||(Rt.name=U),O[U]=Rt,Rt.rawDefinition=K.bind(null,y),Rt.aliases&&Tl(Rt.aliases,{languageName:U})}function Ra(U){delete O[U];for(const K of Object.keys(H))H[K]===U&&delete H[K]}function pl(){return Object.keys(O)}function Gl(U){xe("10.4.0","requireLanguage will be removed entirely in v11."),xe("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const K=De(U);if(K)return K;throw new Error("The '{}' language is required, but not loaded.".replace("{}",U))}function De(U){return U=(U||"").toLowerCase(),O[U]||O[H[U]]}function Tl(U,{languageName:K}){typeof U=="string"&&(U=[U]),U.forEach(Rt=>{H[Rt.toLowerCase()]=K})}function ie(U){const K=De(U);return K&&!K.disableAutodetect}function Bu(U){U["before:highlightBlock"]&&!U["before:highlightElement"]&&(U["before:highlightElement"]=K=>{U["before:highlightBlock"](Object.assign({block:K.el},K))}),U["after:highlightBlock"]&&!U["after:highlightElement"]&&(U["after:highlightElement"]=K=>{U["after:highlightBlock"](Object.assign({block:K.el},K))})}function Cu(U){Bu(U),tt.push(U)}function Ze(U,K){const Rt=U;tt.forEach(function(Gt){Gt[Rt]&&Gt[Rt](K)})}function Xl(U){return xe("10.2.0","fixMarkup will be removed entirely in v11.0"),xe("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),Du(U)}function ll(U){return xe("10.7.0","highlightBlock will be removed entirely in v12.0"),xe("10.7.0","Please use highlightElement now."),ce(U)}Object.assign(y,{highlight:Kt,highlightAuto:Qn,highlightAll:xu,fixMarkup:Xl,highlightElement:ce,highlightBlock:ll,configure:_e,initHighlighting:ol,initHighlightingOnLoad:Na,registerLanguage:hn,unregisterLanguage:Ra,listLanguages:pl,getLanguage:De,registerAliases:Tl,requireLanguage:Gl,autoDetection:ie,inherit:Oe,addPlugin:Cu,vuePlugin:Qe(y).VuePlugin}),y.debugMode=function(){Ut=!1},y.safeMode=function(){Ut=!0},y.versionString=wc;for(const U in Mt)typeof Mt[U]=="object"&&v(Mt[U]);return Object.assign(y,Mt),y.addPlugin(Uu),y.addPlugin(Zc),y.addPlugin(sl),y}({});return Pf=Re,Pf}var If={exports:{}},Ld;function Ug(){return Ld||(Ld=1,function(c){(function(){var v;v=c.exports=A,v.format=A,v.vsprintf=s,typeof console<"u"&&typeof console.log=="function"&&(v.printf=b);function b(){console.log(A.apply(null,arguments))}function s(N,Y){return A.apply(null,[N].concat(Y))}function A(N){for(var Y=1,X=[].slice.call(arguments),z=0,E=N.length,B="",w,M=!1,ct,ut,St=!1,G,C=function(){return X[Y++]},J=function(){for(var at="";/\d/.test(N[z]);)at+=N[z++],w=N[z];return at.length>0?parseInt(at):null};zNt.relevance&&(Nt=qt),qt.relevance>F.relevance&&(Nt=F,F=qt));return Nt.language&&(F.secondBest=Nt),F}function N(G,C){c.registerLanguage(G,C)}function Y(){return c.listLanguages()}function X(G,C){var J=G,at;C&&(J={},J[G]=C);for(at in J)c.registerAliases(J[at],{languageName:at})}function z(G){this.options=G,this.rootNode={children:[]},this.stack=[this.rootNode]}function E(G,C){this.openNode(C),this.addText(G),this.closeNode()}function B(G,C){var J=this.stack,at=J[J.length-1],Bt=G.rootNode.children,V=C?{type:"element",tagName:"span",properties:{className:[C]},children:Bt}:Bt;at.children=at.children.concat(V)}function w(G){var C=this.stack,J,at;G!==""&&(J=C[C.length-1],at=J.children[J.children.length-1],at&&at.type==="text"?at.value+=G:J.children.push({type:"text",value:G}))}function M(G){var C=this.stack,J=this.options.classPrefix+G,at=C[C.length-1],Bt={type:"element",tagName:"span",properties:{className:[J]},children:[]};at.children.push(Bt),C.push(Bt)}function ct(){this.stack.pop()}function ut(){return""}function St(){}return Cn}var es,Gd;function Bg(){if(Gd)return es;Gd=1;const c="[A-Za-z$_][0-9A-Za-z$_]*",v=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],b=["true","false","null","undefined","NaN","Infinity"],s=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],A=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],N=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Y=["arguments","this","super","console","window","document","localStorage","module","global"],X=[].concat(N,Y,s,A);function z(M){return M?typeof M=="string"?M:M.source:null}function E(M){return B("(?=",M,")")}function B(...M){return M.map(ut=>z(ut)).join("")}function w(M){const ct=(x,{after:P})=>{const Q="",end:""},G={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(x,P)=>{const Q=x[0].length+x.index,mt=x.input[Q];if(mt==="<"){P.ignoreMatch();return}mt===">"&&(ct(x,{after:Q})||P.ignoreMatch())}},C={$pattern:c,keyword:v,literal:b,built_in:X},J="[0-9](_?[0-9])*",at=`\\.(${J})`,Bt="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",V={className:"number",variants:[{begin:`(\\b(${Bt})((${at})|\\.)?|(${at}))[eE][+-]?(${J})\\b`},{begin:`\\b(${Bt})\\b((${at})\\b|\\.)?|(${at})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},F={className:"subst",begin:"\\$\\{",end:"\\}",keywords:C,contains:[]},Nt={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[M.BACKSLASH_ESCAPE,F],subLanguage:"xml"}},qt={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[M.BACKSLASH_ESCAPE,F],subLanguage:"css"}},L={className:"string",begin:"`",end:"`",contains:[M.BACKSLASH_ESCAPE,F]},Yt={className:"comment",variants:[M.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:ut+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),M.C_BLOCK_COMMENT_MODE,M.C_LINE_COMMENT_MODE]},zt=[M.APOS_STRING_MODE,M.QUOTE_STRING_MODE,Nt,qt,L,V,M.REGEXP_MODE];F.contains=zt.concat({begin:/\{/,end:/\}/,keywords:C,contains:["self"].concat(zt)});const gt=[].concat(Yt,F.contains),At=gt.concat([{begin:/\(/,end:/\)/,keywords:C,contains:["self"].concat(gt)}]),rt={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:C,contains:At};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:C,exports:{PARAMS_CONTAINS:At},illegal:/#(?![$_A-z])/,contains:[M.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M.APOS_STRING_MODE,M.QUOTE_STRING_MODE,Nt,qt,L,Yt,V,{begin:B(/[{,\n]\s*/,E(B(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,ut+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:ut+E("\\s*:"),relevance:0}]},{begin:"("+M.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[Yt,M.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+M.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:M.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:C,contains:At}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:St.begin,end:St.end},{begin:G.begin,"on:begin":G.isTrulyOpeningTag,end:G.end}],subLanguage:"xml",contains:[{begin:G.begin,end:G.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:C,contains:["self",M.inherit(M.TITLE_MODE,{begin:ut}),rt],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:M.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[rt,M.inherit(M.TITLE_MODE,{begin:ut})]},{variants:[{begin:"\\."+ut},{begin:"\\$"+ut}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},M.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[M.inherit(M.TITLE_MODE,{begin:ut}),"self",rt]},{begin:"(get|set)\\s+(?="+ut+"\\()",end:/\{/,keywords:"get set",contains:[M.inherit(M.TITLE_MODE,{begin:ut}),{begin:/\(\)/},rt]},{begin:/\$[(.]/}]}}return es=w,es}var Cg=Hg();const $d=us(Cg);var is=Dg($d,{});is.registerLanguage=$d.registerLanguage;var jg=Bg();const Lg=us(jg),qg={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#abb2bf",background:"#282c34"},"hljs-comment":{color:"#5c6370",fontStyle:"italic"},"hljs-quote":{color:"#5c6370",fontStyle:"italic"},"hljs-doctag":{color:"#c678dd"},"hljs-keyword":{color:"#c678dd"},"hljs-formula":{color:"#c678dd"},"hljs-section":{color:"#e06c75"},"hljs-name":{color:"#e06c75"},"hljs-selector-tag":{color:"#e06c75"},"hljs-deletion":{color:"#e06c75"},"hljs-subst":{color:"#e06c75"},"hljs-literal":{color:"#56b6c2"},"hljs-string":{color:"#98c379"},"hljs-regexp":{color:"#98c379"},"hljs-addition":{color:"#98c379"},"hljs-attribute":{color:"#98c379"},"hljs-meta-string":{color:"#98c379"},"hljs-built_in":{color:"#e6c07b"},"hljs-class .hljs-title":{color:"#e6c07b"},"hljs-attr":{color:"#d19a66"},"hljs-variable":{color:"#d19a66"},"hljs-template-variable":{color:"#d19a66"},"hljs-type":{color:"#d19a66"},"hljs-selector-class":{color:"#d19a66"},"hljs-selector-attr":{color:"#d19a66"},"hljs-selector-pseudo":{color:"#d19a66"},"hljs-number":{color:"#d19a66"},"hljs-symbol":{color:"#61aeee"},"hljs-bullet":{color:"#61aeee"},"hljs-link":{color:"#61aeee",textDecoration:"underline"},"hljs-meta":{color:"#61aeee"},"hljs-selector-id":{color:"#61aeee"},"hljs-title":{color:"#61aeee"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var Yg=()=>{};function Gg(c,v,b){const s=Qt.useRef(Yg);Qt.useEffect(()=>{s.current=c}),Qt.useEffect(()=>{},[b]),Qt.useEffect(()=>{if(v===null||v===!1)return;const N=setInterval(()=>s.current(),v);return()=>clearInterval(N)},[v])}function Wd(c,v){return Math.random()*(v-c+1)+c}function Gc(c,v){return Math.floor(Wd(c,v))}var Xd=Qt.forwardRef(({progress:c,height:v=2,className:b="",color:s="red",background:A="transparent",onLoaderFinished:N,transitionTime:Y=300,loaderSpeed:X=500,waitingTime:z=1e3,shadow:E=!0,containerStyle:B={},style:w={},shadowStyle:M={},containerClassName:ct=""},ut)=>{const St=Qt.useRef(!1),[G,C]=Qt.useState(0),J=Qt.useRef({active:!1,refreshRate:1e3}),[at,Bt]=Qt.useState({active:!1,value:60}),V={height:"100%",background:s,transition:`all ${X}ms ease`,width:"0%"},F={position:"fixed",top:0,left:0,height:v,background:A,zIndex:99999999999,width:"100%"},Nt={boxShadow:`0 0 10px ${s}, 0 0 10px ${s}`,width:"5%",opacity:1,position:"absolute",height:"100%",transition:`all ${X}ms ease`,transform:"rotate(2deg) translate(0px, -2px)",left:"-10rem"},[qt,L]=Qt.useState(V),[st,Yt]=Qt.useState(Nt);Qt.useEffect(()=>(St.current=!0,()=>{St.current=!1}),[]),Qt.useImperativeHandle(ut,()=>({continuousStart(gt,At=1e3){if(at.active)return;if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}const rt=gt||Gc(10,20);J.current={active:!0,refreshRate:At},C(rt),zt(rt)},staticStart(gt){if(J.current.active)return;if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}const At=gt||Gc(30,60);Bt({active:!0,value:At}),C(At),zt(At)},start(gt="continuous",At,rt){if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}gt==="continuous"?J.current={active:!0,refreshRate:rt||1e3}:Bt({active:!0,value:At||20});const x=Gc(10,20),P=Gc(30,70),Q=At||(gt==="continuous"?x:P);C(Q),zt(Q)},complete(){if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}C(100),zt(100)},increase(gt){if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}C(At=>{const rt=At+gt;return zt(rt),rt})},decrease(gt){if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}C(At=>{const rt=At-gt;return zt(rt),rt})},getProgress(){return G}})),Qt.useEffect(()=>{L({...qt,background:s}),Yt({...st,boxShadow:`0 0 10px ${s}, 0 0 5px ${s}`})},[s]),Qt.useEffect(()=>{if(ut){if(ut&&c!==void 0){console.warn(`react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar! Please use only props or only ref methods! Ref methods will override props if "ref" property is available.`);return}zt(G)}else c&&zt(c)},[c]);const zt=gt=>{gt>=100?(L({...qt,width:"100%"}),E&&Yt({...st,left:gt-10+"%"}),setTimeout(()=>{St.current&&(L({...qt,opacity:0,width:"100%",transition:`all ${Y}ms ease-out`,color:s}),setTimeout(()=>{St.current&&(J.current.active&&(J.current={...J.current,active:!1},C(0),zt(0)),at.active&&(Bt({...at,active:!1}),C(0),zt(0)),N&&N(),C(0),zt(0))},Y))},z)):(L(At=>({...At,width:gt+"%",opacity:1,transition:gt>0?`all ${X}ms ease`:""})),E&&Yt({...st,left:gt-5.5+"%",transition:gt>0?`all ${X}ms ease`:""}))};return Gg(()=>{const gt=Math.min(10,(100-G)/5),At=Math.min(20,(100-G)/3),rt=Wd(gt,At);G+rt<95&&(C(G+rt),zt(G+rt))},J.current.active?J.current.refreshRate:null),Qt.createElement("div",{className:ct,style:{...F,...B}},Qt.createElement("div",{className:b,style:{...qt,...w}},E?Qt.createElement("div",{style:{...st,...M}}):null))});Qt.createContext(void 0);const Xg=c=>{function v(Y,X){return(Math.random()*32768>>>0)%(Y-X)+Y}let b=["red","purple","green","teal","orange","blue"];b=b.filter(Y=>Y!==c);const s=v(0,b.length),A=b[s];let N="";switch(A){case"red":N="#f11946";break;case"purple":N="#8800ff";break;case"green":N="#28b485";break;case"teal":N="#00ffe2";break;case"orange":N="#ff7c05";break;case"blue":N="#2998ff";break;default:N="#f11946";break}return{barColor:N,color:A}},wd=({children:c,onClick:v,type:b})=>{const[s,A]=Qt.useState(!1),N=async()=>{try{await navigator.clipboard.writeText(c),A(!0),v&&v(),setTimeout(()=>{A(!1)},2e3)}catch(Y){console.error(Y)}};return _t.jsx("button",{className:"package-install-text",onClick:N,type:b,children:s?"Copied to Clipboard ":c})};is.registerLanguage("javascript",Lg);const wg=()=>{const[c,v]=Qt.useState(0),[b,s]=Qt.useState("#f11946"),[A,N]=Qt.useState("red"),Y=Qt.useRef(null),[X,z]=Qt.useState(!0),[E,B]=Qt.useState(!0),w=M=>{M&&v(0),z(M)};return _t.jsxs("div",{children:[X?_t.jsx(Xd,{color:b,ref:Y,shadow:!0}):_t.jsx(Xd,{color:b,shadow:!0,progress:c,onLoaderFinished:()=>v(0)}),_t.jsxs("div",{className:"text-container",children:[_t.jsx("h1",{className:"header",children:"react-top-loading-bar"}),_t.jsxs("div",{className:"inline",children:[_t.jsx(wd,{children:"npm i react-top-loading-bar"}),_t.jsx("br",{}),"or",_t.jsx("br",{}),_t.jsx(wd,{children:"yarn add react-top-loading-bar"})]})]}),_t.jsxs("div",{className:"buttons-group",children:[_t.jsx(is,{language:"javascript",style:qg,className:"code-highlighter",children:X?E?`const { start, complete } = useLoadingBar({ color: "blue", height: 2 }); +`))},"after:highlightElement":({result:U})=>{k.useBR&&(U.value=U.value.replace(/\n/g,"
"))}},Vc=/^(<[^>]+>|\t)+/gm,sl={"after:highlightElement":({result:U})=>{k.tabReplace&&(U.value=U.value.replace(Vc,K=>K.replace(/\t/g,k.tabReplace)))}};function ce(U){let K=null;const Rt=ht(U);if(ot(Rt))return;Ze("before:highlightElement",{el:U,language:Rt}),K=U;const Gt=K.textContent,Ft=Rt?Kt(Gt,{language:Rt,ignoreIllegals:!0}):Qn(Gt);Ze("after:highlightElement",{el:U,result:Ft,text:Gt}),U.innerHTML=Ft.value,zu(U,Rt,Ft.language),U.result={language:Ft.language,re:Ft.relevance,relavance:Ft.relevance},Ft.second_best&&(U.second_best={language:Ft.second_best.language,re:Ft.second_best.relevance,relavance:Ft.second_best.relevance})}function Oe(U){U.useBR&&(xe("10.3.0","'useBR' will be removed entirely in v11.0"),xe("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),k=_e(k,U)}const ol=()=>{if(ol.called)return;ol.called=!0,xe("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(ce)};function Na(){xe("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Ma=!0}let Ma=!1;function xu(){if(document.readyState==="loading"){Ma=!0;return}document.querySelectorAll("pre code").forEach(ce)}function Hu(){Ma&&xu()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Hu,!1);function hn(U,K){let Rt=null;try{Rt=K(y)}catch(Gt){if(wn("Language definition for '{}' could not be registered.".replace("{}",U)),Ut)wn(Gt);else throw Gt;Rt=j}Rt.name||(Rt.name=U),_[U]=Rt,Rt.rawDefinition=K.bind(null,y),Rt.aliases&&Tl(Rt.aliases,{languageName:U})}function Ra(U){delete _[U];for(const K of Object.keys(H))H[K]===U&&delete H[K]}function El(){return Object.keys(_)}function Gl(U){xe("10.4.0","requireLanguage will be removed entirely in v11."),xe("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const K=De(U);if(K)return K;throw new Error("The '{}' language is required, but not loaded.".replace("{}",U))}function De(U){return U=(U||"").toLowerCase(),_[U]||_[H[U]]}function Tl(U,{languageName:K}){typeof U=="string"&&(U=[U]),U.forEach(Rt=>{H[Rt.toLowerCase()]=K})}function ie(U){const K=De(U);return K&&!K.disableAutodetect}function Bu(U){U["before:highlightBlock"]&&!U["before:highlightElement"]&&(U["before:highlightElement"]=K=>{U["before:highlightBlock"](Object.assign({block:K.el},K))}),U["after:highlightBlock"]&&!U["after:highlightElement"]&&(U["after:highlightElement"]=K=>{U["after:highlightBlock"](Object.assign({block:K.el},K))})}function Cu(U){Bu(U),tt.push(U)}function Ze(U,K){const Rt=U;tt.forEach(function(Gt){Gt[Rt]&&Gt[Rt](K)})}function Xl(U){return xe("10.2.0","fixMarkup will be removed entirely in v11.0"),xe("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),Du(U)}function ll(U){return xe("10.7.0","highlightBlock will be removed entirely in v12.0"),xe("10.7.0","Please use highlightElement now."),ce(U)}Object.assign(y,{highlight:Kt,highlightAuto:Qn,highlightAll:xu,fixMarkup:Xl,highlightElement:ce,highlightBlock:ll,configure:Oe,initHighlighting:ol,initHighlightingOnLoad:Na,registerLanguage:hn,unregisterLanguage:Ra,listLanguages:El,getLanguage:De,registerAliases:Tl,requireLanguage:Gl,autoDetection:ie,inherit:_e,addPlugin:Cu,vuePlugin:Qe(y).VuePlugin}),y.debugMode=function(){Ut=!1},y.safeMode=function(){Ut=!0},y.versionString=wc;for(const U in Mt)typeof Mt[U]=="object"&&v(Mt[U]);return Object.assign(y,Mt),y.addPlugin(Uu),y.addPlugin(Zc),y.addPlugin(sl),y}({});return Pf=Re,Pf}var If={exports:{}},Ld;function Ug(){return Ld||(Ld=1,function(c){(function(){var v;v=c.exports=A,v.format=A,v.vsprintf=s,typeof console<"u"&&typeof console.log=="function"&&(v.printf=b);function b(){console.log(A.apply(null,arguments))}function s(N,Y){return A.apply(null,[N].concat(Y))}function A(N){for(var Y=1,X=[].slice.call(arguments),z=0,p=N.length,B="",w,M=!1,ct,ut,St=!1,G,C=function(){return X[Y++]},J=function(){for(var at="";/\d/.test(N[z]);)at+=N[z++],w=N[z];return at.length>0?parseInt(at):null};zNt.relevance&&(Nt=qt),qt.relevance>F.relevance&&(Nt=F,F=qt));return Nt.language&&(F.secondBest=Nt),F}function N(G,C){c.registerLanguage(G,C)}function Y(){return c.listLanguages()}function X(G,C){var J=G,at;C&&(J={},J[G]=C);for(at in J)c.registerAliases(J[at],{languageName:at})}function z(G){this.options=G,this.rootNode={children:[]},this.stack=[this.rootNode]}function p(G,C){this.openNode(C),this.addText(G),this.closeNode()}function B(G,C){var J=this.stack,at=J[J.length-1],Bt=G.rootNode.children,V=C?{type:"element",tagName:"span",properties:{className:[C]},children:Bt}:Bt;at.children=at.children.concat(V)}function w(G){var C=this.stack,J,at;G!==""&&(J=C[C.length-1],at=J.children[J.children.length-1],at&&at.type==="text"?at.value+=G:J.children.push({type:"text",value:G}))}function M(G){var C=this.stack,J=this.options.classPrefix+G,at=C[C.length-1],Bt={type:"element",tagName:"span",properties:{className:[J]},children:[]};at.children.push(Bt),C.push(Bt)}function ct(){this.stack.pop()}function ut(){return""}function St(){}return Cn}var es,Gd;function Bg(){if(Gd)return es;Gd=1;const c="[A-Za-z$_][0-9A-Za-z$_]*",v=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],b=["true","false","null","undefined","NaN","Infinity"],s=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],A=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],N=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Y=["arguments","this","super","console","window","document","localStorage","module","global"],X=[].concat(N,Y,s,A);function z(M){return M?typeof M=="string"?M:M.source:null}function p(M){return B("(?=",M,")")}function B(...M){return M.map(ut=>z(ut)).join("")}function w(M){const ct=(x,{after:P})=>{const Q="",end:""},G={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(x,P)=>{const Q=x[0].length+x.index,mt=x.input[Q];if(mt==="<"){P.ignoreMatch();return}mt===">"&&(ct(x,{after:Q})||P.ignoreMatch())}},C={$pattern:c,keyword:v,literal:b,built_in:X},J="[0-9](_?[0-9])*",at=`\\.(${J})`,Bt="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",V={className:"number",variants:[{begin:`(\\b(${Bt})((${at})|\\.)?|(${at}))[eE][+-]?(${J})\\b`},{begin:`\\b(${Bt})\\b((${at})\\b|\\.)?|(${at})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},F={className:"subst",begin:"\\$\\{",end:"\\}",keywords:C,contains:[]},Nt={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[M.BACKSLASH_ESCAPE,F],subLanguage:"xml"}},qt={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[M.BACKSLASH_ESCAPE,F],subLanguage:"css"}},L={className:"string",begin:"`",end:"`",contains:[M.BACKSLASH_ESCAPE,F]},Yt={className:"comment",variants:[M.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:ut+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),M.C_BLOCK_COMMENT_MODE,M.C_LINE_COMMENT_MODE]},zt=[M.APOS_STRING_MODE,M.QUOTE_STRING_MODE,Nt,qt,L,V,M.REGEXP_MODE];F.contains=zt.concat({begin:/\{/,end:/\}/,keywords:C,contains:["self"].concat(zt)});const gt=[].concat(Yt,F.contains),At=gt.concat([{begin:/\(/,end:/\)/,keywords:C,contains:["self"].concat(gt)}]),rt={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:C,contains:At};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:C,exports:{PARAMS_CONTAINS:At},illegal:/#(?![$_A-z])/,contains:[M.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M.APOS_STRING_MODE,M.QUOTE_STRING_MODE,Nt,qt,L,Yt,V,{begin:B(/[{,\n]\s*/,p(B(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,ut+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:ut+p("\\s*:"),relevance:0}]},{begin:"("+M.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[Yt,M.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+M.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:M.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:C,contains:At}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:St.begin,end:St.end},{begin:G.begin,"on:begin":G.isTrulyOpeningTag,end:G.end}],subLanguage:"xml",contains:[{begin:G.begin,end:G.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:C,contains:["self",M.inherit(M.TITLE_MODE,{begin:ut}),rt],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:M.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[rt,M.inherit(M.TITLE_MODE,{begin:ut})]},{variants:[{begin:"\\."+ut},{begin:"\\$"+ut}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},M.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[M.inherit(M.TITLE_MODE,{begin:ut}),"self",rt]},{begin:"(get|set)\\s+(?="+ut+"\\()",end:/\{/,keywords:"get set",contains:[M.inherit(M.TITLE_MODE,{begin:ut}),{begin:/\(\)/},rt]},{begin:/\$[(.]/}]}}return es=w,es}var Cg=Hg();const $d=us(Cg);var is=Dg($d,{});is.registerLanguage=$d.registerLanguage;var jg=Bg();const Lg=us(jg),qg={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#abb2bf",background:"#282c34"},"hljs-comment":{color:"#5c6370",fontStyle:"italic"},"hljs-quote":{color:"#5c6370",fontStyle:"italic"},"hljs-doctag":{color:"#c678dd"},"hljs-keyword":{color:"#c678dd"},"hljs-formula":{color:"#c678dd"},"hljs-section":{color:"#e06c75"},"hljs-name":{color:"#e06c75"},"hljs-selector-tag":{color:"#e06c75"},"hljs-deletion":{color:"#e06c75"},"hljs-subst":{color:"#e06c75"},"hljs-literal":{color:"#56b6c2"},"hljs-string":{color:"#98c379"},"hljs-regexp":{color:"#98c379"},"hljs-addition":{color:"#98c379"},"hljs-attribute":{color:"#98c379"},"hljs-meta-string":{color:"#98c379"},"hljs-built_in":{color:"#e6c07b"},"hljs-class .hljs-title":{color:"#e6c07b"},"hljs-attr":{color:"#d19a66"},"hljs-variable":{color:"#d19a66"},"hljs-template-variable":{color:"#d19a66"},"hljs-type":{color:"#d19a66"},"hljs-selector-class":{color:"#d19a66"},"hljs-selector-attr":{color:"#d19a66"},"hljs-selector-pseudo":{color:"#d19a66"},"hljs-number":{color:"#d19a66"},"hljs-symbol":{color:"#61aeee"},"hljs-bullet":{color:"#61aeee"},"hljs-link":{color:"#61aeee",textDecoration:"underline"},"hljs-meta":{color:"#61aeee"},"hljs-selector-id":{color:"#61aeee"},"hljs-title":{color:"#61aeee"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var Yg=()=>{};function Gg(c,v,b){let s=Qt.useRef(Yg);Qt.useEffect(()=>{s.current=c}),Qt.useEffect(()=>{},[b]),Qt.useEffect(()=>{if(v===null||v===!1)return;let A=setInterval(()=>s.current(),v);return()=>clearInterval(A)},[v])}function Wd(c,v){return Math.random()*(v-c+1)+c}function Gc(c,v){return Math.floor(Wd(c,v))}var Xd=Qt.forwardRef(({progress:c,height:v=2,className:b="",color:s="red",background:A="transparent",onLoaderFinished:N,transitionTime:Y=300,loaderSpeed:X=500,waitingTime:z=1e3,shadow:p=!0,containerStyle:B={},style:w={},shadowStyle:M={},containerClassName:ct=""},ut)=>{let St=Qt.useRef(!1),[G,C]=Qt.useState(0),J=Qt.useRef({active:!1,refreshRate:1e3}),[at,Bt]=Qt.useState({active:!1,value:60}),V={height:"100%",background:s,transition:`all ${X}ms ease`,width:"0%"},F={position:"fixed",top:0,left:0,height:v,background:A,zIndex:99999999999,width:"100%"},Nt={boxShadow:`0 0 10px ${s}, 0 0 10px ${s}`,width:"5%",opacity:1,position:"absolute",height:"100%",transition:`all ${X}ms ease`,transform:"rotate(2deg) translate(0px, -2px)",left:"-10rem"},[qt,L]=Qt.useState(V),[st,Yt]=Qt.useState(Nt);Qt.useEffect(()=>(St.current=!0,()=>{St.current=!1}),[]),Qt.useImperativeHandle(ut,()=>({continuousStart(gt,At=1e3){if(at.active)return;if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}let rt=gt||Gc(10,20);J.current={active:!0,refreshRate:At},C(rt),zt(rt)},staticStart(gt){if(J.current.active)return;if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}let At=gt||Gc(30,60);Bt({active:!0,value:At}),C(At),zt(At)},start(gt="continuous",At,rt){if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}gt==="continuous"?J.current={active:!0,refreshRate:rt||1e3}:Bt({active:!0,value:At||20});let x=Gc(10,20),P=Gc(30,70),Q=At||(gt==="continuous"?x:P);C(Q),zt(Q)},complete(){if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}C(100),zt(100)},increase(gt){if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}C(At=>{let rt=At+gt;return zt(rt),rt})},decrease(gt){if(c!==void 0){console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");return}C(At=>{let rt=At-gt;return zt(rt),rt})},getProgress(){return G}})),Qt.useEffect(()=>{L({...qt,background:s}),Yt({...st,boxShadow:`0 0 10px ${s}, 0 0 5px ${s}`})},[s]),Qt.useEffect(()=>{if(ut){if(ut&&c!==void 0){console.warn(`react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar! Please use only props or only ref methods! Ref methods will override props if "ref" property is available.`);return}zt(G)}else c&&zt(c)},[c]);let zt=gt=>{gt>=100?(L({...qt,width:"100%"}),p&&Yt({...st,left:gt-10+"%"}),setTimeout(()=>{St.current&&(L({...qt,opacity:0,width:"100%",transition:`all ${Y}ms ease-out`,color:s}),setTimeout(()=>{St.current&&(J.current.active&&(J.current={...J.current,active:!1},C(0),zt(0)),at.active&&(Bt({...at,active:!1}),C(0),zt(0)),N&&N(),C(0),zt(0))},Y))},z)):(L(At=>({...At,width:gt+"%",opacity:1,transition:gt>0?`all ${X}ms ease`:""})),p&&Yt({...st,left:gt-5.5+"%",transition:gt>0?`all ${X}ms ease`:""}))};return Gg(()=>{let gt=Math.min(10,(100-G)/5),At=Math.min(20,(100-G)/3),rt=Wd(gt,At);G+rt<95&&(C(G+rt),zt(G+rt))},J.current.active?J.current.refreshRate:null),Qt.createElement("div",{className:ct,style:{...F,...B}},Qt.createElement("div",{className:b,style:{...qt,...w}},p?Qt.createElement("div",{style:{...st,...M}}):null))});Qt.createContext(void 0);const Xg=c=>{function v(Y,X){return(Math.random()*32768>>>0)%(Y-X)+Y}let b=["red","purple","green","teal","orange","blue"];b=b.filter(Y=>Y!==c);const s=v(0,b.length),A=b[s];let N="";switch(A){case"red":N="#f11946";break;case"purple":N="#8800ff";break;case"green":N="#28b485";break;case"teal":N="#00ffe2";break;case"orange":N="#ff7c05";break;case"blue":N="#2998ff";break;default:N="#f11946";break}return{barColor:N,color:A}},wd=({children:c,onClick:v,type:b})=>{const[s,A]=Qt.useState(!1),N=async()=>{try{await navigator.clipboard.writeText(c),A(!0),v&&v(),setTimeout(()=>{A(!1)},2e3)}catch(Y){console.error(Y)}};return Ot.jsx("button",{className:"package-install-text",onClick:N,type:b,children:s?"Copied to Clipboard ":c})};is.registerLanguage("javascript",Lg);const wg=()=>{const[c,v]=Qt.useState(0),[b,s]=Qt.useState("#f11946"),[A,N]=Qt.useState("red"),Y=Qt.useRef(null),[X,z]=Qt.useState(!0),[p,B]=Qt.useState(!0),w=M=>{M&&v(0),z(M)};return Ot.jsxs("div",{children:[X?Ot.jsx(Xd,{color:b,ref:Y,shadow:!0}):Ot.jsx(Xd,{color:b,shadow:!0,progress:c,onLoaderFinished:()=>v(0)}),Ot.jsxs("div",{className:"text-container",children:[Ot.jsx("h1",{className:"header",children:"react-top-loading-bar"}),Ot.jsxs("div",{className:"inline",children:[Ot.jsx(wd,{children:"npm i react-top-loading-bar"}),Ot.jsx("br",{}),"or",Ot.jsx("br",{}),Ot.jsx(wd,{children:"yarn add react-top-loading-bar"})]})]}),Ot.jsxs("div",{className:"buttons-group",children:[Ot.jsx(is,{language:"javascript",style:qg,className:"code-highlighter",children:X?p?`const { start, complete } = useLoadingBar({ color: "blue", height: 2 }); `:`const ref = useRef(null); @@ -65,4 +65,4 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Ve=U,Ft=K);const re={c ref.current?.start()`:`const [progress, setProgress] = useState(0); setProgress(0)} />`}),_t.jsx("br",{}),X?_t.jsxs("div",{children:[_t.jsx("button",{className:"btn "+A,onClick:()=>{var M;return(M=Y.current)==null?void 0:M.start()},children:"Start Continuous Loading Bar"}),_t.jsx("button",{className:"btn "+A,onClick:()=>{var M;return(M=Y.current)==null?void 0:M.start("static")},children:"Start Static Loading Bar"}),_t.jsx("button",{className:"btn "+A,onClick:()=>{var M;return(M=Y.current)==null?void 0:M.complete()},children:"Complete"}),_t.jsx("br",{})]}):_t.jsxs("div",{children:[_t.jsx("button",{className:"btn "+A,onClick:()=>v(c+10),children:"Add 10%"}),_t.jsx("button",{className:"btn "+A,onClick:()=>v(c+30),children:"Add 30%"}),_t.jsx("button",{className:"btn "+A,onClick:()=>v(c+50),children:"Add 50%"}),_t.jsx("br",{})]}),_t.jsx("button",{className:"btn "+A,onClick:()=>{const M=Xg(A);s(M.barColor),N(M.color)},children:"Change Color"}),_t.jsxs("button",{className:"btn "+A,onClick:()=>w(!X),children:["Change to ",X?"State":"Refs"," Mode"]}),X&&_t.jsx("button",{className:"btn "+A,onClick:()=>B(!E),children:E?"Using Hooks, Change to Ref":"Using Ref, Change to Hooks"}),_t.jsx("a",{className:"btn "+A,target:"_blank",rel:"noopener noreferrer",href:X?E?"https://github.com/klendi/react-top-loading-bar/blob/master/example/examples/ExampleWithContainer.tsx":"https://github.com/klendi/react-top-loading-bar/blob/master/example/examples/ExampleWithRef.tsx":"https://github.com/klendi/react-top-loading-bar/blob/master/example/examples/ExampleWithState.tsx",children:"Example"}),_t.jsx("br",{}),_t.jsx("br",{}),_t.jsxs("div",{className:"github-buttons",children:[_t.jsx("a",{className:"github-button",href:"https://github.com/klendi/react-top-loading-bar","data-color-scheme":"no-preference: light; light: light; dark: dark;","data-size":"large","data-show-count":"true","aria-label":"Star klendi/react-top-loading-bar on GitHub",children:"Star"})," ",_t.jsx("a",{className:"github-button",href:"https://github.com/klendi","data-color-scheme":"no-preference: light; light: light; dark: dark;","data-size":"large","data-show-count":"true","aria-label":"Follow @klendi on GitHub",children:"Follow @klendi"})]}),_t.jsx("br",{}),_t.jsxs("div",{children:["Made with ❤️ by"," ",_t.jsx("a",{href:"https://klendi.dev",style:{color:b},target:"_blank",rel:"noreferrer",children:"Klendi Goci"})]})]})]})};cg.createRoot(document.getElementById("root")).render(_t.jsx(Qt.StrictMode,{children:_t.jsx(wg,{})})); + onLoaderFinished={() => setProgress(0)} />`}),Ot.jsx("br",{}),X?Ot.jsxs("div",{children:[Ot.jsx("button",{className:"btn "+A,onClick:()=>{var M;return(M=Y.current)==null?void 0:M.start()},children:"Start Continuous Loading Bar"}),Ot.jsx("button",{className:"btn "+A,onClick:()=>{var M;return(M=Y.current)==null?void 0:M.start("static")},children:"Start Static Loading Bar"}),Ot.jsx("button",{className:"btn "+A,onClick:()=>{var M;return(M=Y.current)==null?void 0:M.complete()},children:"Complete"}),Ot.jsx("br",{})]}):Ot.jsxs("div",{children:[Ot.jsx("button",{className:"btn "+A,onClick:()=>v(c+10),children:"Add 10%"}),Ot.jsx("button",{className:"btn "+A,onClick:()=>v(c+30),children:"Add 30%"}),Ot.jsx("button",{className:"btn "+A,onClick:()=>v(c+50),children:"Add 50%"}),Ot.jsx("br",{})]}),Ot.jsx("button",{className:"btn "+A,onClick:()=>{const M=Xg(A);s(M.barColor),N(M.color)},children:"Change Color"}),Ot.jsxs("button",{className:"btn "+A,onClick:()=>w(!X),children:["Change to ",X?"State":"Refs"," Mode"]}),X&&Ot.jsx("button",{className:"btn "+A,onClick:()=>B(!p),children:p?"Using Hooks, Change to Ref":"Using Ref, Change to Hooks"}),Ot.jsx("a",{className:"btn "+A,target:"_blank",rel:"noopener noreferrer",href:X?p?"https://github.com/klendi/react-top-loading-bar/blob/master/example/examples/ExampleWithContainer.tsx":"https://github.com/klendi/react-top-loading-bar/blob/master/example/examples/ExampleWithRef.tsx":"https://github.com/klendi/react-top-loading-bar/blob/master/example/examples/ExampleWithState.tsx",children:"Example"}),Ot.jsx("br",{}),Ot.jsx("br",{}),Ot.jsxs("div",{className:"github-buttons",children:[Ot.jsx("a",{className:"github-button",href:"https://github.com/klendi/react-top-loading-bar","data-color-scheme":"no-preference: light; light: light; dark: dark;","data-size":"large","data-show-count":"true","aria-label":"Star klendi/react-top-loading-bar on GitHub",children:"Star"})," ",Ot.jsx("a",{className:"github-button",href:"https://github.com/klendi","data-color-scheme":"no-preference: light; light: light; dark: dark;","data-size":"large","data-show-count":"true","aria-label":"Follow @klendi on GitHub",children:"Follow @klendi"})]}),Ot.jsx("br",{}),Ot.jsxs("div",{children:["Made with ❤️ by"," ",Ot.jsx("a",{href:"https://klendi.dev",style:{color:b},target:"_blank",rel:"noreferrer",children:"Klendi Goci"})]})]})]})};cg.createRoot(document.getElementById("root")).render(Ot.jsx(Qt.StrictMode,{children:Ot.jsx(wg,{})})); diff --git a/index.html b/index.html index f01a098..139f866 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ react-top-loading-bar - +