import{r as bo,s as Uo,g as qo,c as R,j as D,R as Wo}from"./umi-ccd6abee.js";import"./parser-8777147e.js";import{W as Vo,a as O,b as Qo,E as $o,A as be}from"./index-e24bcc33.js";const gl=Vo/4,Ho=40;var yl={exports:{}},Kt={},vl={exports:{}},F={};/** * @license React * scheduler-unstable_mock.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Qn(e,t){var r=e.length;e.push(t);e:for(;0>>1,s=e[n];if(0>>1;nar(o,r))uar(d,o)?(e[n]=d,e[u]=r,n=u):(e[n]=o,e[l]=r,n=l);else if(uar(d,r))e[n]=d,e[u]=r,n=u;else break e}}return t}function ar(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}var Ie=[],Ve=[],Jo=1,pe=null,G=3,xr=!1,ct=!1,qt=!1,ue=0,ee=null,Fe=null,Ze=-1,ge=null,Tt=-1,Lt=!1,ae=!1,Ar=!1,$n=!1,Si=!1;function Hn(e){for(var t=De(Ve);t!==null;){if(t.callback===null)wr(Ve);else if(t.startTime<=e)wr(Ve),t.sortIndex=t.expirationTime,Qn(Ie,t);else break;t=De(Ve)}}function Ti(e){if(qt=!1,Hn(e),!ct)if(De(Ie)!==null)ct=!0,ee=Di;else{var t=De(Ve);t!==null&&(e=t.startTime-e,Fe=Ti,Ze=ue+e)}}function Di(e,t){ct=!1,qt&&(qt=!1,Fe=null,Ze=-1),xr=!0;var r=G;try{for(Hn(t),pe=De(Ie);pe!==null&&(!(pe.expirationTime>t)||e&&!wl());){var n=pe.callback;if(typeof n=="function"){pe.callback=null,G=pe.priorityLevel;var s=n(pe.expirationTime<=t);t=ue,typeof s=="function"?pe.callback=s:pe===De(Ie)&&wr(Ie),Hn(t)}else wr(Ie);pe=De(Ie)}if(pe!==null)var i=!0;else{var l=De(Ve);if(l!==null){var o=l.startTime-t;Fe=Ti,Ze=ue+o}i=!1}return i}finally{pe=null,G=r,xr=!1}}function wl(){return Tt===0&&ge===null||Tt!==-1&&ge!==null&&ge.length>=Tt||$n&&Ar?Lt=!0:!1}function xl(){if(ae)throw Error("Already flushing work.");if(ee!==null){var e=ee;ae=!0;try{var t=!0;do t=e(!0,ue);while(t);return t||(ee=null),!0}finally{ae=!1}}else return!1}F.reset=function(){if(ae)throw Error("Cannot reset while already flushing work.");ue=0,Fe=ee=null,Ze=-1,ge=null,Tt=-1,Ar=ae=Lt=!1};F.unstable_IdlePriority=5;F.unstable_ImmediatePriority=1;F.unstable_LowPriority=4;F.unstable_NormalPriority=3;F.unstable_Profiling=null;F.unstable_UserBlockingPriority=2;F.unstable_advanceTime=function(e){console.log.name==="disabledLog"||Si||(ue+=e,Fe!==null&&Ze<=ue&&(Fe(ue),Ze=-1,Fe=null))};F.unstable_cancelCallback=function(e){e.callback=null};F.unstable_clearYields=function(){if(ge===null)return[];var e=ge;return ge=null,e};F.unstable_continueExecution=function(){ct||xr||(ct=!0,ee=Di)};F.unstable_flushAll=function(){if(ge!==null)throw Error("Log is not empty. Assert on the log of yielded values before flushing additional work.");if(xl(),ge!==null)throw Error("While flushing work, something yielded a value. Use an assertion helper to assert on the log of yielded values, e.g. expect(Scheduler).toFlushAndYield([...])")};F.unstable_flushAllWithoutAsserting=xl;F.unstable_flushExpired=function(){if(ae)throw Error("Already flushing work.");if(ee!==null){ae=!0;try{ee(!1,ue)||(ee=null)}finally{ae=!1}}};F.unstable_flushNumberOfYields=function(e){if(ae)throw Error("Already flushing work.");if(ee!==null){var t=ee;Tt=e,ae=!0;try{e=!0;do e=t(!0,ue);while(e&&!Lt);e||(ee=null)}finally{Tt=-1,ae=Lt=!1}}};F.unstable_flushUntilNextPaint=function(){if(ae)throw Error("Already flushing work.");if(ee!==null){var e=ee;$n=!0,Ar=!1,ae=!0;try{var t=!0;do t=e(!0,ue);while(t&&!Lt);t||(ee=null)}finally{ae=Lt=$n=!1}}};F.unstable_forceFrameRate=function(){};F.unstable_getCurrentPriorityLevel=function(){return G};F.unstable_getFirstCallbackNode=function(){return De(Ie)};F.unstable_next=function(e){switch(G){case 1:case 2:case 3:var t=3;break;default:t=G}var r=G;G=t;try{return e()}finally{G=r}};F.unstable_now=function(){return ue};F.unstable_pauseExecution=function(){};F.unstable_requestPaint=function(){Ar=!0};F.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=G;G=e;try{return t()}finally{G=r}};F.unstable_scheduleCallback=function(e,t,r){var n=ue;switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0n?(e.sortIndex=r,Qn(Ve,e),De(Ie)===null&&e===De(Ve)&&(qt?(Fe=null,Ze=-1):qt=!0,Fe=Ti,Ze=ue+(r-n))):(e.sortIndex=s,Qn(Ie,e),ct||xr||(ct=!0,ee=Di)),e};F.unstable_setDisableYieldValue=function(e){Si=e};F.unstable_shouldYield=wl;F.unstable_wrapCallback=function(e){var t=G;return function(){var r=G;G=t;try{return e.apply(this,arguments)}finally{G=r}}};F.unstable_yieldValue=function(e){console.log.name==="disabledLog"||Si||(ge===null?ge=[e]:ge.push(e))};vl.exports=F;var Ko=vl.exports;/** * @license React * react-test-renderer.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Sl=bo,Tl=Ko,Be=Uo;function hs(e,t){for(var r=0;r>>=0,e===0?32:31-(iu(e)/su|0)|0}var er=64,tr=4194304;function rr(e){switch(e&-e){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: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Tr(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,s=e.suspendedLanes,i=e.pingedLanes,l=r&268435455;if(l!==0){var o=l&~s;o!==0?n=rr(o):(i&=l,i!==0&&(n=rr(i)))}else l=r&~s,l!==0?n=rr(l):i!==0&&(n=rr(i));if(n===0)return 0;if(t!==0&&t!==n&&!(t&s)&&(s=n&-n,i=t&-t,s>=i||s===16&&(i&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function qr(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-pt(t),e[t]=r}function uu(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0o||s[l]!==i[o]){var u=` `+s[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=o);break}}}finally{Gr=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?_t(e):""}var du=Object.prototype.hasOwnProperty,ri=[],wt=-1;function tt(e){return{current:e}}function _(e){0>wt||(e.current=ri[wt],ri[wt]=null,wt--)}function z(e,t){wt++,ri[wt]=e.current,e.current=t}var Ge={},te=tt(Ge),ce=tt(!1),ht=Ge;function Mt(e,t){var r=e.type.contextTypes;if(!r)return Ge;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in r)s[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function he(e){return e=e.childContextTypes,e!=null}function Er(){_(ce),_(te)}function gs(e,t,r){if(te.current!==Ge)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");z(te,t),z(ce,r)}function jl(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var s in n)if(!(s in t))throw Error((Zo(e)||"Unknown")+'.getChildContext(): key "'+s+'" is not defined in childContextTypes.');return lt({},r,n)}function Nr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ge,ht=te.current,z(te,e),z(ce,ce.current),!0}function ys(e,t,r){var n=e.stateNode;if(!n)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");r?(e=jl(e,t,ht),n.__reactInternalMemoizedMergedChildContext=e,_(ce),_(te),z(te,e)):_(ce),z(ce,r)}function fu(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ne=typeof Object.is=="function"?Object.is:fu,me=null,Wr=!1,tn=!1;function mt(){if(!tn&&me!==null){tn=!0;var e=0,t=$;try{var r=me;for($=1;eh?(y=S,S=null):y=S.sibling;var T=v(x,S,w[h],a);if(T===null){S===null&&(S=y);break}e&&S&&T.alternate===null&&t(x,S),f=i(T,f,h),m===null?p=T:m.sibling=T,m=T,S=y}if(h===w.length)return r(x,S),p;if(S===null){for(;hh?(y=S,S=null):y=S.sibling;var M=v(x,S,T.value,a);if(M===null){S===null&&(S=y);break}e&&S&&M.alternate===null&&t(x,S),f=i(M,f,h),m===null?p=M:m.sibling=M,m=M,S=y}if(T.done)return r(x,S),p;if(S===null){for(;!T.done;h++,T=w.next())T=g(x,T.value,a),T!==null&&(f=i(T,f,h),m===null?p=T:m.sibling=T,m=T);return p}for(S=n(x,S);!T.done;h++,T=w.next())T=E(S,x,h,T.value,a),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?h:T.key),f=i(T,f,h),m===null?p=T:m.sibling=T,m=T);return e&&S.forEach(function(C){return t(x,C)}),p}function j(x,f,w,a){if(typeof w=="object"&&w!==null&&w.type===vt&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Gt:e:{for(var p=w.key,m=f;m!==null;){if(m.key===p){if(p=w.type,p===vt){if(m.tag===7){r(x,m.sibling),f=s(m,w.props.children),f.return=x,x=f;break e}}else if(m.elementType===p||typeof p=="object"&&p!==null&&p.$$typeof===Ue&&xs(p)===m.type){r(x,m.sibling),f=s(m,w.props),f.ref=jt(x,m,w),f.return=x,x=f;break e}r(x,m);break}else t(x,m);m=m.sibling}w.type===vt?(f=at(w.props.children,x.mode,a,w.key),f.return=x,x=f):(a=gr(w.type,w.key,w.props,null,x.mode,a),a.ref=jt(x,f,w),a.return=x,x=a)}return l(x);case zt:e:{for(m=w.key;f!==null;){if(f.key===m)if(f.tag===4&&f.stateNode.containerInfo===w.containerInfo&&f.stateNode.implementation===w.implementation){r(x,f.sibling),f=s(f,w.children||[]),f.return=x,x=f;break e}else{r(x,f);break}else t(x,f);f=f.sibling}f=hn(w,x.mode,a),f.return=x,x=f}return l(x);case Ue:return m=w._init,j(x,f,m(w._payload),a)}if(Bt(w))return L(x,f,w,a);if(kt(w))return I(x,f,w,a);sr(x,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,f!==null&&f.tag===6?(r(x,f.sibling),f=s(f,w),f.return=x,x=f):(r(x,f),f=cn(w,x.mode,a),f.return=x,x=f),l(x)):r(x,f)}return j}var Ot=Rl(!0),gu=Rl(!1),Mr=tt(null),Or=null,xt=null,Ii=null;function Ci(){Ii=xt=Or=null}function Pi(e){var t=Mr.current;_(Mr),e._currentValue2=t}function ni(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Dt(e,t){Or=e,Ii=xt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(oe=!0),e.firstContext=null)}function we(e){var t=e._currentValue2;if(Ii!==e)if(e={context:e,memoizedValue:t,next:null},xt===null){if(Or===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");xt=e,Or.dependencies={lanes:0,firstContext:e}}else xt=xt.next=e;return t}var it=null;function ki(e){it===null?it=[e]:it.push(e)}function Xl(e,t,r,n){var s=t.interleaved;return s===null?(r.next=r,ki(t)):(r.next=s.next,s.next=r),t.interleaved=r,It(e,n)}function It(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var qe=!1;function ji(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fl(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function He(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ot(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,X&2){var s=n.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),n.pending=t,It(e,r)}return s=n.interleaved,s===null?(t.next=t,ki(n)):(t.next=s.next,s.next=t),n.interleaved=t,It(e,r)}function cr(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Il(e,r)}}function Ss(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var s=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};i===null?s=i=l:i=i.next=l,r=r.next}while(r!==null);i===null?s=i=t:i=i.next=t}else s=i=t;r={baseState:n.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Ir(e,t,r,n){var s=e.updateQueue;qe=!1;var i=s.firstBaseUpdate,l=s.lastBaseUpdate,o=s.shared.pending;if(o!==null){s.shared.pending=null;var u=o,d=u.next;u.next=null,l===null?i=d:l.next=d,l=u;var c=e.alternate;c!==null&&(c=c.updateQueue,o=c.lastBaseUpdate,o!==l&&(o===null?c.firstBaseUpdate=d:o.next=d,c.lastBaseUpdate=u))}if(i!==null){var g=s.baseState;l=0,c=d=u=null,o=i;do{var v=o.lane,E=o.eventTime;if((n&v)===v){c!==null&&(c=c.next={eventTime:E,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var L=e,I=o;switch(v=t,E=r,I.tag){case 1:if(L=I.payload,typeof L=="function"){g=L.call(E,g,v);break e}g=L;break e;case 3:L.flags=L.flags&-65537|128;case 0:if(L=I.payload,v=typeof L=="function"?L.call(E,g,v):L,v==null)break e;g=lt({},g,v);break e;case 2:qe=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,v=s.effects,v===null?s.effects=[o]:v.push(o))}else E={eventTime:E,lane:v,tag:o.tag,payload:o.payload,callback:o.callback,next:null},c===null?(d=c=E,u=g):c=c.next=E,l|=v;if(o=o.next,o===null){if(o=s.shared.pending,o===null)break;v=o,o=v.next,v.next=null,s.lastBaseUpdate=v,s.shared.pending=null}}while(1);if(c===null&&(u=g),s.baseState=u,s.firstBaseUpdate=d,s.lastBaseUpdate=c,t=s.shared.interleaved,t!==null){s=t;do l|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);ft|=l,e.lanes=l,e.memoizedState=g}}function Ts(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=sn.transition;sn.transition={};try{e(!1),t()}finally{$=r,sn.transition=n}}function Gl(){return xe().memoizedState}function wu(e,t,r){var n=Et(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},eo(e))to(t,r);else if(r=Xl(e,t,r,n),r!==null){var s=Ee();Ke(r,e,n,s),ro(r,t,n)}}function xu(e,t,r){var n=Et(e),s={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(eo(e))to(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,o=i(l,r);if(s.hasEagerState=!0,s.eagerState=o,Ne(o,l)){var u=t.interleaved;u===null?(s.next=s,ki(t)):(s.next=u.next,u.next=s),t.interleaved=s;return}}catch{}finally{}r=Xl(e,t,s,n),r!==null&&(s=Ee(),Ke(r,e,n,s),ro(r,t,n))}}function eo(e){var t=e.alternate;return e===b||t!==null&&t===b}function to(e,t){At=Pr=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function ro(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Il(e,r)}}var kr={readContext:we,useCallback:Y,useContext:Y,useEffect:Y,useImperativeHandle:Y,useInsertionEffect:Y,useLayoutEffect:Y,useMemo:Y,useReducer:Y,useRef:Y,useState:Y,useDebugValue:Y,useDeferredValue:Y,useTransition:Y,useMutableSource:Y,useSyncExternalStore:Y,useId:Y,unstable_isNewReconciler:!1},Su={readContext:we,useCallback:function(e,t){return Oe().memoizedState=[e,t===void 0?null:t],e},useContext:we,useEffect:Es,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,dr(4,4,Hl.bind(null,t,e),r)},useLayoutEffect:function(e,t){return dr(4,4,e,t)},useInsertionEffect:function(e,t){return dr(4,2,e,t)},useMemo:function(e,t){var r=Oe();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Oe();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=wu.bind(null,b,e),[n.memoizedState,e]},useRef:function(e){var t=Oe();return e={current:e},t.memoizedState=e},useState:Ds,useDebugValue:Ai,useDeferredValue:function(e){return Oe().memoizedState=e},useTransition:function(){var e=Ds(!1),t=e[0];return e=vu.bind(null,e[1]),Oe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t){var r=b,n=Oe(),s=t();if(J===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");dt&30||Al(r,t,s),n.memoizedState=s;var i={value:s,getSnapshot:t};return n.queue=i,Es(Ul.bind(null,r,i,e),[e]),r.flags|=2048,$t(9,bl.bind(null,r,i,s,t),void 0,null),s},useId:function(){var e=Oe(),t=J.identifierPrefix,r=yu++;return t=":"+t+"r"+r.toString(32)+":",e.memoizedState=t},unstable_isNewReconciler:!1},Tu={readContext:we,useCallback:Kl,useContext:we,useEffect:_i,useImperativeHandle:Jl,useInsertionEffect:Ql,useLayoutEffect:$l,useMemo:Yl,useReducer:ln,useRef:Vl,useState:function(){return ln(Qt)},useDebugValue:Ai,useDeferredValue:function(e){var t=xe();return Zl(t,W.memoizedState,e)},useTransition:function(){var e=ln(Qt)[0],t=xe().memoizedState;return[e,t]},useMutableSource:Bl,useSyncExternalStore:_l,useId:Gl,unstable_isNewReconciler:!1},Du={readContext:we,useCallback:Kl,useContext:we,useEffect:_i,useImperativeHandle:Jl,useInsertionEffect:Ql,useLayoutEffect:$l,useMemo:Yl,useReducer:on,useRef:Vl,useState:function(){return on(Qt)},useDebugValue:Ai,useDeferredValue:function(e){var t=xe();return W===null?t.memoizedState=e:Zl(t,W.memoizedState,e)},useTransition:function(){var e=on(Qt)[0],t=xe().memoizedState;return[e,t]},useMutableSource:Bl,useSyncExternalStore:_l,useId:Gl,unstable_isNewReconciler:!1};function Te(e,t){if(e&&e.defaultProps){t=lt({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function ii(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:lt({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Qr={isMounted:function(e){return(e=e._reactInternals)?br(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Ee(),s=Et(e),i=He(n,s);i.payload=t,r!=null&&(i.callback=r),t=ot(e,i,s),t!==null&&(Ke(t,e,s,n),cr(t,e,s))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Ee(),s=Et(e),i=He(n,s);i.tag=1,i.payload=t,r!=null&&(i.callback=r),t=ot(e,i,s),t!==null&&(Ke(t,e,s,n),cr(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ee(),n=Et(e),s=He(r,n);s.tag=2,t!=null&&(s.callback=t),t=ot(e,s,n),t!==null&&(Ke(t,e,n,r),cr(t,e,n))}};function Ns(e,t,r,n,s,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,l):t.prototype&&t.prototype.isPureReactComponent?!Lr(r,n)||!Lr(s,i):!0}function no(e,t,r){var n=!1,s=Ge,i=t.contextType;return typeof i=="object"&&i!==null?i=we(i):(s=he(t)?ht:te.current,n=t.contextTypes,i=(n=n!=null)?Mt(e,s):Ge),t=new t(r,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Qr,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ls(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Qr.enqueueReplaceState(t,t.state,null)}function si(e,t,r,n){var s=e.stateNode;s.props=r,s.state=e.memoizedState,s.refs={},ji(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=we(i):(i=he(t)?ht:te.current,s.context=Mt(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(ii(e,t,i,r),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&Qr.enqueueReplaceState(s,s.state,null),Ir(e,r,s,n),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4)}function bi(e,t){try{var r="",n=t;do r+=mu(n),n=n.return;while(n);var s=r}catch(i){s=` Error generating stack: `+i.message+` `+i.stack}return{value:e,source:t,stack:s,digest:null}}function un(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function li(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Eu=typeof WeakMap=="function"?WeakMap:Map;function io(e,t,r){r=He(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Fr||(Fr=!0,mi=n),li(e,t)},r}function so(e,t,r){r=He(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var s=t.value;r.payload=function(){return n(s)},r.callback=function(){li(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){li(e,t),typeof n!="function"&&(Je===null?Je=new Set([this]):Je.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),r}function Ms(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new Eu;var s=new Set;n.set(t,s)}else s=n.get(t),s===void 0&&(s=new Set,n.set(t,s));s.has(r)||(s.add(r),e=_u.bind(null,e,t,r),t.then(e,e))}var Nu=et.ReactCurrentOwner,oe=!1;function ie(e,t,r,n){t.child=e===null?gu(t,null,r,n):Ot(t,e.child,r,n)}function Os(e,t,r,n,s){r=r.render;var i=t.ref;return Dt(t,s),n=Bi(e,t,r,n,i,s),e!==null&&!oe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,ze(e,t,s)):(t.flags|=1,ie(e,t,n,s),t.child)}function Is(e,t,r,n,s){if(e===null){var i=r.type;return typeof i=="function"&&!Ji(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=i,lo(e,t,i,n,s)):(e=gr(r.type,null,n,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var l=i.memoizedProps;if(r=r.compare,r=r!==null?r:Lr,r(l,n)&&e.ref===t.ref)return ze(e,t,s)}return t.flags|=1,e=Ye(i,n),e.ref=t.ref,e.return=t,t.child=e}function lo(e,t,r,n,s){if(e!==null){var i=e.memoizedProps;if(Lr(i,n)&&e.ref===t.ref)if(oe=!1,t.pendingProps=n=i,(e.lanes&s)!==0)e.flags&131072&&(oe=!0);else return t.lanes=e.lanes,ze(e,t,s)}return oi(e,t,r,n,s)}function oo(e,t,r){var n=t.pendingProps,s=n.children,i=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},z(St,de),de|=r;else{if(!(r&1073741824))return e=i!==null?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,z(St,de),de|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,z(St,de),de|=n}else i!==null?(n=i.baseLanes|r,t.memoizedState=null):n=r,z(St,de),de|=n;return ie(e,t,s,r),t.child}function uo(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512)}function oi(e,t,r,n,s){var i=he(r)?ht:te.current;return i=Mt(t,i),Dt(t,s),r=Bi(e,t,r,n,i,s),e!==null&&!oe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,ze(e,t,s)):(t.flags|=1,ie(e,t,r,s),t.child)}function Cs(e,t,r,n,s){if(he(r)){var i=!0;Nr(t)}else i=!1;if(Dt(t,s),t.stateNode===null)fr(e,t),no(t,r,n),si(t,r,n,s),n=!0;else if(e===null){var l=t.stateNode,o=t.memoizedProps;l.props=o;var u=l.context,d=r.contextType;typeof d=="object"&&d!==null?d=we(d):(d=he(r)?ht:te.current,d=Mt(t,d));var c=r.getDerivedStateFromProps,g=typeof c=="function"||typeof l.getSnapshotBeforeUpdate=="function";g||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(o!==n||u!==d)&&Ls(t,l,n,d),qe=!1;var v=t.memoizedState;l.state=v,Ir(t,n,l,s),u=t.memoizedState,o!==n||v!==u||ce.current||qe?(typeof c=="function"&&(ii(t,r,c,n),u=t.memoizedState),(o=qe||Ns(t,r,o,n,v,u,d))?(g||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4)):(typeof l.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=u),l.props=n,l.state=u,l.context=d,n=o):(typeof l.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{l=t.stateNode,Fl(e,t),o=t.memoizedProps,d=t.type===t.elementType?o:Te(t.type,o),l.props=d,g=t.pendingProps,v=l.context,u=r.contextType,typeof u=="object"&&u!==null?u=we(u):(u=he(r)?ht:te.current,u=Mt(t,u));var E=r.getDerivedStateFromProps;(c=typeof E=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(o!==g||v!==u)&&Ls(t,l,n,u),qe=!1,v=t.memoizedState,l.state=v,Ir(t,n,l,s);var L=t.memoizedState;o!==g||v!==L||ce.current||qe?(typeof E=="function"&&(ii(t,r,E,n),L=t.memoizedState),(d=qe||Ns(t,r,d,n,v,L,u)||!1)?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(n,L,u),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(n,L,u)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||o===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=L),l.props=n,l.state=L,l.context=u,n=d):(typeof l.componentDidUpdate!="function"||o===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),n=!1)}return ui(e,t,r,n,i,s)}function ui(e,t,r,n,s,i){uo(e,t);var l=(t.flags&128)!==0;if(!n&&!l)return s&&ys(t,r,!1),ze(e,t,i);n=t.stateNode,Nu.current=t;var o=l&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&l?(t.child=Ot(t,e.child,null,i),t.child=Ot(t,null,o,i)):ie(e,t,o,i),t.memoizedState=n.state,s&&ys(t,r,!0),t.child}function ao(e){var t=e.stateNode;t.pendingContext?gs(e,t.pendingContext,t.pendingContext!==t.context):t.context&&gs(e,t.context,!1),Ri(e,t.containerInfo)}var ai={dehydrated:null,treeContext:null,retryLane:0};function ci(e){return{baseLanes:e,cachePool:null,transitions:null}}function co(e,t,r){var n=t.pendingProps,s=A.current,i=!1,l=(t.flags&128)!==0,o;if((o=l)||(o=e!==null&&e.memoizedState===null?!1:(s&2)!==0),o?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),z(A,s&1),e===null)return e=t.memoizedState,e!==null&&e.dehydrated!==null?(t.mode&1?Qe()?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=n.children,e=n.fallback,i?(n=t.mode,i=t.child,l={mode:"hidden",children:l},!(n&1)&&i!==null?(i.childLanes=0,i.pendingProps=l):i=Hr(l,n,0,null),e=at(e,n,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ci(r),t.memoizedState=ai,e):Ui(t,l));if(s=e.memoizedState,s!==null&&(o=s.dehydrated,o!==null))return Lu(e,t,l,n,o,s,r);if(i){i=n.fallback,l=t.mode,s=e.child,o=s.sibling;var u={mode:"hidden",children:n.children};return!(l&1)&&t.child!==s?(n=t.child,n.childLanes=0,n.pendingProps=u,t.deletions=null):(n=Ye(s,u),n.subtreeFlags=s.subtreeFlags&14680064),o!==null?i=Ye(o,i):(i=at(i,l,r,null),i.flags|=2),i.return=t,n.return=t,n.sibling=i,t.child=n,n=i,i=t.child,l=e.child.memoizedState,l=l===null?ci(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~r,t.memoizedState=ai,n}return i=e.child,e=i.sibling,n=Ye(i,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function Ui(e,t){return t=Hr({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function lr(e,t,r,n){return n!==null&&(Xe===null?Xe=[n]:Xe.push(n)),Ot(t,e.child,null,r),e=Ui(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Lu(e,t,r,n,s,i,l){if(r)return t.flags&256?(t.flags&=-257,i=un(Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")),lr(e,t,l,i)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=n.fallback,r=t.mode,n=Hr({mode:"visible",children:n.children},r,0,null),i=at(i,r,l,null),i.flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,t.mode&1&&Ot(t,e.child,null,l),t.child.memoizedState=ci(l),t.memoizedState=ai,i);if(!(t.mode&1))return lr(e,t,l,null);if(Qe())return i=Qe().digest,i=un(Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),i,void 0),lr(e,t,l,i);if(r=(l&e.childLanes)!==0,oe||r){if(n=J,n!==null){switch(l&-l){case 4:r=2;break;case 16:r=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}r=r&(n.suspendedLanes|l)?0:r,r!==0&&r!==i.retryLane&&(i.retryLane=r,It(e,r),Ke(n,e,r,-1))}return Hi(),i=un(Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")),lr(e,t,l,i)}return Qe()?(t.flags|=128,t.child=e.child,Au.bind(null,e),Qe(),null):(e=Ui(t,n.children),e.flags|=4096,e)}function Ps(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),ni(e.return,t,r)}function an(e,t,r,n,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=s)}function ho(e,t,r){var n=t.pendingProps,s=n.revealOrder,i=n.tail;if(ie(e,t,n.children,r),n=A.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ps(e,r,t);else if(e.tag===19)Ps(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(z(A,n),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(r=t.child,s=null;r!==null;)e=r.alternate,e!==null&&Cr(e)===null&&(s=r),r=r.sibling;r=s,r===null?(s=t.child,t.child=null):(s=r.sibling,r.sibling=null),an(t,!1,s,r,i);break;case"backwards":for(r=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Cr(e)===null){t.child=s;break}e=s.sibling,s.sibling=r,r=s,s=e}an(t,!0,r,null,i);break;case"together":an(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function fr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ze(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),ft|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,r=Ye(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Ye(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function Mu(e,t,r){switch(t.tag){case 3:ao(t);break;case 5:zl(t);break;case 1:he(t.type)&&Nr(t);break;case 4:Ri(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,s=t.memoizedProps.value;z(Mr,n._currentValue2),n._currentValue2=s;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(z(A,A.current&1),t.flags|=128,null):r&t.child.childLanes?co(e,t,r):(z(A,A.current&1),e=ze(e,t,r),e!==null?e.sibling:null);z(A,A.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return ho(e,t,r);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),z(A,A.current),n)break;return null;case 22:case 23:return t.lanes=0,oo(e,t,r)}return ze(e,t,r)}var fo,hi,po,mo;fo=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6){var n=e,s=r.stateNode,i=n.children.indexOf(s);i!==-1&&n.children.splice(i,1),n.children.push(s)}else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};hi=function(){};po=function(e,t,r,n){e.memoizedProps!==n&&(st(ke.current),t.updateQueue=au)&&(t.flags|=4)};mo=function(e,t,r,n){r!==n&&(t.flags|=4)};function Rt(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Z(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var s=e.child;s!==null;)r|=s.lanes|s.childLanes,n|=s.subtreeFlags&14680064,n|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)r|=s.lanes|s.childLanes,n|=s.subtreeFlags,n|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Ou(e,t,r){var n=t.pendingProps;switch(Oi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Z(t),null;case 1:return he(t.type)&&Er(),Z(t),null;case 3:return r=t.stateNode,Ct(),_(ce),_(te),Fi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),e!==null&&e.child!==null||e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Xe!==null&&(vi(Xe),Xe=null)),hi(e,t),Z(t),null;case 5:Xi(t),r=st(Vt.current);var s=t.type;if(e!==null&&t.stateNode!=null)po(e,t,s,n,r),e.ref!==t.ref&&(t.flags|=512);else{if(!n){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Z(t),null}st(ke.current),e={type:s,props:n,isHidden:!1,children:[],internalInstanceHandle:t,rootContainerInstance:r,tag:"INSTANCE"},fo(e,t,!1,!1),t.stateNode=e,t.ref!==null&&(t.flags|=512)}return Z(t),null;case 6:if(e&&t.stateNode!=null)mo(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");st(Vt.current),st(ke.current),t.stateNode={text:n,isHidden:!1,tag:"TEXT"}}return Z(t),null;case 13:if(_(A),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n!==null&&n.dehydrated!==null){if(e===null)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");!(t.flags&128)&&(t.memoizedState=null),t.flags|=4,Z(t),s=!1}else Xe!==null&&(vi(Xe),Xe=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(r=n!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||A.current&1?Q===0&&(Q=3):Hi())),t.updateQueue!==null&&(t.flags|=4),Z(t),null);case 4:return Ct(),hi(e,t),Z(t),null;case 10:return Pi(t.type._context),Z(t),null;case 17:return he(t.type)&&Er(),Z(t),null;case 19:if(_(A),s=t.memoizedState,s===null)return Z(t),null;n=(t.flags&128)!==0;var i=s.rendering;if(i===null)if(n)Rt(s,!1);else{if(Q!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Cr(e),i!==null){for(t.flags|=128,Rt(s,!1),e=i.updateQueue,e!==null&&(t.updateQueue=e,t.flags|=4),t.subtreeFlags=0,e=r,r=t.child;r!==null;)n=r,s=e,n.flags&=14680066,i=n.alternate,i===null?(n.childLanes=0,n.lanes=s,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,s=i.dependencies,n.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),r=r.sibling;return z(A,A.current&1|2),t.child}e=e.sibling}s.tail!==null&&V()>Jt&&(t.flags|=128,n=!0,Rt(s,!1),t.lanes=4194304)}else{if(!n)if(e=Cr(i),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,e!==null&&(t.updateQueue=e,t.flags|=4),Rt(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate)return Z(t),null}else 2*V()-s.renderingStartTime>Jt&&r!==1073741824&&(t.flags|=128,n=!0,Rt(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(e=s.last,e!==null?e.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=V(),t.sibling=null,e=A.current,z(A,n?e&1|2:e&1),t):(Z(t),null);case 22:case 23:return $i(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?de&1073741824&&(Z(t),t.subtreeFlags&6&&(t.flags|=8192)):Z(t),null;case 24:return null;case 25:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Iu(e,t){switch(Oi(t),t.tag){case 1:return he(t.type)&&Er(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ct(),_(ce),_(te),Fi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Xi(t),null;case 13:if(_(A),e=t.memoizedState,e!==null&&e.dehydrated!==null&&t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return _(A),null;case 4:return Ct(),null;case 10:return Pi(t.type._context),null;case 22:case 23:return $i(),null;case 24:return null;default:return null}}var Cu=typeof WeakSet=="function"?WeakSet:Set,P=null;function jr(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){le(e,t,n)}else r.current=null}function di(e,t,r){try{r()}catch(n){le(e,t,n)}}var ks=!1;function Pu(e,t){for(P=t;P!==null;)if(e=P,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,P=t;else for(;P!==null;){e=P;try{var r=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(r!==null){var n=r.memoizedProps,s=r.memoizedState,i=e.stateNode,l=i.getSnapshotBeforeUpdate(e.elementType===e.type?n:Te(e.type,n),s);i.__reactInternalSnapshotBeforeUpdate=l}break;case 3:e.stateNode.containerInfo.children.splice(0);break;case 5:case 6:case 4:case 17:break;default:throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}catch(o){le(e,e.return,o)}if(t=e.sibling,t!==null){t.return=e.return,P=t;break}P=e.return}return r=ks,ks=!1,r}function Rr(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var s=n=n.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&di(t,r,i)}s=s.next}while(s!==n)}}function qi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function go(e){var t=e.alternate;t!==null&&(e.alternate=null,go(t)),e.child=null,e.deletions=null,e.sibling=null,e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function yo(e){return e.tag===5||e.tag===3||e.tag===4}function js(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yo(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function fi(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?kl(r,e,t):Pl(r,e);else if(n!==4&&(e=e.child,e!==null))for(fi(e,t,r),e=e.sibling;e!==null;)fi(e,t,r),e=e.sibling}function pi(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?kl(r,e,t):Pl(r,e);else if(n!==4&&(e=e.child,e!==null))for(pi(e,t,r),e=e.sibling;e!==null;)pi(e,t,r),e=e.sibling}var re=null;function rt(e,t,r){for(r=r.child;r!==null;)vo(e,t,r),r=r.sibling}function vo(e,t,r){if(Pe&&typeof Pe.onCommitFiberUnmount=="function")try{Pe.onCommitFiberUnmount(Ur,r)}catch{}switch(r.tag){case 5:jr(r,t);case 6:var n=re;re=null,rt(e,t,r),re=n,re!==null&&(e=re,r=e.children.indexOf(r.stateNode),e.children.splice(r,1));break;case 18:re!==null&&Qe(re,r.stateNode);break;case 4:n=re,re=r.stateNode.containerInfo,rt(e,t,r),re=n;break;case 0:case 11:case 14:case 15:if(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null)){var s=n=n.next;do{var i=s,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&di(r,t,l),s=s.next}while(s!==n)}rt(e,t,r);break;case 1:if(jr(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function")try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(o){le(r,t,o)}rt(e,t,r);break;case 21:rt(e,t,r);break;case 22:rt(e,t,r);break;default:rt(e,t,r)}}function Rs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Cu),t.forEach(function(n){var s=bu.bind(null,e,n);r.has(n)||(r.add(n),n.then(s,s))})}}function Le(e,t){var r=t.deletions;if(r!==null)for(var n=0;ns&&(s=l),n&=~i}if(n=s,n=V()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*ju(n/1960))-n,10e?16:e,$e===null)var n=!1;else{if(e=$e,$e=null,zr=0,X&6)throw Error("Cannot flush passive effects while already rendering.");var s=X;for(X|=4,P=e.current;P!==null;){var i=P,l=i.child;if(P.flags&16){var o=i.deletions;if(o!==null){for(var u=0;uV()-Qi?ut(e,0):Vi|=r),ve(e,t)}function No(e,t){t===0&&(e.mode&1?(t=tr,tr<<=1,!(tr&130023424)&&(tr=4194304)):t=1);var r=Ee();e=It(e,t),e!==null&&(qr(e,t,r),ve(e,r))}function Au(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),No(e,r)}function bu(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,s=e.memoizedState;s!==null&&(r=s.retryLane);break;case 19:n=e.stateNode;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}n!==null&&n.delete(t),No(e,r)}var Lo;Lo=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||ce.current)oe=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return oe=!1,Mu(e,t,r);oe=!!(e.flags&131072)}else oe=!1;switch(t.lanes=0,t.tag){case 2:var n=t.type;fr(e,t),e=t.pendingProps;var s=Mt(t,te.current);if(Dt(t,r),s=Bi(null,t,n,e,s,r),t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,he(n)){var i=!0;Nr(t)}else i=!1;t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,ji(t),s.updater=Qr,t.stateNode=s,s._reactInternals=t,si(t,n,e,r),t=ui(null,t,n,!0,i,r)}else t.tag=0,ie(null,t,s,r),t=t.child;return t;case 16:n=t.elementType;e:{switch(fr(e,t),e=t.pendingProps,s=n._init,n=s(n._payload),t.type=n,s=t.tag=qu(n),e=Te(n,e),s){case 0:t=oi(null,t,n,e,r);break e;case 1:t=Cs(null,t,n,e,r);break e;case 11:t=Os(null,t,n,e,r);break e;case 14:t=Is(null,t,n,Te(n.type,e),r);break e}throw Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function.")}return t;case 0:return n=t.type,s=t.pendingProps,s=t.elementType===n?s:Te(n,s),oi(e,t,n,s,r);case 1:return n=t.type,s=t.pendingProps,s=t.elementType===n?s:Te(n,s),Cs(e,t,n,s,r);case 3:if(ao(t),e===null)throw Error("Should have a current fiber. This is a bug in React.");return s=t.pendingProps,n=t.memoizedState.element,Fl(e,t),Ir(t,s,null,r),s=t.memoizedState.element,s===n?t=ze(e,t,r):(ie(e,t,s,r),t=t.child),t;case 5:return zl(t),n=t.pendingProps.children,uo(e,t),ie(e,t,n,r),t.child;case 6:return null;case 13:return co(e,t,r);case 4:return Ri(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ot(t,null,n,r):ie(e,t,n,r),t.child;case 11:return n=t.type,s=t.pendingProps,s=t.elementType===n?s:Te(n,s),Os(e,t,n,s,r);case 7:return ie(e,t,t.pendingProps,r),t.child;case 8:return ie(e,t,t.pendingProps.children,r),t.child;case 12:return ie(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,s=t.pendingProps,i=t.memoizedProps;var l=s.value;if(z(Mr,n._currentValue2),n._currentValue2=l,i!==null)if(Ne(i.value,l)){if(i.children===s.children&&!ce.current){t=ze(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var o=i.dependencies;if(o!==null){l=i.child;for(var u=o.firstContext;u!==null;){if(u.context===n){if(i.tag===1){u=He(-1,r&-r),u.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var c=d.pending;c===null?u.next=u:(u.next=c.next,c.next=u),d.pending=u}}i.lanes|=r,u=i.alternate,u!==null&&(u.lanes|=r),ni(i.return,r,t),o.lanes|=r;break}u=u.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");l.lanes|=r,o=l.alternate,o!==null&&(o.lanes|=r),ni(l,r,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}ie(e,t,s.children,r),t=t.child}return t;case 9:return s=t.type,n=t.pendingProps.children,Dt(t,r),s=we(s),n=n(s),t.flags|=1,ie(e,t,n,r),t.child;case 14:return n=t.type,s=Te(n,t.pendingProps),s=Te(n.type,s),Is(e,t,n,s,r);case 15:return lo(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,s=t.pendingProps,s=t.elementType===n?s:Te(n,s),fr(e,t),t.tag=1,he(n)?(e=!0,Nr(t)):e=!1,Dt(t,r),no(t,n,s),si(t,n,s,r),ui(null,t,n,!0,e,r);case 19:return ho(e,t,r);case 22:return oo(e,t,r)}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")};function Mo(e,t){return Mi(e,t)}function Uu(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ce(e,t,r,n){return new Uu(e,t,r,n)}function Ji(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qu(e){if(typeof e=="function")return Ji(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ni)return 11;if(e===Li)return 14}return 2}function Ye(e,t){var r=e.alternate;return r===null?(r=Ce(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function gr(e,t,r,n,s,i){var l=2;if(n=e,typeof e=="function")Ji(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case vt:return at(r.children,s,i,t);case Ei:l=8,s|=8;break;case Jn:return e=Ce(12,r,t,s|2),e.elementType=Jn,e.lanes=i,e;case Kn:return e=Ce(13,r,t,s),e.elementType=Kn,e.lanes=i,e;case Yn:return e=Ce(19,r,t,s),e.elementType=Yn,e.lanes=i,e;case Nl:return Hr(r,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Dl:l=10;break e;case El:l=9;break e;case Ni:l=11;break e;case Li:l=14;break e;case Ue:l=16,n=null;break e}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((e==null?e:typeof e)+"."))}return t=Ce(l,r,t,s),t.elementType=e,t.type=n,t.lanes=i,t}function at(e,t,r,n){return e=Ce(7,e,n,t),e.lanes=r,e}function Hr(e,t,r,n){return e=Ce(22,e,n,t),e.elementType=Nl,e.lanes=r,e.stateNode={isHidden:!1},e}function cn(e,t,r){return e=Ce(6,e,null,t),e.lanes=r,e}function hn(e,t,r){return t=Ce(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Wu(e,t,r,n,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Yr(0),this.expirationTimes=Yr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yr(0),this.identifierPrefix=n,this.onRecoverableError=s}function Vu(e,t,r,n,s,i,l){return e=new Wu(e,t,!1,i,l),t===1?(t=1,n===!0&&(t|=8)):t=0,n=Ce(3,null,null,t),e.current=n,n.stateNode=e,n.memoizedState={element:null,isDehydrated:!1,cache:null,transitions:null,pendingSuspenseBoundaries:null},ji(n),e}function dn(e,t,r,n){var s=t.current,i=Ee(),l=Et(s);e:if(r){r=r._reactInternals;t:{if(br(r)!==r||r.tag!==1)throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var o=r;do{switch(o.tag){case 3:o=o.stateNode.context;break t;case 1:if(he(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break t}}o=o.return}while(o!==null);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag===1){var u=r.type;if(he(u)){r=jl(r,u,o);break e}}r=o}else r=Ge;return t.context===null?t.context=r:t.pendingContext=r,t=He(i,l),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=ot(s,t,l),e!==null&&(Ke(e,s,l,i),cr(e,s,l)),l}function Qu(){return null}var $u=Sl.unstable_act,Hu={createNodeMock:function(){return null}};function yr(e){if(e.isHidden)return null;switch(e.tag){case"TEXT":return e.text;case"INSTANCE":var t=e.props,r=["children"];if(t==null)t={};else{var n={},s=Object.keys(t),i;for(i=0;ixi(r).length)break;return Ki(r)}r=r.return}return null}},{key:"children",get:function(){return xi(this._currentFiber())}}]),e}();function vr(e,t,r){var n=r?r.deep:!0,s=[];return t(e)&&(s.push(e),!n)||e.children.forEach(function(i){typeof i!="string"&&s.push.apply(s,vr(i,t,r))}),s}function fn(e,t){if(e.length===1)return e[0];throw Error((e.length===0?"No instances found ":"Expected 1 but found "+e.length+" instances ")+t)}function Ku(e){console.error(e)}var pn=new WeakMap;function Ki(e){var t=pn.get(e);return t===void 0&&e.alternate!==null&&(t=pn.get(e.alternate)),t===void 0&&(t=new Ju(e),pn.set(e,t)),t}var Ft={findFiberByHostInstance:function(){throw Error("TestRenderer does not support findFiberByHostInstance()")},bundleType:0,version:"18.3.1",rendererPackageName:"react-test-renderer"},Yu={bundleType:Ft.bundleType,version:Ft.version,rendererPackageName:Ft.rendererPackageName,rendererConfig:Ft.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:et.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ll(e),e=e!==null?Ml(e):null,e===null?null:e.stateNode},findFiberByHostInstance:Ft.findFiberByHostInstance||Qu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ur=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ur.isDisabled&&ur.supportsFiber)try{Ur=ur.inject(Yu),Pe=ur}catch{}}Kt._Scheduler=Tl;Kt.act=$u;Kt.create=function(e,t){var r=Hu.createNodeMock,n=!1,s=!1;typeof t=="object"&&t!==null&&(typeof t.createNodeMock=="function"&&(r=t.createNodeMock),t.unstable_isConcurrent===!0&&(n=!0),t.unstable_strictMode===!0&&(s=!0));var i={children:[],createNodeMock:r,tag:"CONTAINER"},l=Vu(i,n?1:0,null,s,null,"",Ku);if(l==null)throw Error("something went wrong");return dn(e,l,null,null),e={_Scheduler:Tl,root:void 0,toJSON:function(){if(l==null||l.current==null||i==null||i.children.length===0)return null;if(i.children.length===1)return yr(i.children[0]);if(i.children.length===2&&i.children[0].isHidden===!0&&i.children[1].isHidden===!1)return yr(i.children[1]);var o=null;if(i.children&&i.children.length)for(var u=0;u":"attribute: {"+n+"}, parent: <"+this.parent.name+">"}isEqualNode(n){return!(n.namespaceURI!==this.namespaceURI||n.prefix!==this.prefix||n.localName!==this.localName||n.value!==this.value)}}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(t.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.value},set:function(r){return this.value=r||""}}),Object.defineProperty(t.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(t.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(t.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"specified",{get:function(){return!0}}),t}.call(this)}.call(R)),Dn.exports}var En={exports:{}},Ws;function Yi(){return Ws||(Ws=1,function(){En.exports=function(){class e{constructor(r){this.nodes=r}clone(){return this.nodes=null}getNamedItem(r){return this.nodes[r]}setNamedItem(r){var n;return n=this.nodes[r.nodeName],this.nodes[r.nodeName]=r,n||null}removeNamedItem(r){var n;return n=this.nodes[r],delete this.nodes[r],n||null}item(r){return this.nodes[Object.keys(this.nodes)[r]]||null}getNamedItemNS(r,n){throw new Error("This DOM method is not implemented.")}setNamedItemNS(r){throw new Error("This DOM method is not implemented.")}removeNamedItemNS(r,n){throw new Error("This DOM method is not implemented.")}}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),e}.call(this)}.call(R)),En.exports}var Vs;function Zi(){return Vs||(Vs=1,function(){var e,t,r,n,s,i,l,o={}.hasOwnProperty;({isObject:l,isFunction:i,getValue:s}=_e()),n=Se(),e=q(),t=Po(),r=Yi(),Sn.exports=function(){class u extends n{constructor(c,g,v){var E,L,I,j;if(super(c),g==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(g),this.type=e.Element,this.attribs={},this.schemaTypeInfo=null,v!=null&&this.attribute(v),c.type===e.Document&&(this.isRoot=!0,this.documentObject=c,c.rootObject=this,c.children)){for(j=c.children,L=0,I=j.length;L=E;g=0<=E?++v:--v)if(!this.attribs[g].isEqualNode(c.attribs[g]))return!1;return!0}}return Object.defineProperty(u.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(u.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(u.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(u.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(u.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(u.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(u.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(u.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new r(this.attribs)),this.attributeMap}}),u}.call(this)}.call(R)),Sn.exports}var Nn={exports:{}},Ln={exports:{}},Qs;function Jr(){return Qs||(Qs=1,function(){var e;e=Se(),Ln.exports=function(){class t extends e{constructor(n){super(n),this.value=""}clone(){return Object.create(this)}substringData(n,s){throw new Error("This DOM method is not implemented."+this.debugInfo())}appendData(n){throw new Error("This DOM method is not implemented."+this.debugInfo())}insertData(n,s){throw new Error("This DOM method is not implemented."+this.debugInfo())}deleteData(n,s){throw new Error("This DOM method is not implemented."+this.debugInfo())}replaceData(n,s,i){throw new Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(n){return!(!super.isEqualNode(n)||n.data!==this.data)}}return Object.defineProperty(t.prototype,"data",{get:function(){return this.value},set:function(r){return this.value=r||""}}),Object.defineProperty(t.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.value},set:function(r){return this.value=r||""}}),t}.call(this)}.call(R)),Ln.exports}var $s;function Gi(){return $s||($s=1,function(){var e,t;e=q(),t=Jr(),Nn.exports=class extends t{constructor(n,s){if(super(n),s==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=e.CData,this.value=this.stringify.cdata(s)}clone(){return Object.create(this)}toString(n){return this.options.writer.cdata(this,this.options.writer.filterOptions(n))}}}.call(R)),Nn.exports}var Mn={exports:{}},Hs;function es(){return Hs||(Hs=1,function(){var e,t;e=q(),t=Jr(),Mn.exports=class extends t{constructor(n,s){if(super(n),s==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=e.Comment,this.value=this.stringify.comment(s)}clone(){return Object.create(this)}toString(n){return this.options.writer.comment(this,this.options.writer.filterOptions(n))}}}.call(R)),Mn.exports}var On={exports:{}},Js;function ts(){return Js||(Js=1,function(){var e,t,r;({isObject:r}=_e()),t=Se(),e=q(),On.exports=class extends t{constructor(s,i,l,o){super(s),r(i)&&({version:i,encoding:l,standalone:o}=i),i||(i="1.0"),this.type=e.Declaration,this.version=this.stringify.xmlVersion(i),l!=null&&(this.encoding=this.stringify.xmlEncoding(l)),o!=null&&(this.standalone=this.stringify.xmlStandalone(o))}toString(s){return this.options.writer.declaration(this,this.options.writer.filterOptions(s))}}}.call(R)),On.exports}var In={exports:{}},Cn={exports:{}},Ks;function rs(){return Ks||(Ks=1,function(){var e,t;t=Se(),e=q(),Cn.exports=class extends t{constructor(n,s,i,l,o,u){if(super(n),s==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(i==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(s));if(!l)throw new Error("Missing DTD attribute type. "+this.debugInfo(s));if(!o)throw new Error("Missing DTD attribute default. "+this.debugInfo(s));if(o.indexOf("#")!==0&&(o="#"+o),!o.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(s));if(u&&!o.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(s));this.elementName=this.stringify.name(s),this.type=e.AttributeDeclaration,this.attributeName=this.stringify.name(i),this.attributeType=this.stringify.dtdAttType(l),u&&(this.defaultValue=this.stringify.dtdAttDefault(u)),this.defaultValueType=o}toString(n){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(n))}}}.call(R)),Cn.exports}var Pn={exports:{}},Ys;function ns(){return Ys||(Ys=1,function(){var e,t,r;({isObject:r}=_e()),t=Se(),e=q(),Pn.exports=function(){class n extends t{constructor(i,l,o,u){if(super(i),o==null)throw new Error("Missing DTD entity name. "+this.debugInfo(o));if(u==null)throw new Error("Missing DTD entity value. "+this.debugInfo(o));if(this.pe=!!l,this.name=this.stringify.name(o),this.type=e.EntityDeclaration,!r(u))this.value=this.stringify.dtdEntityValue(u),this.internal=!0;else{if(!u.pubID&&!u.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(o));if(u.pubID&&!u.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(o));if(this.internal=!1,u.pubID!=null&&(this.pubID=this.stringify.dtdPubID(u.pubID)),u.sysID!=null&&(this.sysID=this.stringify.dtdSysID(u.sysID)),u.nData!=null&&(this.nData=this.stringify.dtdNData(u.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(o))}}toString(i){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(i))}}return Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(n.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(n.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(n.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(n.prototype,"xmlVersion",{get:function(){return null}}),n}.call(this)}.call(R)),Pn.exports}var kn={exports:{}},Zs;function is(){return Zs||(Zs=1,function(){var e,t;t=Se(),e=q(),kn.exports=class extends t{constructor(n,s,i){if(super(n),s==null)throw new Error("Missing DTD element name. "+this.debugInfo());i||(i="(#PCDATA)"),Array.isArray(i)&&(i="("+i.join(",")+")"),this.name=this.stringify.name(s),this.type=e.ElementDeclaration,this.value=this.stringify.dtdElementValue(i)}toString(n){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(n))}}}.call(R)),kn.exports}var jn={exports:{}},Gs;function ss(){return Gs||(Gs=1,function(){var e,t;t=Se(),e=q(),jn.exports=function(){class r extends t{constructor(s,i,l){if(super(s),i==null)throw new Error("Missing DTD notation name. "+this.debugInfo(i));if(!l.pubID&&!l.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(i));this.name=this.stringify.name(i),this.type=e.NotationDeclaration,l.pubID!=null&&(this.pubID=this.stringify.dtdPubID(l.pubID)),l.sysID!=null&&(this.sysID=this.stringify.dtdSysID(l.sysID))}toString(s){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(s))}}return Object.defineProperty(r.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(r.prototype,"systemId",{get:function(){return this.sysID}}),r}.call(this)}.call(R)),jn.exports}var el;function ls(){return el||(el=1,function(){var e,t,r,n,s,i,l,o;({isObject:o}=_e()),l=Se(),e=q(),t=rs(),n=ns(),r=is(),s=ss(),i=Yi(),In.exports=function(){class u extends l{constructor(c,g,v){var E,L,I,j;if(super(c),this.type=e.DocType,c.children){for(j=c.children,L=0,I=j.length;L":(m=this.parent)!=null&&m.name?"node: <"+a+">, parent: <"+this.parent.name+">":"node: <"+a+">"}ele(a,p,m){return this.element(a,p,m)}nod(a,p,m){return this.node(a,p,m)}txt(a){return this.text(a)}dat(a){return this.cdata(a)}com(a){return this.comment(a)}ins(a,p){return this.instruction(a,p)}doc(){return this.document()}dec(a,p,m){return this.declaration(a,p,m)}e(a,p,m){return this.element(a,p,m)}n(a,p,m){return this.node(a,p,m)}t(a){return this.text(a)}d(a){return this.cdata(a)}c(a){return this.comment(a)}r(a){return this.raw(a)}i(a,p){return this.instruction(a,p)}u(){return this.up()}importXMLBuilder(a){return this.importDocument(a)}attribute(a,p){throw new Error("attribute() applies to element nodes only.")}att(a,p){return this.attribute(a,p)}a(a,p){return this.attribute(a,p)}removeAttribute(a){throw new Error("attribute() applies to element nodes only.")}replaceChild(a,p){throw new Error("This DOM method is not implemented."+this.debugInfo())}removeChild(a){throw new Error("This DOM method is not implemented."+this.debugInfo())}appendChild(a){throw new Error("This DOM method is not implemented."+this.debugInfo())}hasChildNodes(){return this.children.length!==0}cloneNode(a){throw new Error("This DOM method is not implemented."+this.debugInfo())}normalize(){throw new Error("This DOM method is not implemented."+this.debugInfo())}isSupported(a,p){return!0}hasAttributes(){return this.attribs.length!==0}compareDocumentPosition(a){var p,m;return p=this,p===a?0:this.document()!==a.document()?(m=e.Disconnected|e.ImplementationSpecific,Math.random()<.5?m|=e.Preceding:m|=e.Following,m):p.isAncestor(a)?e.Contains|e.Preceding:p.isDescendant(a)?e.Contains|e.Following:p.isPreceding(a)?e.Preceding:e.Following}isSameNode(a){throw new Error("This DOM method is not implemented."+this.debugInfo())}lookupPrefix(a){throw new Error("This DOM method is not implemented."+this.debugInfo())}isDefaultNamespace(a){throw new Error("This DOM method is not implemented."+this.debugInfo())}lookupNamespaceURI(a){throw new Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(a){var p,m,S;if(a.nodeType!==this.nodeType||a.children.length!==this.children.length)return!1;for(p=m=0,S=this.children.length-1;0<=S?m<=S:m>=S;p=0<=S?++m:--m)if(!this.children[p].isEqualNode(a.children[p]))return!1;return!0}getFeature(a,p){throw new Error("This DOM method is not implemented."+this.debugInfo())}setUserData(a,p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())}getUserData(a){throw new Error("This DOM method is not implemented."+this.debugInfo())}contains(a){return a?a===this||this.isDescendant(a):!1}isDescendant(a){var p,m,S,h,y;for(y=this.children,S=0,h=y.length;Sm}treePosition(a){var p,m;return m=0,p=!1,this.foreachTreeNode(this.document(),function(S){if(m++,!p&&S===a)return p=!0}),p?m:-1}foreachTreeNode(a,p){var m,S,h,y,T;for(a||(a=this.document()),y=a.children,S=0,h=y.length;S","]]]]>"),this.assertLegalChar(n))}comment(n){if(this.options.noValidation)return n;if(n=""+n||"",n.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+n);return this.assertLegalChar(n)}raw(n){return this.options.noValidation?n:""+n||""}attValue(n){return this.options.noValidation?n:this.assertLegalChar(this.attEscape(n=""+n||""))}insTarget(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")}insValue(n){if(this.options.noValidation)return n;if(n=""+n||"",n.match(/\?>/))throw new Error("Invalid processing instruction value: "+n);return this.assertLegalChar(n)}xmlVersion(n){if(this.options.noValidation)return n;if(n=""+n||"",!n.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+n);return n}xmlEncoding(n){if(this.options.noValidation)return n;if(n=""+n||"",!n.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+n);return this.assertLegalChar(n)}xmlStandalone(n){return this.options.noValidation?n:n?"yes":"no"}dtdPubID(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")}dtdSysID(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")}dtdElementValue(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")}dtdAttType(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")}dtdAttDefault(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")}dtdEntityValue(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")}dtdNData(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")}assertLegalChar(n){var s,i;if(this.options.noValidation)return n;if(this.options.version==="1.0"){if(s=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,this.options.invalidCharReplacement!==void 0)n=n.replace(s,this.options.invalidCharReplacement);else if(i=n.match(s))throw new Error(`Invalid character in string: ${n} at index ${i.index}`)}else if(this.options.version==="1.1"){if(s=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,this.options.invalidCharReplacement!==void 0)n=n.replace(s,this.options.invalidCharReplacement);else if(i=n.match(s))throw new Error(`Invalid character in string: ${n} at index ${i.index}`)}return n}assertLegalName(n){var s;if(this.options.noValidation)return n;if(n=this.assertLegalChar(n),s=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!n.match(s))throw new Error(`Invalid character in name: ${n}`);return n}textEscape(n){var s;return this.options.noValidation?n:(s=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,n.replace(s,"&").replace(//g,">").replace(/\r/g," "))}attEscape(n){var s;return this.options.noValidation?n:(s=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,n.replace(s,"&").replace(/0)?new Array(u).join(l.indent):""}endline(i,l,o){return!l.pretty||l.suppressPrettyCount?"":l.newline}attribute(i,l,o){var u;return this.openAttribute(i,l,o),l.pretty&&l.width>0?u=i.name+'="'+i.value+'"':u=" "+i.name+'="'+i.value+'"',this.closeAttribute(i,l,o),u}cdata(i,l,o){var u;return this.openNode(i,l,o),l.state=t.OpenTag,u=this.indent(i,l,o)+""+this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),u}comment(i,l,o){var u;return this.openNode(i,l,o),l.state=t.OpenTag,u=this.indent(i,l,o)+""+this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),u}declaration(i,l,o){var u;return this.openNode(i,l,o),l.state=t.OpenTag,u=this.indent(i,l,o)+"",u+=this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),u}docType(i,l,o){var u,d,c,g,v;if(o||(o=0),this.openNode(i,l,o),l.state=t.OpenTag,g=this.indent(i,l,o),g+="0){for(g+=" [",g+=this.endline(i,l,o),l.state=t.InsideTag,v=i.children,d=0,c=v.length;d",g+=this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),g}element(i,l,o){var u,d,c,g,v,E,L,I,j,x,f,w,a,p,m,S,h,y,T;if(o||(o=0),w=!1,this.openNode(i,l,o),l.state=t.OpenTag,a=this.indent(i,l,o)+"<"+i.name,l.pretty&&l.width>0){I=a.length,m=i.attribs;for(f in m)n.call(m,f)&&(u=m[f],p=this.attribute(u,l,o),d=p.length,I+d>l.width?(T=this.indent(i,l,o+1)+p,a+=this.endline(i,l,o)+T,I=T.length):(T=" "+p,a+=T,I+=T.length))}else{S=i.attribs;for(f in S)n.call(S,f)&&(u=S[f],a+=this.attribute(u,l,o))}if(g=i.children.length,v=g===0?null:i.children[0],g===0||i.children.every(function(M){return(M.type===e.Text||M.type===e.Raw||M.type===e.CData)&&M.value===""}))l.allowEmpty?(a+=">",l.state=t.CloseTag,a+=""+this.endline(i,l,o)):(l.state=t.CloseTag,a+=l.spaceBeforeSlash+"/>"+this.endline(i,l,o));else if(l.pretty&&g===1&&(v.type===e.Text||v.type===e.Raw||v.type===e.CData)&&v.value!=null)a+=">",l.state=t.InsideTag,l.suppressPrettyCount++,w=!0,a+=this.writeChildNode(v,l,o+1),l.suppressPrettyCount--,w=!1,l.state=t.CloseTag,a+=""+this.endline(i,l,o);else{if(l.dontPrettyTextNodes){for(h=i.children,E=0,j=h.length;E"+this.endline(i,l,o),l.state=t.InsideTag,y=i.children,L=0,x=y.length;L",w&&l.suppressPrettyCount--,a+=this.endline(i,l,o),l.state=t.None}return this.closeNode(i,l,o),a}writeChildNode(i,l,o){switch(i.type){case e.CData:return this.cdata(i,l,o);case e.Comment:return this.comment(i,l,o);case e.Element:return this.element(i,l,o);case e.Raw:return this.raw(i,l,o);case e.Text:return this.text(i,l,o);case e.ProcessingInstruction:return this.processingInstruction(i,l,o);case e.Dummy:return"";case e.Declaration:return this.declaration(i,l,o);case e.DocType:return this.docType(i,l,o);case e.AttributeDeclaration:return this.dtdAttList(i,l,o);case e.ElementDeclaration:return this.dtdElement(i,l,o);case e.EntityDeclaration:return this.dtdEntity(i,l,o);case e.NotationDeclaration:return this.dtdNotation(i,l,o);default:throw new Error("Unknown XML node type: "+i.constructor.name)}}processingInstruction(i,l,o){var u;return this.openNode(i,l,o),l.state=t.OpenTag,u=this.indent(i,l,o)+"",u+=this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),u}raw(i,l,o){var u;return this.openNode(i,l,o),l.state=t.OpenTag,u=this.indent(i,l,o),l.state=t.InsideTag,u+=i.value,l.state=t.CloseTag,u+=this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),u}text(i,l,o){var u;return this.openNode(i,l,o),l.state=t.OpenTag,u=this.indent(i,l,o),l.state=t.InsideTag,u+=i.value,l.state=t.CloseTag,u+=this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),u}dtdAttList(i,l,o){var u;return this.openNode(i,l,o),l.state=t.OpenTag,u=this.indent(i,l,o)+""+this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),u}dtdElement(i,l,o){var u;return this.openNode(i,l,o),l.state=t.OpenTag,u=this.indent(i,l,o)+""+this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),u}dtdEntity(i,l,o){var u;return this.openNode(i,l,o),l.state=t.OpenTag,u=this.indent(i,l,o)+""+this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),u}dtdNotation(i,l,o){var u;return this.openNode(i,l,o),l.state=t.OpenTag,u=this.indent(i,l,o)+""+this.endline(i,l,o),l.state=t.None,this.closeNode(i,l,o),u}openNode(i,l,o){}closeNode(i,l,o){}openAttribute(i,l,o){}closeAttribute(i,l,o){}}}.call(R)),Un.exports}var hl;function cs(){return hl||(hl=1,function(){var e;e=Ro(),bn.exports=class extends e{constructor(r){super(r)}document(r,n){var s,i,l,o,u;for(n=this.filterOptions(n),o="",u=r.children,i=0,l=u.length;i=0;)this.up();return this.onEnd()}openCurrent(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)}openNode(h){var y,T,M,C;if(!h.isOpen){if(!this.root&&this.currentLevel===0&&h.type===e.Element&&(this.root=h),T="",h.type===e.Element){this.writerOptions.state=t.OpenTag,T=this.writer.indent(h,this.writerOptions,this.currentLevel)+"<"+h.name,C=h.attribs;for(M in C)m.call(C,M)&&(y=C[M],T+=this.writer.attribute(y,this.writerOptions,this.currentLevel));T+=(h.children?">":"/>")+this.writer.endline(h,this.writerOptions,this.currentLevel),this.writerOptions.state=t.InsideTag}else this.writerOptions.state=t.OpenTag,T=this.writer.indent(h,this.writerOptions,this.currentLevel)+""),T+=this.writer.endline(h,this.writerOptions,this.currentLevel);return this.onData(T,this.currentLevel),h.isOpen=!0}}closeNode(h){var y;if(!h.isClosed)return y="",this.writerOptions.state=t.CloseTag,h.type===e.Element?y=this.writer.indent(h,this.writerOptions,this.currentLevel)+""+this.writer.endline(h,this.writerOptions,this.currentLevel):y=this.writer.indent(h,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(h,this.writerOptions,this.currentLevel),this.writerOptions.state=t.None,this.onData(y,this.currentLevel),h.isClosed=!0}onData(h,y){return this.documentStarted=!0,this.onDataCallback(h,y+1)}onEnd(){return this.documentCompleted=!0,this.onEndCallback()}debugInfo(h){return h==null?"":"node: <"+h+">"}ele(){return this.element(...arguments)}nod(h,y,T){return this.node(h,y,T)}txt(h){return this.text(h)}dat(h){return this.cdata(h)}com(h){return this.comment(h)}ins(h,y){return this.instruction(h,y)}dec(h,y,T){return this.declaration(h,y,T)}dtd(h,y,T){return this.doctype(h,y,T)}e(h,y,T){return this.element(h,y,T)}n(h,y,T){return this.node(h,y,T)}t(h){return this.text(h)}d(h){return this.cdata(h)}c(h){return this.comment(h)}r(h){return this.raw(h)}i(h,y){return this.instruction(h,y)}att(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList(...arguments):this.attribute(...arguments)}a(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList(...arguments):this.attribute(...arguments)}ent(h,y){return this.entity(h,y)}pent(h,y){return this.pEntity(h,y)}not(h,y){return this.notation(h,y)}}}.call(R)),Wn.exports}var Vn={exports:{}},pl;function la(){return pl||(pl=1,function(){var e,t,r,n={}.hasOwnProperty;e=q(),r=Ro(),t=Kr(),Vn.exports=class extends r{constructor(i,l){super(l),this.stream=i}endline(i,l,o){return i.isLastRootNode&&l.state===t.CloseTag?"":super.endline(i,l,o)}document(i,l){var o,u,d,c,g,v,E,L,I;for(E=i.children,u=d=0,g=E.length;d0){for(this.stream.write(" ["),this.stream.write(this.endline(i,l,o)),l.state=t.InsideTag,g=i.children,d=0,c=g.length;d"),this.stream.write(this.endline(i,l,o)),l.state=t.None,this.closeNode(i,l,o)}element(i,l,o){var u,d,c,g,v,E,L,I,j,x,f,w,a,p,m;if(o||(o=0),this.openNode(i,l,o),l.state=t.OpenTag,x=this.indent(i,l,o)+"<"+i.name,l.pretty&&l.width>0){L=x.length,w=i.attribs;for(j in w)n.call(w,j)&&(u=w[j],f=this.attribute(u,l,o),d=f.length,L+d>l.width?(m=this.indent(i,l,o+1)+f,x+=this.endline(i,l,o)+m,L=m.length):(m=" "+f,x+=m,L+=m.length))}else{a=i.attribs;for(j in a)n.call(a,j)&&(u=a[j],x+=this.attribute(u,l,o))}if(this.stream.write(x),g=i.children.length,v=g===0?null:i.children[0],g===0||i.children.every(function(S){return(S.type===e.Text||S.type===e.Raw||S.type===e.CData)&&S.value===""}))l.allowEmpty?(this.stream.write(">"),l.state=t.CloseTag,this.stream.write("")):(l.state=t.CloseTag,this.stream.write(l.spaceBeforeSlash+"/>"));else if(l.pretty&&g===1&&(v.type===e.Text||v.type===e.Raw||v.type===e.CData)&&v.value!=null)this.stream.write(">"),l.state=t.InsideTag,l.suppressPrettyCount++,this.writeChildNode(v,l,o+1),l.suppressPrettyCount--,l.state=t.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(i,l,o)),l.state=t.InsideTag,p=i.children,E=0,I=p.length;E")}return this.stream.write(this.endline(i,l,o)),l.state=t.None,this.closeNode(i,l,o)}processingInstruction(i,l,o){return this.stream.write(super.processingInstruction(i,l,o))}raw(i,l,o){return this.stream.write(super.raw(i,l,o))}text(i,l,o){return this.stream.write(super.text(i,l,o))}dtdAttList(i,l,o){return this.stream.write(super.dtdAttList(i,l,o))}dtdElement(i,l,o){return this.stream.write(super.dtdElement(i,l,o))}dtdEntity(i,l,o){return this.stream.write(super.dtdEntity(i,l,o))}dtdNotation(i,l,o){return this.stream.write(super.dtdNotation(i,l,o))}}}.call(R)),Vn.exports}(function(){var e,t,r,n,s,i,l,o,u;({assign:o,isFunction:u}=_e()),r=Co(),n=Xo(),s=sa(),l=cs(),i=la(),e=q(),t=Kr(),Ae.create=function(d,c,g,v){var E,L;if(d==null)throw new Error("Root element needs a name.");return v=o({},c,g,v),E=new n(v),L=E.element(d),v.headless||(E.declaration(v),(v.pubID!=null||v.sysID!=null)&&E.dtd(v)),L},Ae.begin=function(d,c,g){return u(d)&&([c,g]=[d,c],d={}),c?new s(d,c,g):new n(d)},Ae.stringWriter=function(d){return new l(d)},Ae.streamWriter=function(d,c){return new i(d,c)},Ae.implementation=new r,Ae.nodeType=e,Ae.writerState=t}).call(R);const Fo=(e,t,r=!1)=>{const{type:n,props:s,children:i}=t,l=i||[],o=l[0];if(l.length===1&&typeof o=="string"){e.ele(n,s,o);return}let u=null;r?Object.keys(s).map(d=>{e.att(d,s[d])}):u=e.ele(n,s),l.forEach(d=>{if(typeof d=="string")throw new Error("Invaild XML");Fo(u||e,d)})},oa=e=>{const t=Gu.create(e).toJSON();if(!t)throw new Error("Element is invalid");const r=Ae.create(t.type);return Fo(r,t,!0),r.end({pretty:!0}),r.toString({pretty:!0})};function ua(e){return{alter:e.alter,step:"CDEFGAB"[(e.note+98)%7],octave:Math.floor(e.note/7)+4}}function aa(e){const t=[O.f,O.p,O.m,O.r,O.s,O.z],r=["p","pp","ppp","pppp","ppppp","pppppp","f","ff","fff","ffff","fffff","ffffff","m","mp","mf","sf","sfp","sfpp","fp","rf","rfz","sfz","sffz","fz","n","pf","sfzp","other-dynamics"],n=e.filter(i=>t.includes(i.type)),s=n.sort((i,l)=>i.x-l.x).map(i=>i.type).join("");if(n&&n.length>0){if(r.includes(s))return{type:s,direction:{"^":"above",_:"below"}[n[0].direction]};console.error("无法识别的力度记号",s)}}function ca(e){return{10:"1024th",9:"512th",8:"256th",7:"128th",6:"64th",5:"32nd",4:"16th",3:"eighth",2:"quarter",1:"half",0:"whole"}[e]}class _a{title;pageSize;unitSize;staffLayout;paperOptions;headers;voiceStaves;score;workTitle="";partBuilders=[];constructor(t){Object.assign(this,t);const r=this.voiceStaves;for(const[n,s]of this.partTemplate.entries()){const i=this.ensurePartBuilder(n,s);for(const l of s.map(o=>r[o]))for(const[o,u]of l.voices.entries())for(const[d,c]of u.measures.entries())i.ensureMeasureBuilder(d).addVoice({...c,voiceIndexOfStaff:o})}}get partTemplate(){return this.staffLayout.partGroups.map(t=>t.range[0]===t.range[1]?[t.range[0]]:t.range)}ensurePartBuilder(t,r){for(;this.partBuilders.length<=t;){const n=new ha({parent:this,template:r});this.partBuilders.push(n)}return this.partBuilders[t]}createPartListElement(){return D.jsx("part-list",{children:this.partBuilders.map(t=>D.jsx("score-part",{id:t.id,children:D.jsx("part-name",{"print-object":"no",children:t.name})}))})}toJSX(){const t=new Date;return`${t.getFullYear()}${String(t.getMonth()+1).padStart(2,"0")}${String(t.getDate()).padStart(2,"0")}`,D.jsxs("score-partwise",{version:"4.0",children:[D.jsx("work",{children:D.jsx("work-title",{children:this.workTitle})}),D.jsx("movement-title",{children:this.workTitle}),D.jsx("defaults",{children:D.jsxs("scaling",{children:[D.jsx("millimeters",{children:"8"}),D.jsx("tenths",{children:Ho})]})}),D.jsx("part-list",{children:this.partBuilders.map(r=>D.jsx("score-part",{id:r.id,children:D.jsx("part-name",{"print-object":"no",children:"MusicXML Part"})}))}),this.partBuilders.map(r=>r.toJSX())]})}toString(){return` ${oa(this.toJSX())} `}}class ha{parent;name;measureBuilders=[];staffContexts=[];template;get id(){return`P${this.parent.partBuilders.indexOf(this)+1}`}get stavesCount(){return this.template.length}constructor(t){Object.assign(this,t)}ensureStaffContext(t){for(;this.staffContexts.length<=t;){const r=new pa({parent:this,index:t});this.staffContexts.push(r)}return this.staffContexts[t]}ensureMeasureBuilder(t){for(;this.measureBuilders.length<=t;){const r=new da({parent:this});this.measureBuilders.push(r)}return this.measureBuilders[t]}toJSX(){return D.jsx("part",{id:this.id,children:this.measureBuilders.map((t,r)=>t.toJSX())})}}class da{parent;voiceBuilders=[];beamCount=0;beamState;get index(){return this.parent.measureBuilders.indexOf(this)}get score(){return this.parent.parent.score}constructor(t){Object.assign(this,t)}addVoice(t){const r=new fa({parent:this,voice:t});this.voiceBuilders.push(r),t.contextedTerms.filter(i=>i.type===Qo.Clef).forEach(i=>{const l={[O.ClefC]:"C",[O.ClefF]:"F",[O.ClefG]:"G"}[i.tokenType];l||console.error("unknown Clef",i.tokenType);const o=this.parent.ensureStaffContext(i.staff);o.addClef(new zo({parent:o,measureIndex:this.index,tick:i.tick,number:i.staff-this.parent.template[0],sign:l,line:3-i.y})),o.addKey(new Bo({parent:o,measureIndex:this.index,fifths:t.keySignature})),o.addTime(new _o({parent:o,measureIndex:this.index,beats:t.timeSignature.numerator,beatType:t.timeSignature.denominator,timeSigNumeric:t.timeSigNumeric}))});const n={[O.OctaveShift8va]:8,[O.OctaveShift8vb]:-8,[O.OctaveShift0]:0},s=Object.keys(n);t.contextedTerms.forEach(i=>{s.includes(i.tokenType)&&this.parent.ensureStaffContext(i.staff).addOctaveShiftTerm(i,this.index)})}toJSX(){const t=this.score.pages.reduce((r,n)=>[...r,...n.systems.reduce((s,i)=>[...s,...i.measureBars],[])],[]);return this.beamCount=0,D.jsxs("measure",{number:this.index+1,width:Math.round(t[this.index]*10),children:[this.index===0&&D.jsx(D.Fragment,{children:this.parent.staffContexts.map(r=>{var n;return r.clefBuilders.length>0?D.jsx("attributes",{children:(n=r.clefBuilders)==null?void 0:n[0].toJSX()}):null})}),this.voiceBuilders.reduce((r,n,s)=>{var i,l;return r.push(...n.toJSX()),(l=(i=this.voiceBuilders[s+1])==null?void 0:i.toJSX)!=null&&l.call(i)&&r.push(D.jsx("backup",{children:D.jsx("duration",{children:n.voice.duration})})),r},[])]})}}class fa{parent;voice;get index(){return this.parent.voiceBuilders.indexOf(this)}constructor(t){Object.assign(this,t)}toJSX(){const t=[],r={[O.AccNatural]:0,[O.AccSharp]:1,[O.AccDoublesharp]:2,[O.AccFlat]:-1,[O.AccFlatflat]:-1,[O.KeyNatural]:0,[O.KeySharp]:1,[O.KeyFlat]:-1},n=Object.keys(r),s=this.voice.contextedTerms.reduce((l,o)=>{if(n.includes(o.tokenType)){const u=l.findIndex(d=>d.x===o.x&&d.y===o.y);u>-1?l.splice(u,1):l.push(o)}return l},[]),i=Object.entries(this.voice.tickMap).map(([l,o])=>[Number(l),o]).sort(([l],[o])=>l-o);return i.forEach(([l,o])=>{const u=s.filter(d=>d.tick===l);u.length>0&&u.forEach(d=>{var g;const c=(g=o.ys)==null?void 0:g.findIndex(v=>v===d.y);c>-1&&(o.pitches[c].accidental=r[d.tokenType])})}),i.forEach(([l,o],u)=>{var c,g,v,E,L;const d=this.parent.parent.ensureStaffContext(o.staff||0);if(o instanceof $o){const I=d.lookupDivisions(this.parent.index),j=d.lookupStaves(this.parent.index),x=d.lookupClef(this.parent.index,+l),f=d.lookupKey(this.parent.index),w=d.lookupTime(this.parent.index),a=[I,f,w,j,x].filter(Boolean).map(N=>N.toJSX());u===0&&this.index===0&&a.length>0&&t.push(D.jsx("attributes",{children:a}));const p=[],m=[];m.push(...new ya(o.accessories).toJSX()||[]),m.length>0&&p.push(D.jsx("technical",{children:m}));const S=[];o.accessories.some(N=>N.type===O.ScriptStaccato)&&S.push(D.jsx("staccato",{})),o.accessories.some(N=>N.type===O.ScriptSforzato)&&S.push(D.jsx("accent",{})),o.accessories.some(N=>N.type===O.ScriptStaccatissimo)&&S.push(D.jsx("spiccato",{})),o.accessories.some(N=>N.type===O.ScriptMarcato)&&S.push(D.jsx("strong-accent",{})),o.accessories.some(N=>N.type===O.ScriptTenuto)&&S.push(D.jsx("tenuto",{})),S.length>0&&p.push(D.jsx("articulations",{children:S}));const h=o.accessories.find(N=>N.type===O.ScriptFermata);h&&p.push(D.jsx("fermata",{type:{[be.Up]:"upright",[be.Down]:"inverted"}[h.direction]})),o.accessories.some(N=>N.type===O.SlurBegin)&&o.accessories.filter(N=>N.type===O.SlurBegin).forEach(N=>{p.push(D.jsx("slur",{"default-x":(o.x+N.x).toFixed(2),placement:{[be.Up]:"above",[be.Down]:"below"}[N.direction],type:"start"}))}),o.accessories.some(N=>N.type===O.SlurEnd)&&o.accessories.filter(N=>N.type===O.SlurEnd).forEach(N=>{p.push(D.jsx("slur",{"default-x":(o.x+N.x).toFixed(2),number:"1",placement:{[be.Up]:"above",[be.Down]:"below"}[N.direction],type:"stop"}))}),o.accessories.some(N=>N.type===O.TieBegin)&&o.accessories.filter(N=>N.type===O.TieBegin).forEach(N=>{p.push(D.jsx("tied",{type:"start"}))}),o.accessories.some(N=>N.type===O.TieEnd)&&o.accessories.filter(N=>N.type===O.TieEnd).forEach(N=>{p.push(D.jsx("tied",{type:"stop"}))});const y=[];o.accessories.some(N=>N.type===O.ScriptTurn)&&y.push(D.jsx("turn",{})),o.accessories.some(N=>N.type===O.ScriptTrill)&&y.push(D.jsx("trill-mark",{})),o.accessories.some(N=>N.type===O.ScriptMordent)&&y.push(D.jsx("mordent",{})),o.accessories.some(N=>N.type===O.ScriptPortato)&&y.push(D.jsx("inverted-mordent",{})),y.length>0&&p.push(D.jsx("ornaments",{children:y}));const T=ca(o.division);if(this.index===0){const N=o.staff-this.parent.parent.template[0]+1,B=aa(o.accessories);if(B){const ne=B.type;t.push(D.jsxs("direction",{placement:B.direction??"below",children:[D.jsx("direction-type",{children:D.jsx("dynamics",{children:Wo.createElement(ne)})}),D.jsx("staff",{children:N})]}))}const k=o.accessories.find(ne=>ne.type===O.WedgeCrescendo),fe=o.accessories.find(ne=>ne.type===O.WedgeDiminuendo),Pt=o.accessories.find(ne=>ne.type===O.WedgeClose);k&&t.push(D.jsxs("direction",{placement:"below",children:[D.jsx("direction-type",{children:D.jsx("wedge",{type:"crescendo"})}),D.jsx("staff",{children:N})]})),fe&&t.push(D.jsxs("direction",{placement:"below",children:[D.jsx("direction-type",{children:D.jsx("wedge",{type:"diminuendo"})}),D.jsx("staff",{children:N})]})),Pt&&t.push(D.jsxs("direction",{children:[D.jsx("direction-type",{children:D.jsx("wedge",{type:"stop"})}),D.jsx("staff",{children:N})]})),o.accessories.some(ne=>ne.type===O.PedalPed)&&t.push(D.jsxs("direction",{children:[D.jsx("direction-type",{children:D.jsx("pedal",{type:"start",sign:"yes"})}),D.jsx("staff",{children:N})]})),o.accessories.some(ne=>ne.type===O.PedalStar)&&t.push(D.jsxs("direction",{children:[D.jsx("direction-type",{children:D.jsx("pedal",{type:"stop",sign:"yes"})}),D.jsx("staff",{children:N})]}));const gt=(g=(c=d.lookupOctaveShift(this.parent.index))==null?void 0:c.getJSX)==null?void 0:g.call(c,o.tick);gt&&t.push(gt)}if(o.pitches){const N=o.pitches.length>1;(v=o.pitches)==null||v.forEach((B,k)=>{const{alter:fe,step:Pt,octave:gt}=ua(B),ne={u:"up",d:"down"}[o.stemDirection];if(!this.voice.empty){let Zt=null;switch(o.beam){case"Open":Zt=D.jsx("beam",{number:"1",children:"begin"}),this.parent.beamState=o.beam;break;case"Close":Zt=D.jsx("beam",{number:"1",children:"end"}),this.parent.beamCount+=1,this.parent.beamState=o.beam;break;default:this.parent.beamState==="Open"&&(Zt=D.jsx("beam",{number:"1",children:"continue"}));break}const Ao=o.staff-this.parent.parent.template[0]+1;t.push(D.jsxs("note",{children:[o.grace&&D.jsx("grace",{"steal-time-following":o.duration}),N&&k!==0&&D.jsx("chord",{}),!o.rest&&D.jsxs("pitch",{children:[D.jsx("step",{children:Pt}),fe!==0&&D.jsx("alter",{children:fe}),D.jsx("octave",{children:gt})]}),o.rest==="r"&&D.jsxs("rest",{children:[D.jsx("display-step",{children:Pt}),D.jsx("display-octave",{children:gt})]}),o.rest==="R"&&D.jsxs("rest",{measure:"yes",children:[D.jsx("display-step",{children:Pt}),D.jsx("display-octave",{children:gt})]}),o.grace?null:D.jsx("duration",{children:o.duration}),D.jsx("voice",{children:this.index+1}),D.jsx("type",{children:T}),Array(o.dots).fill(null).map(()=>D.jsx("dot",{})),new xa(B.accidental).toJSX(),o.timeWarp&&new va(o.timeWarp).toJSX(),ne?D.jsx("stem",{children:ne}):null,D.jsx("staff",{children:Ao}),Zt,k===0?p.length>0&&D.jsx("notations",{children:p}):null]}))}})}if(this.index===0&&u===i.length-1){const N=d.getCurrentTime(this.parent.index);if(N){const B=(L=(E=d.lookupOctaveShift(this.parent.index))==null?void 0:E.getJSX)==null?void 0:L.call(E,gl*N.beatType/4*N.beats);B&&t.push(B)}}const M=Math.max(...d.clefBuilders.map(N=>N.tick)),C=Math.max(...Object.keys(this.voice.tickMap).map(N=>+N));if(M>=C){const N=d.lookupClef(this.parent.index,M);N&&t.push(D.jsx("attributes",{children:N.toJSX()}))}}}),t}}class pa{parent;index;divisionsBuilder=new ma({value:gl});clefBuilders=[];keyBuilders=[];timeBuilders=[];octave;tied;beamCount=0;octaveShiftBuilders=[];constructor(t){Object.assign(this,t)}lookupDivisions(t){return t===0?this.divisionsBuilder:null}lookupStaves(t){return t===0?new ga({value:this.parent.stavesCount}):null}addClef(t){this.lookupClef(t.measureIndex,t.tick)||this.clefBuilders.length>0&&zo.equals(this.clefBuilders[this.clefBuilders.length-1],t)||this.clefBuilders.push(t)}lookupClef(t,r){const n=this.clefBuilders.filter(s=>s.measureIndex===t&&s.tick===r);return n.length>0?n[0]:null}addKey(t){this.lookupKey(t.measureIndex)||this.keyBuilders.length>0&&Bo.equals(this.keyBuilders[this.keyBuilders.length-1],t)||this.keyBuilders.push(t)}lookupKey(t){const r=this.keyBuilders.filter(n=>n.measureIndex===t);return r.length>0?r[0]:null}addTime(t){this.lookupTime(t.measureIndex)||this.timeBuilders.length>0&&_o.equals(this.timeBuilders[this.timeBuilders.length-1],t)||this.timeBuilders.push(t)}lookupTime(t){const r=this.timeBuilders.filter(n=>n.measureIndex===t);return r.length>0?r[0]:null}getCurrentTime(t){const r=this.timeBuilders.filter(n=>n.measureIndex<=t);return r.sort((n,s)=>n.measureIndex-s.measureIndex),r[r.length-1]}addOctaveShiftTerm(t,r){let n=this.octaveShiftBuilders.find(s=>s.measureIndex===r);n||(n=new Sa({parent:this,measureIndex:r}),this.octaveShiftBuilders.push(n)),n.addTerm(t)}lookupOctaveShift(t){const r=this.octaveShiftBuilders.filter(n=>n.measureIndex===t);return r.length>0?r[0]:null}}class zo{parent;measureIndex;tick;number;sign;line;size="full";afterBarline=!0;additional=!1;constructor(t){Object.assign(this,t)}static equals(t,r){return t&&r&&t.number===r.number&&t.sign===r.sign&&t.line===r.line&&t.size===r.size}toJSX(){return D.jsxs("clef",{number:this.number+1,size:this.size,additional:this.additional?"yes":"no","after-barline":this.afterBarline?"yes":"no",children:[D.jsx("sign",{children:this.sign}),D.jsx("line",{children:this.line})]})}}class Bo{parent;measureIndex;fifths;mode;constructor(t){Object.assign(this,t)}static equals(t,r){return t&&r&&t.fifths===r.fifths&&t.mode===r.mode}toJSX(){return D.jsxs("key",{children:[D.jsx("fifths",{children:this.fifths}),this.mode?D.jsx("mode",{children:this.mode}):null]})}}class _o{parent;measureIndex;beats;beatType;timeSigNumeric;constructor(t){Object.assign(this,t)}static equals(t,r){return t&&r&&t.beats===r.beats&&t.beatType===r.beatType}toJSX(){const t={};return this.beats===2&&this.beatType===2&&(t.symbol="cut"),this.beats===4&&this.beatType===4&&(t.symbol="common"),D.jsxs("time",{...t,children:[D.jsx("beats",{children:this.beats}),D.jsx("beat-type",{children:this.beatType})]})}}class ma{value;constructor(t){Object.assign(this,t)}toJSX(){return D.jsx("divisions",{children:this.value})}}class ga{value;constructor(t){Object.assign(this,t)}toJSX(){return D.jsx("staves",{children:this.value})}}const ml={[O.Zero]:0,[O.One]:1,[O.Two]:2,[O.Three]:3,[O.Four]:4,[O.Five]:5,[O.Six]:6,[O.Seven]:7,[O.Eight]:8,[O.Nine]:9};class ya{value;placement;data;constructor(t){this.data=t}toJSX(){const t=Object.keys(ml),r=this.data.filter(n=>t.includes(n.type));return r.length>0?r.map(n=>D.jsx("fingering",{placement:{[be.Up]:"above",[be.Down]:"below"}[n.direction],children:ml[n.type]})):null}}class va{timeWarp;constructor(t){this.timeWarp=t}toJSX(){return D.jsxs("time-modification",{children:[D.jsx("actual-notes",{children:this.timeWarp.denominator}),D.jsx("normal-notes",{children:this.timeWarp.numerator})]})}}const wa={"-2":"flat-flat","-1":"flat",0:"natural",1:"sharp",2:"double-sharp"};class xa{alter;constructor(t){this.alter=t}toJSX(){return typeof this.alter=="number"?D.jsx("accidental",{children:wa[this.alter]}):null}}class Sa{parent;measureIndex;number;terms=[];constructor(t){Object.assign(this,t)}addTerm(t){this.terms.find(r=>r.tick===t.tick)||this.terms.push(t)}getJSX(t){const r=this.terms.find(s=>s.tick===t);if(!r)return null;let n="up";switch(r.tokenType){case O.OctaveShift8vb:n="up";break;case O.OctaveShift8va:n="down";break;case O.OctaveShift0:n="stop";break}return D.jsxs("direction",{children:[D.jsx("direction-type",{children:D.jsx("octave-shift",{size:"8",type:n,number:"1"})}),D.jsx("staff",{children:this.parent.parent.template.indexOf(this.parent.index)+1})]})}validate(){if(this.terms.length===0)return!0;this.terms.sort((n,s)=>n.tick-s.tick);const t=[],r=[];for(let n of this.terms)[O.OctaveShift8va,O.OctaveShift8vb].includes(n.tokenType)&&r.push(n),O.OctaveShift0===n.tokenType&&(r.push(n),t.push([...r]),r.length=0);return t.some(n=>n.length!==2)||r.length===1?(console.error("八度记号配对错误"),!1):!0}toJSX(){}}export{_a as S};