From 6836fd4a61b79070e09b0ae481ac7b961d58d9ec Mon Sep 17 00:00:00 2001 From: Ji Chang Date: Mon, 27 Nov 2023 17:00:56 +0800 Subject: [PATCH] update docs --- docs/index.74fa8025.js | 107 +++++++++++++++++++++++++++++++++ docs/index.74fa8025.js.map | 1 + docs/index.95f733ec.js | 108 ++++++++++++++++++++++++++++++++++ docs/index.95f733ec.js.map | 1 + docs/index.ddab7344.css | 2 + docs/index.ddab7344.css.map | 1 + docs/index.html | 1 + docs/ticker.5331175f.js | 8 +++ docs/ticker.5331175f.js.map | 1 + packages/website/package.json | 4 +- packages/website/src/App.tsx | 45 +++++++------- 11 files changed, 257 insertions(+), 22 deletions(-) create mode 100644 docs/index.74fa8025.js create mode 100644 docs/index.74fa8025.js.map create mode 100644 docs/index.95f733ec.js create mode 100644 docs/index.95f733ec.js.map create mode 100644 docs/index.ddab7344.css create mode 100644 docs/index.ddab7344.css.map create mode 100644 docs/index.html create mode 100644 docs/ticker.5331175f.js create mode 100644 docs/ticker.5331175f.js.map diff --git a/docs/index.74fa8025.js b/docs/index.74fa8025.js new file mode 100644 index 0000000..8db00d6 --- /dev/null +++ b/docs/index.74fa8025.js @@ -0,0 +1,107 @@ +!function(){function e(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function n(e){return e&&e.__esModule?e.default:e}var r={},o={},a=t.parcelRequire7391;null==a&&((a=function(e){if(e in r)return r[e].exports;if(e in o){var t=o[e];delete o[e];var n={id:e,exports:{}};return r[e]=n,t.call(n.exports,n,n.exports),n.exports}var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}).register=function(e,t){o[e]=t},t.parcelRequire7391=a),a.register("3tig5",(function(t,n){var r,o;e(t.exports,"register",(function(){return r}),(function(e){return r=e})),e(t.exports,"resolve",(function(){return o}),(function(e){return o=e}));var a={};r=function(e){for(var t=Object.keys(e),n=0;nt}return!1}function N(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){R[e]=new N(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];R[t]=new N(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){R[e]=new N(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){R[e]=new N(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){R[e]=new N(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){R[e]=new N(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){R[e]=new N(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){R[e]=new N(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){R[e]=new N(e,5,!1,e.toLowerCase(),null,!1,!1)}));var M=/[\-:]([a-z])/g;function _(e){return e[1].toUpperCase()}function D(e,t,n,r){var o=R.hasOwnProperty(t)?R[t]:null;(null!==o?0!==o.type:r||!(2--c||o[i]!==a[c]){var l="\n"+o[i].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}}while(1<=i&&0<=c);break}}}finally{ee=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Z(e):""}function ne(e){switch(e.tag){case 5:return Z(e.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return e=te(e.type,!1);case 11:return e=te(e.type.render,!1);case 1:return e=te(e.type,!0);default:return""}}function re(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case L:return"Fragment";case A:return"Portal";case F:return"Profiler";case B:return"StrictMode";case U:return"Suspense";case K:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case W:return(e.displayName||"Context")+".Consumer";case H:return(e._context.displayName||"Context")+".Provider";case V:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case G:return null!==(t=e.displayName||null)?t:re(e.type)||"Memo";case X:t=e._payload,e=e._init;try{return re(e(t))}catch(e){}}return null}function oe(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return re(t);case 8:return t===B?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function ae(e){switch(void 0===e?"undefined":(0,v._)(e)){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ie(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ce(e){e._valueTracker||(e._valueTracker=function(e){var t=ie(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function le(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ie(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ue(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function se(e,t){var n=t.checked;return J({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function de(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ae(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function fe(e,t){null!=(t=t.checked)&&D(e,"checked",t,!1)}function pe(e,t){fe(e,t);var n=ae(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?he(e,t.type,n):t.hasOwnProperty("defaultValue")&&he(e,t.type,ae(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function me(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function he(e,t,n){"number"===t&&ue(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ve=Array.isArray;function ge(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ee.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ke(e,t)}))}:ke);function Ie(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},je=["Webkit","ms","Moz","O"];function Ne(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Pe.hasOwnProperty(e)&&Pe[e]?(""+t).trim():t+"px"}function Re(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ne(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Pe).forEach((function(e){je.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pe[t]=Pe[e]}))}));var Me=J({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _e(e,t){if(t){if(Me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(b(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(b(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(b(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(b(62))}}function De(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Te=null;function ze(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ae=null,Le=null,Be=null;function Fe(e){if(e=To(e)){if("function"!=typeof Ae)throw Error(b(280));var t=e.stateNode;t&&(t=Ao(t),Ae(e.stateNode,e.type,t))}}function He(e){Le?Be?Be.push(e):Be=[e]:Le=e}function We(){if(Le){var e=Le,t=Be;if(Be=Le=null,Fe(e),t)for(e=0;e>>=0,0===e?32:31-(St(e)/Ct|0)|0},St=Math.log,Ct=Math.LN2;var Et=64,kt=4194304;function Ot(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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function It(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var c=i&~o;0!==c?r=Ot(c):0!==(a&=i)&&(r=Ot(a))}else 0!==(i=n&~o)?r=Ot(i):0!==a&&(r=Ot(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-wt(t)]=n}function _t(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-wt(n),o=1<=Yn),Zn=String.fromCharCode(32),er=!1;function tr(e,t){switch(e){case"keyup":return-1!==qn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var rr=!1;var or={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ar(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!or[e.type]:"textarea"===t}function ir(e,t,n,r){He(r),0<(t=co(t,"onChange")).length&&(n=new kn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var cr=null,lr=null;function ur(e){Zr(e,0)}function sr(e){if(le(zo(e)))return e}function dr(e,t){if("change"===e)return t}var fr=!1;if(E){var pr;if(E){var mr="oninput"in document;if(!mr){var hr=document.createElement("div");hr.setAttribute("oninput","return;"),mr="function"==typeof hr.oninput}pr=mr}else pr=!1;fr=pr&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Er(r)}}function Or(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Or(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ir(){for(var e=window,t=ue();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=ue((e=t.contentWindow).document)}return t}function Pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function jr(e){var t=Ir(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Or(n.ownerDocument.documentElement,n)){if(null!==r&&Pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=kr(n,a);var i=kr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,Rr=null,Mr=null,_r=null,Dr=!1;function Tr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Dr||null==Rr||Rr!==ue(r)||("selectionStart"in(r=Rr)&&Pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},_r&&Cr(_r,r)||(_r=r,0<(r=co(Mr,"onSelect")).length&&(t=new kn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Rr)))}function zr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ar={animationend:zr("Animation","AnimationEnd"),animationiteration:zr("Animation","AnimationIteration"),animationstart:zr("Animation","AnimationStart"),transitionend:zr("Transition","TransitionEnd")},Lr={},Br={};function Fr(e){if(Lr[e])return Lr[e];if(!Ar[e])return e;var t,n=Ar[e];for(t in n)if(n.hasOwnProperty(t)&&t in Br)return Lr[e]=n[t];return e}E&&(Br=document.createElement("div").style,"AnimationEvent"in window||(delete Ar.animationend.animation,delete Ar.animationiteration.animation,delete Ar.animationstart.animation),"TransitionEvent"in window||delete Ar.transitionend.transition);var Hr=Fr("animationend"),Wr=Fr("animationiteration"),Vr=Fr("animationstart"),Ur=Fr("transitionend"),Kr=new Map,Gr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Xr(e,t){Kr.set(e,t),S(t,[e])}for(var qr=0;qrBo||(e.current=Lo[Bo],Lo[Bo]=null,Bo--)}function Wo(e,t){Bo++,Lo[Bo]=e.current,e.current=t}var Vo={},Uo=Fo(Vo),Ko=Fo(!1),Go=Vo;function Xo(e,t){var n=e.type.contextTypes;if(!n)return Vo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function qo(e){return null!=(e=e.childContextTypes)}function $o(){Ho(Ko),Ho(Uo)}function Yo(e,t,n){if(Uo.current!==Vo)throw Error(b(168));Wo(Uo,t),Wo(Ko,n)}function Qo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(b(108,oe(e)||"Unknown",o));return J({},n,r)}function Jo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Vo,Go=Uo.current,Wo(Uo,e),Wo(Ko,Ko.current),!0}function Zo(e,t,n){var r=e.stateNode;if(!r)throw Error(b(169));n?(e=Qo(e,t,Go),r.__reactInternalMemoizedMergedChildContext=e,Ho(Ko),Ho(Uo),Wo(Uo,e)):Ho(Ko),Wo(Ko,n)}var ea=null,ta=!1,na=!1;function ra(e){null===ea?ea=[e]:ea.push(e)}function oa(){if(!na&&null!==ea){na=!0;var e=0,t=Dt;try{var n=ea;for(Dt=1;e>=i,o-=i,fa=1<<32-wt(t)+o|n<f?(v=d,d=null):v=d.sibling;var g=m(o,d,c[f],l);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,f),null===s?u=g:s.sibling=g,s=g,d=v}if(f===c.length)return n(o,d),xa&&ma(o,f),u;if(null===d){for(;ff?(v=d,d=null):v=d.sibling;var y=m(o,d,g.value,l);if(null===y){null===d&&(d=v);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,f),null===s?u=y:s.sibling=y,s=y,d=v}if(g.done)return n(o,d),xa&&ma(o,f),u;if(null===d){for(;!g.done;f++,g=c.next())null!==(g=p(o,g.value,l))&&(i=a(g,i,f),null===s?u=g:s.sibling=g,s=g);return xa&&ma(o,f),u}for(d=r(o,d);!g.done;f++,g=c.next())null!==(g=h(d,o,f,g.value,l))&&(e&&null!==g.alternate&&d.delete(null===g.key?f:g.key),i=a(g,i,f),null===s?u=g:s.sibling=g,s=g);return e&&d.forEach((function(e){return t(o,e)})),xa&&ma(o,f),u};function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Zu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case z:return(n=Yu(t.type,t.key,t.props,null,e.mode,n)).ref=li(e,null,t),n.return=e,n;case A:return(t=es(t,e.mode,n)).return=e,t;case X:return p(e,(0,t._init)(t._payload),n)}if(ve(t)||Y(t))return(t=Qu(t,e.mode,n,null)).return=e,t;ui(e,t)}return null}function m(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:c(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case z:return n.key===o?l(e,t,n,r):null;case A:return n.key===o?u(e,t,n,r):null;case X:return m(e,t,(o=n._init)(n._payload),r)}if(ve(n)||Y(n))return null!==o?null:s(e,t,n,r,null);ui(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return e=e.get(n)||null,c(t,e,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case z:return e=e.get(null===r.key?n:r.key)||null,l(t,e,r,o);case A:return e=e.get(null===r.key?n:r.key)||null,u(t,e,r,o);case X:return h(e,t,n,(0,r._init)(r._payload),o)}if(ve(r)||Y(r))return e=e.get(n)||null,s(t,e,r,o,null);ui(t,r)}return null}return function e(r,a,c,l){if("object"==typeof c&&null!==c&&c.type===L&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case z:e:{for(var u=c.key,s=a;null!==s;){if(s.key===u){if((u=c.type)===L){if(7===s.tag){n(r,s.sibling),(a=o(s,c.props.children)).return=r,r=a;break e}}else if(s.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===X&&si(u)===s.type){n(r,s.sibling),(a=o(s,c.props)).ref=li(r,s,c),a.return=r,r=a;break e}n(r,s);break}t(r,s),s=s.sibling}c.type===L?((a=Qu(c.props.children,r.mode,l,c.key)).return=r,r=a):((l=Yu(c.type,c.key,c.props,null,r.mode,l)).ref=li(r,a,c),l.return=r,r=l)}return i(r);case A:e:{for(s=c.key;null!==a;){if(a.key===s){if(4===a.tag&&a.stateNode.containerInfo===c.containerInfo&&a.stateNode.implementation===c.implementation){n(r,a.sibling),(a=o(a,c.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=es(c,r.mode,l)).return=r,r=a}return i(r);case X:return e(r,a,(s=c._init)(c._payload),l)}if(ve(c))return d(r,a,c,l);if(Y(c))return f(r,a,c,l);ui(r,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,c)).return=r,r=a):(n(r,a),(a=Zu(c,r.mode,l)).return=r,r=a),i(r)):n(r,a)}}var fi=di(!0),pi=di(!1),mi={},hi=Fo(mi),vi=Fo(mi),gi=Fo(mi);function yi(e){if(e===mi)throw Error(b(174));return e}function bi(e,t){switch(Wo(gi,t),Wo(vi,e),Wo(hi,mi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ce(null,"");break;default:t=Ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ho(hi),Wo(hi,t)}function xi(){Ho(hi),Ho(vi),Ho(gi)}function wi(e){yi(gi.current);var t=yi(hi.current),n=Ce(t,e.type);t!==n&&(Wo(vi,e),Wo(hi,n))}function Si(e){vi.current===e&&(Ho(hi),Ho(vi))}var Ci=Fo(0);function Ei(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ki=[];function Oi(){for(var e=0;en?n:4,e(!0);var r=Pi.transition;Pi.transition={};try{e(!1),t()}finally{Dt=n,Pi.transition=r}}function hc(){return Wi().memoizedState}function vc(e,t,n){var r=gu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yc(e))bc(t,n);else if(null!==(n=Ua(e,t,n,r))){yu(n,e,r,vu()),xc(n,t,r)}}function gc(e,t,n){var r=gu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yc(e))bc(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,c=a(i,n);if(o.hasEagerState=!0,o.eagerState=c,Sr(c,i)){var l=t.interleaved;return null===l?(o.next=o,Va(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Ua(e,t,o,r))&&(yu(n,e,r,o=vu()),xc(n,t,r))}}function yc(e){var t=e.alternate;return e===Ni||null!==t&&t===Ni}function bc(e,t){Di=_i=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xc(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,_t(e,n)}}var wc={readContext:Ha,useCallback:Ai,useContext:Ai,useEffect:Ai,useImperativeHandle:Ai,useInsertionEffect:Ai,useLayoutEffect:Ai,useMemo:Ai,useReducer:Ai,useRef:Ai,useState:Ai,useDebugValue:Ai,useDeferredValue:Ai,useTransition:Ai,useMutableSource:Ai,useSyncExternalStore:Ai,useId:Ai,unstable_isNewReconciler:!1},Sc={readContext:Ha,useCallback:function(e,t){return Hi().memoizedState=[e,void 0===t?null:t],e},useContext:Ha,useEffect:oc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,nc(4194308,4,lc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nc(4194308,4,e,t)},useInsertionEffect:function(e,t){return nc(4,2,e,t)},useMemo:function(e,t){var n=Hi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Hi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=vc.bind(null,Ni,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Hi().memoizedState=e},useState:Zi,useDebugValue:sc,useDeferredValue:function(e){return Hi().memoizedState=e},useTransition:function(){var e=Zi(!1),t=e[0];return e=mc.bind(null,e[1]),Hi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ni,o=Hi();if(xa){if(void 0===n)throw Error(b(407));n=n()}else{if(n=t(),null===Kl)throw Error(b(349));0!=(30&ji)||qi(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,oc(Yi.bind(null,r,a,e),[e]),r.flags|=2048,ec(9,$i.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Hi(),t=Kl.identifierPrefix;if(xa){var n=pa;t=":"+t+"R"+(n=(fa&~(1<<32-wt(fa)-1)).toString(32)+n),0<(n=Ti++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=zi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Cc={readContext:Ha,useCallback:dc,useContext:Ha,useEffect:ac,useImperativeHandle:uc,useInsertionEffect:ic,useLayoutEffect:cc,useMemo:fc,useReducer:Ui,useRef:tc,useState:function(){return Ui(Vi)},useDebugValue:sc,useDeferredValue:function(e){return pc(Wi(),Ri.memoizedState,e)},useTransition:function(){return[Ui(Vi)[0],Wi().memoizedState]},useMutableSource:Gi,useSyncExternalStore:Xi,useId:hc,unstable_isNewReconciler:!1},Ec={readContext:Ha,useCallback:dc,useContext:Ha,useEffect:ac,useImperativeHandle:uc,useInsertionEffect:ic,useLayoutEffect:cc,useMemo:fc,useReducer:Ki,useRef:tc,useState:function(){return Ki(Vi)},useDebugValue:sc,useDeferredValue:function(e){var t=Wi();return null===Ri?t.memoizedState=e:pc(t,Ri.memoizedState,e)},useTransition:function(){return[Ki(Vi)[0],Wi().memoizedState]},useMutableSource:Gi,useSyncExternalStore:Xi,useId:hc,unstable_isNewReconciler:!1};function kc(e,t){try{var n="",r=t;do{n+=ne(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function Oc(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Ic(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var Pc="function"==typeof WeakMap?WeakMap:Map;function jc(e,t,n){(n=$a(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){iu||(iu=!0,cu=r),Ic(0,t)},n}function Nc(e,t,n){(n=$a(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Ic(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){Ic(0,t),"function"!=typeof r&&(null===lu?lu=new Set([this]):lu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Rc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Pc;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Hu.bind(null,e,t,n),t.then(e,e))}function Mc(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function _c(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=$a(-1,1)).tag=2,Ya(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var Dc=T.ReactCurrentOwner,Tc=!1;function zc(e,t,n,r){t.child=null===e?pi(t,null,n,r):fi(t,e.child,n,r)}function Ac(e,t,n,r,o){n=n.render;var a=t.ref;return Fa(t,o),r=Bi(e,t,n,r,a,o),n=Fi(),null===e||Tc?(xa&&n&&va(t),t.flags|=1,zc(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,il(e,t,o))}function Lc(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||qu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Yu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Bc(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Cr)(i,r)&&e.ref===t.ref)return il(e,t,o)}return t.flags|=1,(e=$u(a,r)).ref=t.ref,e.return=t,t.child=e}function Bc(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Cr(a,r)&&e.ref===t.ref){if(Tc=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,il(e,t,o);0!=(131072&e.flags)&&(Tc=!0)}}return Wc(e,t,n,r,o)}function Fc(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Wo($l,ql),ql|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Wo($l,ql),ql|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Wo($l,ql),ql|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Wo($l,ql),ql|=r;return zc(e,t,o,n),t.child}function Hc(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Wc(e,t,n,r,o){var a=qo(n)?Go:Uo.current;return a=Xo(t,a),Fa(t,o),n=Bi(e,t,n,r,a,o),r=Fi(),null===e||Tc?(xa&&r&&va(t),t.flags|=1,zc(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,il(e,t,o))}function Vc(e,t,n,r,o){if(qo(n)){var a=!0;Jo(t)}else a=!1;if(Fa(t,o),null===t.stateNode)al(e,t),ai(t,n,r),ci(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,c=t.memoizedProps;i.props=c;var l=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Ha(u):u=Xo(t,u=qo(n)?Go:Uo.current);var s=n.getDerivedStateFromProps,d="function"==typeof s||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(c!==r||l!==u)&&ii(t,i,r,u),Ga=!1;var f=t.memoizedState;i.state=f,Za(t,r,i,o),l=t.memoizedState,c!==r||f!==l||Ko.current||Ga?("function"==typeof s&&(ni(t,n,s,r),l=t.memoizedState),(c=Ga||oi(t,n,c,r,f,l,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=c):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,qa(e,t),c=t.memoizedProps,u=t.type===t.elementType?c:Ma(t.type,c),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=Ha(l):l=Xo(t,l=qo(n)?Go:Uo.current);var p=n.getDerivedStateFromProps;(s="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(c!==d||f!==l)&&ii(t,i,r,l),Ga=!1,f=t.memoizedState,i.state=f,Za(t,r,i,o);var m=t.memoizedState;c!==d||f!==m||Ko.current||Ga?("function"==typeof p&&(ni(t,n,p,r),m=t.memoizedState),(u=Ga||oi(t,n,u,r,f,m,l)||!1)?(s||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||c===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||c===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=l,r=u):("function"!=typeof i.componentDidUpdate||c===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||c===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Uc(e,t,n,r,a,o)}function Uc(e,t,n,r,o,a){Hc(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Zo(t,n,!1),il(e,t,a);r=t.stateNode,Dc.current=t;var c=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=fi(t,e.child,null,a),t.child=fi(t,null,c,a)):zc(e,t,c,a),t.memoizedState=r.state,o&&Zo(t,n,!0),t.child}function Kc(e){var t=e.stateNode;t.pendingContext?Yo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Yo(0,t.context,!1),bi(e,t.containerInfo)}function Gc(e,t,n,r,o){return ja(),Na(o),t.flags|=256,zc(e,t,n,r),t.child}var Xc,qc,$c,Yc,Qc={dehydrated:null,treeContext:null,retryLane:0};function Jc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Zc(e,t,n){var r,o=t.pendingProps,a=Ci.current,i=!1,c=0!=(128&t.flags);if((r=c)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Wo(Ci,1&a),null===e)return ka(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(c=o.children,e=o.fallback,i?(o=t.mode,i=t.child,c={mode:"hidden",children:c},0==(1&o)&&null!==i?(i.childLanes=0,i.pendingProps=c):i=Ju(c,o,0,null),e=Qu(e,o,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Jc(n),t.memoizedState=Qc,e):el(t,c));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,i){if(n)return 256&t.flags?(t.flags&=-257,tl(e,t,i,r=Oc(Error(b(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Ju({mode:"visible",children:r.children},o,0,null),(a=Qu(a,o,i,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&fi(t,e.child,null,i),t.child.memoizedState=Jc(i),t.memoizedState=Qc,a);if(0==(1&t.mode))return tl(e,t,i,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var c=r.dgst;return r=c,tl(e,t,i,r=Oc(a=Error(b(419)),r,void 0))}if(c=0!=(i&e.childLanes),Tc||c){if(null!==(r=Kl)){switch(i&-i){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|i))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ka(e,o),yu(r,e,o,-1))}return Ru(),tl(e,t,i,r=Oc(Error(b(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Vu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,ba=ko(o.nextSibling),ya=t,xa=!0,wa=null,null!==e&&(ua[sa++]=fa,ua[sa++]=pa,ua[sa++]=da,fa=e.id,pa=e.overflow,da=t),t=el(t,r.children),t.flags|=4096,t)}(e,t,c,o,r,a,n);if(i){i=o.fallback,c=t.mode,r=(a=e.child).sibling;var l={mode:"hidden",children:o.children};return 0==(1&c)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=l,t.deletions=null):(o=$u(a,l)).subtreeFlags=14680064&a.subtreeFlags,null!==r?i=$u(r,i):(i=Qu(i,c,n,null)).flags|=2,i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,c=null===(c=e.child.memoizedState)?Jc(n):{baseLanes:c.baseLanes|n,cachePool:null,transitions:c.transitions},i.memoizedState=c,i.childLanes=e.childLanes&~n,t.memoizedState=Qc,o}return e=(i=e.child).sibling,o=$u(i,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function el(e,t){return(t=Ju({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function tl(e,t,n,r){return null!==r&&Na(r),fi(t,e.child,null,n),(e=el(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function nl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ba(e.return,t,n)}function rl(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function ol(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(zc(e,t,r.children,n),0!=(2&(r=Ci.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nl(e,n,t);else if(19===e.tag)nl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Wo(Ci,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ei(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),rl(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ei(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}rl(t,!0,n,null,a);break;case"together":rl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function al(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function il(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Jl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(b(153));if(null!==t.child){for(n=$u(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=$u(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function cl(e,t){if(!xa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ll(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ul(e,t,n){var r=t.pendingProps;switch(ga(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ll(t),null;case 1:case 17:return qo(t.type)&&$o(),ll(t),null;case 3:return r=t.stateNode,xi(),Ho(Ko),Ho(Uo),Oi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ia(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==wa&&(Su(wa),wa=null))),qc(e,t),ll(t),null;case 5:Si(t);var o=yi(gi.current);if(n=t.type,null!==e&&null!=t.stateNode)$c(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(b(166));return ll(t),null}if(e=yi(hi.current),Ia(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Po]=t,r[jo]=a,e=0!=(1&t.mode),n){case"dialog":eo("cancel",r),eo("close",r);break;case"iframe":case"object":case"embed":eo("load",r);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Po]=t,e[jo]=r,Xc(e,t,!1,!1),t.stateNode=e;e:{switch(i=De(n,r),n){case"dialog":eo("cancel",e),eo("close",e),o=r;break;case"iframe":case"object":case"embed":eo("load",e),o=r;break;case"video":case"audio":for(o=0;oou&&(t.flags|=128,r=!0,cl(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Ei(i))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),cl(a,!0),null===a.tail&&"hidden"===a.tailMode&&!i.alternate&&!xa)return ll(t),null}else 2*ft()-a.renderingStartTime>ou&&1073741824!==n&&(t.flags|=128,r=!0,cl(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=a.last)?n.sibling=i:t.child=i,a.last=i)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ft(),t.sibling=null,n=Ci.current,Wo(Ci,r?1&n|2:1&n),t):(ll(t),null);case 22:case 23:return Iu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&ql)&&(ll(t),6&t.subtreeFlags&&(t.flags|=8192)):ll(t),null;case 24:case 25:return null}throw Error(b(156,t.tag))}function sl(e,t){switch(ga(t),t.tag){case 1:return qo(t.type)&&$o(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return xi(),Ho(Ko),Ho(Uo),Oi(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Si(t),null;case 13:if(Ho(Ci),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(b(340));ja()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ho(Ci),null;case 4:return xi(),null;case 10:return La(t.type._context),null;case 22:case 23:return Iu(),null;default:return null}}Xc=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},qc=function(){},$c=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,yi(hi.current);var a,i=null;switch(n){case"input":o=se(e,o),r=se(e,r),i=[];break;case"select":o=J({},o,{value:void 0}),r=J({},r,{value:void 0}),i=[];break;case"textarea":o=ye(e,o),r=ye(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=ho)}for(u in _e(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var c=o[u];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(w.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(c=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&l!==c&&(null!=l||null!=c))if("style"===u)if(c){for(a in c)!c.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&c[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(i||(i=[]),i.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(i=i||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(i=i||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(w.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&eo("scroll",e),i||c===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Yc=function(e,t,n,r){n!==r&&(t.flags|=4)};var dl=!1,fl=!1,pl="function"==typeof WeakSet?WeakSet:Set,ml=null;function hl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Fu(e,t,n)}else n.current=null}function vl(e,t,n){try{n()}catch(n){Fu(e,t,n)}}var gl=!1;function yl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&vl(t,n,a)}o=o.next}while(o!==r)}}function bl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function xl(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function wl(e){var t=e.alternate;null!==t&&(e.alternate=null,wl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Po],delete t[jo],delete t[Ro],delete t[Mo],delete t[_o])),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 Sl(e){return 5===e.tag||3===e.tag||4===e.tag}function Cl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function El(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ho));else if(4!==r&&null!==(e=e.child))for(El(e,t,n),e=e.sibling;null!==e;)El(e,t,n),e=e.sibling}function kl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(kl(e,t,n),e=e.sibling;null!==e;)kl(e,t,n),e=e.sibling}var Ol=null,Il=!1;function Pl(e,t,n){for(n=n.child;null!==n;)jl(e,t,n),n=n.sibling}function jl(e,t,n){if(xt&&"function"==typeof xt.onCommitFiberUnmount)try{xt.onCommitFiberUnmount(bt,n)}catch(e){}switch(n.tag){case 5:fl||hl(n,t);case 6:var r=Ol,o=Il;Ol=null,Pl(e,t,n),Il=o,null!==(Ol=r)&&(Il?(e=Ol,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):Ol.removeChild(n.stateNode));break;case 18:null!==Ol&&(Il?(e=Ol,n=n.stateNode,8===e.nodeType?Eo(e.parentNode,n):1===e.nodeType&&Eo(e,n),rn(e)):Eo(Ol,n.stateNode));break;case 4:r=Ol,o=Il,Ol=n.stateNode.containerInfo,Il=!0,Pl(e,t,n),Ol=r,Il=o;break;case 0:case 11:case 14:case 15:if(!fl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&vl(n,t,i),o=o.next}while(o!==r)}Pl(e,t,n);break;case 1:if(!fl&&(hl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Fu(n,t,e)}Pl(e,t,n);break;case 21:Pl(e,t,n);break;case 22:1&n.mode?(fl=(r=fl)||null!==n.memoizedState,Pl(e,t,n),fl=r):Pl(e,t,n);break;default:Pl(e,t,n)}}function Nl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new pl),t.forEach((function(t){var r=Uu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Rl(e,t){var n=t.deletions;if(null!==n)for(var r=0;ro&&(o=i),r&=~a}if(r=o,10<(r=(120>(r=ft()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fl(r/1960))-r)){e.timeoutHandle=bo(Au.bind(null,e,nu,au),r);break}Au(e,nu,au);break;default:throw Error(b(329))}}}return bu(e,ft()),e.callbackNode===n?xu.bind(null,e):null}function wu(e,t){var n=tu;return e.current.memoizedState.isDehydrated&&(Pu(e,t).flags|=256),2!==(e=Mu(e,t))&&(t=nu,nu=n,null!==t&&Su(t)),e}function Su(e){null===nu?nu=e:nu.push.apply(nu,e)}function Cu(e,t){for(t&=~eu,t&=~Zl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===su)var r=!1;else{if(e=su,su=null,du=0,0!=(6&Ul))throw Error(b(331));var o=Ul;for(Ul|=4,ml=e.current;null!==ml;){var a=ml,i=a.child;if(0!=(16&ml.flags)){var c=a.deletions;if(null!==c){for(var l=0;lft()-ru?Pu(e,0):eu|=n),bu(e,t)}function Wu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=kt,0==(130023424&(kt<<=1))&&(kt=4194304)));var n=vu();null!==(e=Ka(e,t))&&(Mt(e,t,n),bu(e,n))}function Vu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Wu(e,n)}function Uu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(b(314))}null!==r&&r.delete(t),Wu(e,n)}function Ku(e,t){return lt(e,t)}function Gu(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xu(e,t,n,r){return new Gu(e,t,n,r)}function qu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $u(e,t){var n=e.alternate;return null===n?((n=Xu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Yu(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)qu(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case L:return Qu(n.children,o,a,t);case B:i=8,o|=8;break;case F:return(e=Xu(12,n,t,2|o)).elementType=F,e.lanes=a,e;case U:return(e=Xu(13,n,t,o)).elementType=U,e.lanes=a,e;case K:return(e=Xu(19,n,t,o)).elementType=K,e.lanes=a,e;case q:return Ju(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case H:i=10;break e;case W:i=9;break e;case V:i=11;break e;case G:i=14;break e;case X:i=16,r=null;break e}throw Error(b(130,null==e?e:void 0===e?"undefined":(0,v._)(e),""))}return(t=Xu(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Qu(e,t,n,r){return(e=Xu(7,e,r,t)).lanes=n,e}function Ju(e,t,n,r){return(e=Xu(22,e,r,t)).elementType=q,e.lanes=n,e.stateNode={isHidden:!1},e}function Zu(e,t,n){return(e=Xu(6,e,null,t)).lanes=n,e}function es(e,t,n){return(t=Xu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ts(e,t,n,r,o){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=Rt(0),this.expirationTimes=Rt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ns(e,t,n,r,o,a,i,c,l){return e=new ts(e,t,n,c,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Xu(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xa(a),e}function rs(e){if(!e)return Vo;e:{if(rt(e=e._reactInternals)!==e||1!==e.tag)throw Error(b(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(qo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(b(171))}if(1===e.tag){var n=e.type;if(qo(n))return Qo(e,n,t)}return t}function os(e,t,n,r,o,a,i,c,l){return(e=ns(n,r,!0,e,0,a,0,c,l)).context=rs(null),n=e.current,(a=$a(r=vu(),o=gu(n))).callback=null!=t?t:null,Ya(n,a,o),e.current.lanes=o,Mt(e,o,r),bu(e,r),e}function as(e,t,n,r){var o=t.current,a=vu(),i=gu(o);return n=rs(n),null===t.context?t.context=n:t.pendingContext=n,(t=$a(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ya(o,t,i))&&(yu(e,o,i,a),Qa(e,o,i)),i}function is(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function cs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n>>1,o=e[r];if(!(0>>1;rk(c,n))lk(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[i]=n,r=i);else{if(!(lk(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e(t.exports,"unstable_now",(function(){return r}),(function(e){return r=e})),e(t.exports,"unstable_IdlePriority",(function(){return o}),(function(e){return o=e})),e(t.exports,"unstable_ImmediatePriority",(function(){return a}),(function(e){return a=e})),e(t.exports,"unstable_LowPriority",(function(){return i}),(function(e){return i=e})),e(t.exports,"unstable_NormalPriority",(function(){return c}),(function(e){return c=e})),e(t.exports,"unstable_Profiling",(function(){return l}),(function(e){return l=e})),e(t.exports,"unstable_UserBlockingPriority",(function(){return u}),(function(e){return u=e})),e(t.exports,"unstable_cancelCallback",(function(){return s}),(function(e){return s=e})),e(t.exports,"unstable_continueExecution",(function(){return d}),(function(e){return d=e})),e(t.exports,"unstable_forceFrameRate",(function(){return f}),(function(e){return f=e})),e(t.exports,"unstable_getCurrentPriorityLevel",(function(){return p}),(function(e){return p=e})),e(t.exports,"unstable_getFirstCallbackNode",(function(){return m}),(function(e){return m=e})),e(t.exports,"unstable_next",(function(){return h}),(function(e){return h=e})),e(t.exports,"unstable_pauseExecution",(function(){return v}),(function(e){return v=e})),e(t.exports,"unstable_requestPaint",(function(){return g}),(function(e){return g=e})),e(t.exports,"unstable_runWithPriority",(function(){return y}),(function(e){return y=e})),e(t.exports,"unstable_scheduleCallback",(function(){return b}),(function(e){return b=e})),e(t.exports,"unstable_shouldYield",(function(){return x}),(function(e){return x=e})),e(t.exports,"unstable_wrapCallback",(function(){return w}),(function(e){return w=e})),"object"==typeof performance&&"function"==typeof performance.now){var O=performance;r=function(){return O.now()}}else{var I=Date,P=I.now();r=function(){return I.now()-P}}var j=[],N=[],R=1,M=null,_=3,D=!1,T=!1,z=!1,A="function"==typeof setTimeout?setTimeout:null,L="function"==typeof clearTimeout?clearTimeout:null,B="undefined"!=typeof setImmediate?setImmediate:null;function F(e){for(var t=C(N);null!==t;){if(null===t.callback)E(N);else{if(!(t.startTime<=e))break;E(N),t.sortIndex=t.expirationTime,S(j,t)}t=C(N)}}function H(e){if(z=!1,F(e),!T)if(null!==C(j))T=!0,Z(W);else{var t=C(N);null!==t&&ee(H,t.startTime-e)}}function W(e,t){T=!1,z&&(z=!1,L(G),G=-1),D=!0;var n=_;try{for(F(t),M=C(j);null!==M&&(!(M.expirationTime>t)||e&&!$());){var o=M.callback;if("function"==typeof o){M.callback=null,_=M.priorityLevel;var a=o(M.expirationTime<=t);t=r(),"function"==typeof a?M.callback=a:M===C(j)&&E(j),F(t)}else E(j);M=C(j)}if(null!==M)var i=!0;else{var c=C(N);null!==c&&ee(H,c.startTime-t),i=!1}return i}finally{M=null,_=n,D=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var V,U=!1,K=null,G=-1,X=5,q=-1;function $(){return!(r()-qe||125o?(e.sortIndex=n,S(N,e),null===C(j)&&e===C(N)&&(z?(L(G),G=-1):z=!0,ee(H,n-o))):(e.sortIndex=a,S(j,e),T||D||(T=!0,Z(W))),e},x=$,w=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}}})),a.register("7rv2B",(function(t,n){ +/** + * @license React + * react-is.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 r,o,a,i,c,l,u,s,d,f,p,m,h,v,g,y,b,x,w,S,C,E,k,O,I,P,j,N;e(t.exports,"ContextConsumer",(function(){return r}),(function(e){return r=e})),e(t.exports,"ContextProvider",(function(){return o}),(function(e){return o=e})),e(t.exports,"Element",(function(){return a}),(function(e){return a=e})),e(t.exports,"ForwardRef",(function(){return i}),(function(e){return i=e})),e(t.exports,"Fragment",(function(){return c}),(function(e){return c=e})),e(t.exports,"Lazy",(function(){return l}),(function(e){return l=e})),e(t.exports,"Memo",(function(){return u}),(function(e){return u=e})),e(t.exports,"Portal",(function(){return s}),(function(e){return s=e})),e(t.exports,"Profiler",(function(){return d}),(function(e){return d=e})),e(t.exports,"StrictMode",(function(){return f}),(function(e){return f=e})),e(t.exports,"Suspense",(function(){return p}),(function(e){return p=e})),e(t.exports,"SuspenseList",(function(){return m}),(function(e){return m=e})),e(t.exports,"isAsyncMode",(function(){return h}),(function(e){return h=e})),e(t.exports,"isConcurrentMode",(function(){return v}),(function(e){return v=e})),e(t.exports,"isContextConsumer",(function(){return g}),(function(e){return g=e})),e(t.exports,"isContextProvider",(function(){return y}),(function(e){return y=e})),e(t.exports,"isElement",(function(){return b}),(function(e){return b=e})),e(t.exports,"isForwardRef",(function(){return x}),(function(e){return x=e})),e(t.exports,"isFragment",(function(){return w}),(function(e){return w=e})),e(t.exports,"isLazy",(function(){return S}),(function(e){return S=e})),e(t.exports,"isMemo",(function(){return C}),(function(e){return C=e})),e(t.exports,"isPortal",(function(){return E}),(function(e){return E=e})),e(t.exports,"isProfiler",(function(){return k}),(function(e){return k=e})),e(t.exports,"isStrictMode",(function(){return O}),(function(e){return O=e})),e(t.exports,"isSuspense",(function(){return I}),(function(e){return I=e})),e(t.exports,"isSuspenseList",(function(){return P}),(function(e){return P=e})),e(t.exports,"isValidElementType",(function(){return j}),(function(e){return j=e})),e(t.exports,"typeOf",(function(){return N}),(function(e){return N=e}));var R,M=Symbol.for("react.element"),_=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),L=Symbol.for("react.context"),B=Symbol.for("react.server_context"),F=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),K=Symbol.for("react.offscreen");function G(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case M:switch(e=e.type){case D:case z:case T:case H:case W:return e;default:switch(e=e&&e.$$typeof){case B:case L:case F:case U:case V:case A:return e;default:return t}}case _:return t}}}R=Symbol.for("react.module.reference"),r=L,o=A,a=M,i=F,c=D,l=U,u=V,s=_,d=z,f=T,p=H,m=W,h=function(){return!1},v=function(){return!1},g=function(e){return G(e)===L},y=function(e){return G(e)===A},b=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===M},x=function(e){return G(e)===F},w=function(e){return G(e)===D},S=function(e){return G(e)===U},C=function(e){return G(e)===V},E=function(e){return G(e)===_},k=function(e){return G(e)===z},O=function(e){return G(e)===T},I=function(e){return G(e)===H},P=function(e){return G(e)===W},j=function(e){return"string"==typeof e||"function"==typeof e||e===D||e===z||e===T||e===H||e===W||e===K||"object"==typeof e&&null!==e&&(e.$$typeof===U||e.$$typeof===V||e.$$typeof===A||e.$$typeof===L||e.$$typeof===F||e.$$typeof===R||void 0!==e.getModuleId)},N=G})),a.register("hYzT4",(function(n,r){var o;o=n.exports,Object.defineProperty(o,"__esModule",{value:!0,configurable:!0}),e(n.exports,"Dexie",(function(){return hr})),e(n.exports,"RangeSet",(function(){return ar})),e(n.exports,"mergeRanges",(function(){return cr})),e(n.exports,"rangesOverlap",(function(){return lr})),e(n.exports,"liveQuery",(function(){return br})),e(n.exports,"default",(function(){return hr})); +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +var i=a("7FyBz"),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0)t=e;else{var o=p(e);for(var a in t=o===Object.prototype?{}:Object.create(o),T&&T.set(e,t),e)h(e,a)&&(t[a]=A(e[a]))}return t}var L={}.toString;function B(e){return L.call(e).slice(8,-1)}var F="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator",H="symbol"===(void 0===F?"undefined":(0,i._)(F))?function(e){var t;return null!=e&&(t=e[F])&&t.apply(e)}:function(){return null},W={};function V(e){var t,n,r,o;if(1===arguments.length){if(d(e))return e.slice();if(this===W&&"string"==typeof e)return[e];if(o=H(e)){for(n=[];!(r=o.next()).done;)n.push(r.value);return n}if(null==e)return[e];if("number"==typeof(t=e.length)){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var U="undefined"!=typeof Symbol?function(e){return"AsyncFunction"===e[Symbol.toStringTag]}:function(){return!1},K="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function G(e,t){K=e,X=t}var X=function(){return!0},q=!new Error("").stack;function $(){if(q)try{throw $.arguments,new Error}catch(e){return e}return new Error}function Y(e,t){var n=e.stack;return n?(t=t||0,0===n.indexOf(e.name)&&(t+=(e.name+e.message).split("\n").length),n.split("\n").slice(t).filter(X).map((function(e){return"\n"+e})).join("")):""}var Q=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],J=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(Q),Z={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function ee(e,t){this._e=$(),this.name=e,this.message=t}function te(e,t){return e+". Errors: "+Object.keys(t).map((function(e){return t[e].toString()})).filter((function(e,t,n){return n.indexOf(e)===t})).join("\n")}function ne(e,t,n,r){this._e=$(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=te(e,t)}function re(e,t){this._e=$(),this.name="BulkError",this.failures=Object.keys(t).map((function(e){return t[e]})),this.failuresByPos=t,this.message=te(e,t)}b(ee).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+Y(this._e,2))}},toString:function(){return this.name+": "+this.message}}),b(ne).from(ee),b(re).from(ee);var oe=J.reduce((function(e,t){return e[t]=t+"Error",e}),{}),ae=ee,ie=J.reduce((function(e,t){var n=function(e,n){this._e=$(),this.name=r,e?"string"==typeof e?(this.message=e+(n?"\n "+n:""),this.inner=n||null):"object"==typeof e&&(this.message=e.name+" "+e.message,this.inner=e):(this.message=Z[t]||r,this.inner=null)},r=t+"Error";return b(n).from(ae),e[t]=n,e}),{});ie.Syntax=SyntaxError,ie.Type=TypeError,ie.Range=RangeError;var ce=Q.reduce((function(e,t){return e[t+"Error"]=ie[t],e}),{});var le=J.reduce((function(e,t){return-1===["Syntax","Type","Range"].indexOf(t)&&(e[t+"Error"]=ie[t]),e}),{});function ue(){}function se(e){return e}function de(e,t){return null==e||e===se?t:function(n){return t(e(n))}}function fe(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function pe(e,t){return e===ue?t:function(){var n=e.apply(this,arguments);void 0!==n&&(arguments[0]=n);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?fe(r,this.onsuccess):r),o&&(this.onerror=this.onerror?fe(o,this.onerror):o),void 0!==a?a:n}}function me(e,t){return e===ue?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?fe(n,this.onsuccess):n),r&&(this.onerror=this.onerror?fe(r,this.onerror):r)}}function he(e,t){return e===ue?t:function(n){var r=e.apply(this,arguments);f(n,r);var o=this.onsuccess,a=this.onerror;this.onsuccess=null,this.onerror=null;var i=t.apply(this,arguments);return o&&(this.onsuccess=this.onsuccess?fe(o,this.onsuccess):o),a&&(this.onerror=this.onerror?fe(a,this.onerror):a),void 0===r?void 0===i?void 0:i:f(r,i)}}function ve(e,t){return e===ue?t:function(){return!1!==t.apply(this,arguments)&&e.apply(this,arguments)}}function ge(e,t){return e===ue?t:function(){var n=e.apply(this,arguments);if(n&&"function"==typeof n.then){for(var r=this,o=arguments.length,a=new Array(o);o--;)a[o]=arguments[o];return n.then((function(){return t.apply(r,a)}))}return t.apply(this,arguments)}}le.ModifyError=ne,le.DexieError=ee,le.BulkError=re;var ye={},be=100,xe="undefined"==typeof Promise?[]:function(){var e=Promise.resolve();if("undefined"==typeof crypto||!crypto.subtle)return[e,p(e),e];var t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,p(t),e]}(),we=xe[0],Se=xe[1],Ce=xe[2],Ee=Se&&Se.then,ke=we&&we.constructor,Oe=!!Ce,Ie=!1,Pe=Ce?function(){Ce.then(Qe)}:u.setImmediate?setImmediate.bind(null,Qe):u.MutationObserver?function(){var e=document.createElement("div");new MutationObserver((function(){Qe(),e=null})).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(Qe,0)},je=function(e,t){Le.push([e,t]),Re&&(Pe(),Re=!1)},Ne=!0,Re=!0,Me=[],_e=[],De=null,Te=se,ze={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:St,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach((function(e){try{St(e[0],e[1])}catch(e){}}))}},Ae=ze,Le=[],Be=0,Fe=[];function He(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=ue,this._lib=!1;var t=this._PSD=Ae;if(K&&(this._stackHolder=$(),this._prev=null,this._numPrev=0),"function"!=typeof e){if(e!==ye)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&Ke(this,this._value))}this._state=null,this._value=null,++t.ref,Ue(this,e)}var We={get:function(){var e=function(e,r){var o=this,a=!t.global&&(t!==Ae||n!==ct),i=a&&!dt(),c=new He((function(n,c){Xe(o,new Ve(bt(e,t,a,i),bt(r,t,a,i),n,c,t))}));return K&&Ye(c,this),c},t=Ae,n=ct;return e.prototype=ye,e},set:function(e){y(this,"then",e&&e.prototype===ye?We:{get:function(){return e},set:We.set})}};function Ve(e,t,n,r,o){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r,this.psd=o}function Ue(e,t){try{t((function(t){if(null===e._state){if(t===e)throw new TypeError("A promise cannot be resolved with itself.");var n=e._lib&&Je();t&&"function"==typeof t.then?Ue(e,(function(e,n){t instanceof He?t._then(e,n):t.then(e,n)})):(e._state=!0,e._value=t,Ge(e)),n&&Ze()}}),Ke.bind(null,e))}catch(t){Ke(e,t)}}function Ke(e,t){if(_e.push(t),null===e._state){var n=e._lib&&Je();t=Te(t),e._state=!1,e._value=t,K&&null!==t&&"object"==typeof t&&!t._promise&&function(e,t,n){try{e.apply(null,n)}catch(e){t&&t(e)}}((function(){var n=w(t,"stack");t._promise=e,y(t,"stack",{get:function(){return Ie?n&&(n.get?n.get.apply(t):n.value):e.stack}})})),function(e){Me.some((function(t){return t._value===e._value}))||Me.push(e)}(e),Ge(e),n&&Ze()}}function Ge(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n0;)for(e=Le,Le=[],n=e.length,t=0;t0);Ne=!0,Re=!0}function et(){var e=Me;Me=[],e.forEach((function(e){e._PSD.onunhandled.call(null,e._value,e)}));for(var t=Fe.slice(0),n=t.length;n;)t[--n]()}function tt(e){return new He(ye,!1,e)}function nt(e,t){var n=Ae;return function(){var r=Je(),o=Ae;try{return ht(n,!0),e.apply(this,arguments)}catch(e){t&&t(e)}finally{ht(o,!1),r&&Ze()}}}v(He.prototype,{then:We,_then:function(e,t){Xe(this,new Ve(null,null,e,t,Ae))},catch:function(e){if(1===arguments.length)return this.then(null,e);var t=arguments[0],n=arguments[1];return"function"==typeof t?this.then(null,(function(e){return e instanceof t?n(e):tt(e)})):this.then(null,(function(e){return e&&e.name===t?n(e):tt(e)}))},finally:function(e){return this.then((function(t){return e(),t}),(function(t){return e(),tt(t)}))},stack:{get:function(){if(this._stack)return this._stack;try{Ie=!0;var e=$e(this,[],20).join("\nFrom previous: ");return null!==this._state&&(this._stack=e),e}finally{Ie=!1}}},timeout:function(e,t){var n=this;return e<1/0?new He((function(r,o){var a=setTimeout((function(){return o(new ie.Timeout(t))}),e);n.then(r,o).finally(clearTimeout.bind(null,a))})):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&y(He.prototype,Symbol.toStringTag,"Dexie.Promise"),ze.env=vt(),v(He,{all:function(){var e=V.apply(null,arguments).map(ft);return new He((function(t,n){0===e.length&&t([]);var r=e.length;e.forEach((function(o,a){return He.resolve(o).then((function(n){e[a]=n,--r||t(e)}),n)}))}))},resolve:function(e){if(e instanceof He)return e;if(e&&"function"==typeof e.then)return new He((function(t,n){e.then(t,n)}));var t=new He(ye,!0,e);return Ye(t,De),t},reject:tt,race:function(){var e=V.apply(null,arguments).map(ft);return new He((function(t,n){e.map((function(e){return He.resolve(e).then(t,n)}))}))},PSD:{get:function(){return Ae},set:function(e){return Ae=e}},totalEchoes:{get:function(){return ct}},newPSD:ut,usePSD:gt,scheduler:{get:function(){return je},set:function(e){je=e}},rejectionMapper:{get:function(){return Te},set:function(e){Te=e}},follow:function(e,t){return new He((function(n,r){return ut((function(t,n){var r=Ae;r.unhandleds=[],r.onunhandled=n,r.finalize=fe((function(){var e=this;!function(e){function t(){e(),Fe.splice(Fe.indexOf(t),1)}Fe.push(t),++Be,je((function(){0==--Be&&et()}),[])}((function(){0===e.unhandleds.length?t():n(e.unhandleds[0])}))}),r.finalize),e()}),t,n,r)}))}}),ke&&(ke.allSettled&&y(He,"allSettled",(function(){var e=V.apply(null,arguments).map(ft);return new He((function(t){0===e.length&&t([]);var n=e.length,r=new Array(n);e.forEach((function(e,o){return He.resolve(e).then((function(e){return r[o]={status:"fulfilled",value:e}}),(function(e){return r[o]={status:"rejected",reason:e}})).then((function(){return--n||t(r)}))}))}))})),ke.any&&"undefined"!=typeof AggregateError&&y(He,"any",(function(){var e=V.apply(null,arguments).map(ft);return new He((function(t,n){0===e.length&&n(new AggregateError([]));var r=e.length,o=new Array(r);e.forEach((function(e,a){return He.resolve(e).then((function(e){return t(e)}),(function(e){o[a]=e,--r||n(new AggregateError(o))}))}))}))})));var rt={awaits:0,echoes:0,id:0},ot=0,at=[],it=0,ct=0,lt=0;function ut(e,t,n,r){var o=Ae,a=Object.create(o);a.parent=o,a.ref=0,a.global=!1,a.id=++lt;var i=ze.env;a.env=Oe?{Promise:He,PromiseProp:{value:He,configurable:!0,writable:!0},all:He.all,race:He.race,allSettled:He.allSettled,any:He.any,resolve:He.resolve,reject:He.reject,nthen:xt(i.nthen,a),gthen:xt(i.gthen,a)}:{},t&&f(a,t),++o.ref,a.finalize=function(){--this.parent.ref||this.parent.finalize()};var c=gt(a,e,n,r);return 0===a.ref&&a.finalize(),c}function st(){return rt.id||(rt.id=++ot),++rt.awaits,rt.echoes+=be,rt.id}function dt(){return!!rt.awaits&&(0==--rt.awaits&&(rt.id=0),rt.echoes=rt.awaits*be,!0)}function ft(e){return rt.echoes&&e&&e.constructor===ke?(st(),e.then((function(e){return dt(),e}),(function(e){return dt(),Ct(e)}))):e}function pt(e){++ct,rt.echoes&&0!=--rt.echoes||(rt.echoes=rt.id=0),at.push(Ae),ht(e,!0)}function mt(){var e=at[at.length-1];at.pop(),ht(e,!1)}function ht(e,t){var n=Ae;if((t?!rt.echoes||it++&&e===Ae:!it||--it&&e===Ae)||yt(t?pt.bind(null,e):mt),e!==Ae&&(Ae=e,n===ze&&(ze.env=vt()),Oe)){var r=ze.env.Promise,o=e.env;Se.then=o.nthen,r.prototype.then=o.gthen,(n.global||e.global)&&(Object.defineProperty(u,"Promise",o.PromiseProp),r.all=o.all,r.race=o.race,r.resolve=o.resolve,r.reject=o.reject,o.allSettled&&(r.allSettled=o.allSettled),o.any&&(r.any=o.any))}}function vt(){var e=u.Promise;return Oe?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(u,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:Se.then,gthen:e.prototype.then}:{}}function gt(e,t,n,r,o){var a=Ae;try{return ht(e,!0),t(n,r,o)}finally{ht(a,!1)}}function yt(e){Ee.call(we,e)}function bt(e,t,n,r){return"function"!=typeof e?e:function(){var o=Ae;n&&st(),ht(t,!0);try{return e.apply(this,arguments)}finally{ht(o,!1),r&&yt(dt)}}}function xt(e,t){return function(n,r){return e.call(this,bt(n,t),bt(r,t))}}-1===(""+Ee).indexOf("[native code]")&&(st=dt=ue);var wt="unhandledrejection";function St(e,t){var n;try{n=t.onuncatched(e)}catch(e){}if(!1!==n)try{var r,o={promise:t,reason:e};if(u.document&&document.createEvent?((r=document.createEvent("Event")).initEvent(wt,!0,!0),f(r,o)):u.CustomEvent&&f(r=new CustomEvent(wt,{detail:o}),o),r&&u.dispatchEvent&&(dispatchEvent(r),!u.PromiseRejectionEvent&&u.onunhandledrejection))try{u.onunhandledrejection(r)}catch(e){}K&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch(e){}}var Ct=He.reject;function Et(e,t,n,r){if(e.idbdb&&(e._state.openComplete||Ae.letThrough||e._vip)){var o=e._createTransaction(t,n,e._dbSchema);try{o.create(),e._state.PR1398_maxLoop=3}catch(o){return o.name===oe.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),e._close(),e.open().then((function(){return Et(e,t,n,r)}))):Ct(o)}return o._promise(t,(function(e,t){return ut((function(){return Ae.trans=o,r(e,t,o)}))})).then((function(e){return o._completion.then((function(){return e}))}))}if(e._state.openComplete)return Ct(new ie.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._options.autoOpen)return Ct(new ie.DatabaseClosed);e.open().catch(ue)}return e._state.dbReadyPromise.then((function(){return Et(e,t,n,r)}))}var kt="3.2.4",Ot=String.fromCharCode(65535),It=-1/0,Pt="Invalid key provided. Keys must be of type string, number, Date or Array.",jt="String expected.",Nt=[],Rt="undefined"!=typeof navigator&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),Mt=Rt,_t=Rt,Dt=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},Tt="__dbnames",zt="readonly",At="readwrite";function Lt(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var Bt={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function Ft(e){return"string"!=typeof e||/\./.test(e)?function(e){return e}:function(t){return void 0===t[e]&&e in t&&delete(t=z(t))[e],t}}var Ht,Wt=((Ht=function(){}).prototype._trans=function(e,t,n){var r=function(e,n,r){if(!r.schema[a])throw new ie.NotFound("Table "+a+" not part of transaction");return t(r.idbtrans,r)},o=this._tx||Ae.trans,a=this.name,i=Je();try{return o&&o.db===this.db?o===Ae.trans?o._promise(e,r,n):ut((function(){return o._promise(e,r,n)}),{trans:o,transless:Ae.transless||Ae}):Et(this.db,e,[this.name],r)}finally{i&&Ze()}},Ht.prototype.get=function(e,t){var n=this;return e&&e.constructor===Object?this.where(e).first(t):this._trans("readonly",(function(t){return n.core.get({trans:t,key:e}).then((function(e){return n.hook.reading.fire(e)}))})).then(t)},Ht.prototype.where=function(e){var t=function(e,t){try{return 0===a.cmp(e,t)}catch(e){return!1}};if("string"==typeof e)return new this.db.WhereClause(this,e);if(d(e))return new this.db.WhereClause(this,"["+e.join("+")+"]");var n=s(e);if(1===n.length)return this.where(n[0]).equals(e[n[0]]);var r=this.schema.indexes.concat(this.schema.primKey).filter((function(e){return e.compound&&n.every((function(t){return e.keyPath.indexOf(t)>=0}))&&e.keyPath.every((function(e){return n.indexOf(e)>=0}))}))[0];if(r&&this.db._maxKey!==Ot)return this.where(r.name).equals(r.keyPath.map((function(t){return e[t]})));!r&&K&&console.warn("The query "+JSON.stringify(e)+" on "+this.name+" would benefit of a compound index ["+n.join("+")+"]");var o=this.schema.idxByName,a=this.db._deps.indexedDB,i=n.reduce((function(n,r){var a=n[0],i=n[1],c=o[r],l=e[r];return[a||c,a||!c?Lt(i,c&&c.multi?function(e){var n=P(e,r);return d(n)&&n.some((function(e){return t(l,e)}))}:function(e){return t(l,P(e,r))}):i]}),[null,null]),c=i[0],l=i[1];return c?this.where(c.name).equals(e[c.keyPath]).filter(l):r?this.filter(l):this.where(n).equals("")},Ht.prototype.filter=function(e){return this.toCollection().and(e)},Ht.prototype.count=function(e){return this.toCollection().count(e)},Ht.prototype.offset=function(e){return this.toCollection().offset(e)},Ht.prototype.limit=function(e){return this.toCollection().limit(e)},Ht.prototype.each=function(e){return this.toCollection().each(e)},Ht.prototype.toArray=function(e){return this.toCollection().toArray(e)},Ht.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},Ht.prototype.orderBy=function(e){return new this.db.Collection(new this.db.WhereClause(this,d(e)?"["+e.join("+")+"]":e))},Ht.prototype.reverse=function(){return this.toCollection().reverse()},Ht.prototype.mapToClass=function(e){this.schema.mappedClass=e;var t=function(t){if(!t)return t;var n=Object.create(e.prototype);for(var r in t)if(h(t,r))try{n[r]=t[r]}catch(e){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=t,this.hook("reading",t),e},Ht.prototype.defineClass=function(){return this.mapToClass((function(e){f(this,e)}))},Ht.prototype.add=function(e,t){var n=this,r=this.schema.primKey,o=r.auto,a=r.keyPath,i=e;return a&&o&&(i=Ft(a)(e)),this._trans("readwrite",(function(e){return n.core.mutate({trans:e,type:"add",keys:null!=t?[t]:null,values:[i]})})).then((function(e){return e.numFailures?He.reject(e.failures[0]):e.lastResult})).then((function(t){if(a)try{j(e,a,t)}catch(e){}return t}))},Ht.prototype.update=function(e,t){if("object"!=typeof e||d(e))return this.where(":id").equals(e).modify(t);var n=P(e,this.schema.primKey.keyPath);if(void 0===n)return Ct(new ie.InvalidArgument("Given object does not contain its primary key"));try{"function"!=typeof t?s(t).forEach((function(n){j(e,n,t[n])})):t(e,{value:e,primKey:n})}catch(e){}return this.where(":id").equals(n).modify(t)},Ht.prototype.put=function(e,t){var n=this,r=this.schema.primKey,o=r.auto,a=r.keyPath,i=e;return a&&o&&(i=Ft(a)(e)),this._trans("readwrite",(function(e){return n.core.mutate({trans:e,type:"put",values:[i],keys:null!=t?[t]:null})})).then((function(e){return e.numFailures?He.reject(e.failures[0]):e.lastResult})).then((function(t){if(a)try{j(e,a,t)}catch(e){}return t}))},Ht.prototype.delete=function(e){var t=this;return this._trans("readwrite",(function(n){return t.core.mutate({trans:n,type:"delete",keys:[e]})})).then((function(e){return e.numFailures?He.reject(e.failures[0]):void 0}))},Ht.prototype.clear=function(){var e=this;return this._trans("readwrite",(function(t){return e.core.mutate({trans:t,type:"deleteRange",range:Bt})})).then((function(e){return e.numFailures?He.reject(e.failures[0]):void 0}))},Ht.prototype.bulkGet=function(e){var t=this;return this._trans("readonly",(function(n){return t.core.getMany({keys:e,trans:n}).then((function(e){return e.map((function(e){return t.hook.reading.fire(e)}))}))}))},Ht.prototype.bulkAdd=function(e,t,n){var r=this,o=Array.isArray(t)?t:void 0,a=(n=n||(o?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",(function(t){var n=r.schema.primKey,i=n.auto,c=n.keyPath;if(c&&o)throw new ie.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(o&&o.length!==e.length)throw new ie.InvalidArgument("Arguments objects and keys must have the same length");var l=e.length,u=c&&i?e.map(Ft(c)):e;return r.core.mutate({trans:t,type:"add",keys:o,values:u,wantResults:a}).then((function(e){var t=e.numFailures,n=e.results,o=e.lastResult,i=e.failures;if(0===t)return a?n:o;throw new re(r.name+".bulkAdd(): "+t+" of "+l+" operations failed",i)}))}))},Ht.prototype.bulkPut=function(e,t,n){var r=this,o=Array.isArray(t)?t:void 0,a=(n=n||(o?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",(function(t){var n=r.schema.primKey,i=n.auto,c=n.keyPath;if(c&&o)throw new ie.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(o&&o.length!==e.length)throw new ie.InvalidArgument("Arguments objects and keys must have the same length");var l=e.length,u=c&&i?e.map(Ft(c)):e;return r.core.mutate({trans:t,type:"put",keys:o,values:u,wantResults:a}).then((function(e){var t=e.numFailures,n=e.results,o=e.lastResult,i=e.failures;if(0===t)return a?n:o;throw new re(r.name+".bulkPut(): "+t+" of "+l+" operations failed",i)}))}))},Ht.prototype.bulkDelete=function(e){var t=this,n=e.length;return this._trans("readwrite",(function(n){return t.core.mutate({trans:n,type:"delete",keys:e})})).then((function(e){var r=e.numFailures,o=e.lastResult,a=e.failures;if(0===r)return o;throw new re(t.name+".bulkDelete(): "+r+" of "+n+" operations failed",a)}))},Ht);function Vt(e){var t=function(e,t,a){if("object"==typeof e)return n(e);t||(t=ve),a||(a=ue);var i={subscribers:[],fire:a,subscribe:function(e){-1===i.subscribers.indexOf(e)&&(i.subscribers.push(e),i.fire=t(i.fire,e))},unsubscribe:function(e){i.subscribers=i.subscribers.filter((function(t){return t!==e})),i.fire=i.subscribers.reduce(t,a)}};return r[e]=o[e]=i,i},n=function(e){s(e).forEach((function(n){var r=e[n];if(d(r))t(n,e[n][0],e[n][1]);else{if("asap"!==r)throw new ie.InvalidArgument("Invalid event config");var o=t(n,se,(function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];o.subscribers.forEach((function(e){O((function(){e.apply(null,t)}))}))}))}}))},r={},o=function(t,n){if(n){for(var o=arguments.length,a=new Array(o-1);--o;)a[o-1]=arguments[o];return r[t].subscribe.apply(null,a),e}if("string"==typeof t)return r[t]};o.addEventType=t;for(var a=1,i=arguments.length;at?1:er?c:0},r=e.split(".").reverse(),o=r[0],a=r.length-1;function i(e,t){return t?i(e[r[t]],t-1):e[o]}var c="next"===this._ctx.dir?1:-1;return this.toArray((function(e){return e.sort(n)})).then(t)},tn.prototype.toArray=function(e){var t=this;return this._read((function(e){var n=t._ctx;if("next"===n.dir&&Kt(n,!0)&&n.limit>0){var r=n.valueMapper,o=qt(n,n.table.core.schema);return n.table.core.query({trans:e,limit:n.limit,values:!0,query:{index:o,range:n.range}}).then((function(e){var t=e.result;return r?t.map(r):t}))}var a=[];return Yt(n,(function(e){return a.push(e)}),e,n.table.core).then((function(){return a}))}),e)},tn.prototype.offset=function(e){var t=this._ctx;return e<=0||(t.offset+=e,Kt(t)?Xt(t,(function(){var t=e;return function(e,n){return 0===t||(1===t?(--t,!1):(n((function(){e.advance(t),t=0})),!1))}})):Xt(t,(function(){var t=e;return function(){return--t<0}}))),this},tn.prototype.limit=function(e){return this._ctx.limit=Math.min(this._ctx.limit,e),Xt(this._ctx,(function(){var t=e;return function(e,n,r){return--t<=0&&n(r),t>=0}}),!0),this},tn.prototype.until=function(e,t){return Gt(this._ctx,(function(n,r,o){return!e(n.value)||(r(o),t)})),this},tn.prototype.first=function(e){return this.limit(1).toArray((function(e){return e[0]})).then(e)},tn.prototype.last=function(e){return this.reverse().first(e)},tn.prototype.filter=function(e){var t,n;return Gt(this._ctx,(function(t){return e(t.value)})),t=this._ctx,n=e,t.isMatch=Lt(t.isMatch,n),this},tn.prototype.and=function(e){return this.filter(e)},tn.prototype.or=function(e){return new this.db.WhereClause(this._ctx.table,e,this)},tn.prototype.reverse=function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},tn.prototype.desc=function(){return this.reverse()},tn.prototype.eachKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each((function(t,n){e(n.key,n)}))},tn.prototype.eachUniqueKey=function(e){return this._ctx.unique="unique",this.eachKey(e)},tn.prototype.eachPrimaryKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each((function(t,n){e(n.primaryKey,n)}))},tn.prototype.keys=function(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each((function(e,t){n.push(t.key)})).then((function(){return n})).then(e)},tn.prototype.primaryKeys=function(e){var t=this._ctx;if("next"===t.dir&&Kt(t,!0)&&t.limit>0)return this._read((function(e){var n=qt(t,t.table.core.schema);return t.table.core.query({trans:e,values:!1,limit:t.limit,query:{index:n,range:t.range}})})).then((function(e){return e.result})).then(e);t.keysOnly=!t.isMatch;var n=[];return this.each((function(e,t){n.push(t.primaryKey)})).then((function(){return n})).then(e)},tn.prototype.uniqueKeys=function(e){return this._ctx.unique="unique",this.keys(e)},tn.prototype.firstKey=function(e){return this.limit(1).keys((function(e){return e[0]})).then(e)},tn.prototype.lastKey=function(e){return this.reverse().firstKey(e)},tn.prototype.distinct=function(){var e=this._ctx,t=e.index&&e.table.schema.idxByName[e.index];if(!t||!t.multi)return this;var n={};return Gt(this._ctx,(function(e){var t=e.primaryKey.toString(),r=h(n,t);return n[t]=!0,!r})),this},tn.prototype.modify=function(e){var t=this,n=this._ctx;return this._write((function(r){var o;if("function"==typeof e)o=e;else{var a=s(e),i=a.length;o=function(t){for(var n=!1,r=0;r0&&c.mutate({trans:r,type:"add",values:p}).then((function(e){for(var t in e.failures)g.splice(parseInt(t),1);v(p.length,e)}))).then((function(){return(m.length>0||w&&"object"==typeof e)&&c.mutate({trans:r,type:"put",keys:h,values:m,criteria:w,changeSpec:"function"!=typeof e&&e}).then((function(e){return v(m.length,e)}))})).then((function(){return(g.length>0||w&&e===rn)&&c.mutate({trans:r,type:"delete",keys:g,criteria:w}).then((function(e){return v(g.length,e)}))})).then((function(){return t.length>i+l&&a(i+f)}))}))};return a(0).then((function(){if(p.length>0)throw new ne("Error modifying one or more objects",p,m,h);return t.length}))}))}))},tn.prototype.delete=function(){var e=this._ctx,t=e.range;return Kt(e)&&(e.isPrimKey&&!_t||3===t.type)?this._write((function(n){var r=e.table.core.schema.primaryKey,o=t;return e.table.core.count({trans:n,query:{index:r,range:o}}).then((function(t){return e.table.core.mutate({trans:n,type:"deleteRange",range:o}).then((function(e){var n=e.failures;e.lastResult,e.results;var r=e.numFailures;if(r)throw new ne("Could not delete some values",Object.keys(n).map((function(e){return n[e]})),t-r);return t-r}))}))})):this.modify(rn)},tn),rn=function(e,t){return t.value=null};function on(e,t){return et?-1:e===t?0:1}function cn(e,t,n){var r=e instanceof mn?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function ln(e){return new e.Collection(e,(function(){return fn("")})).limit(0)}function un(e,t,n,r,o,a){for(var i=Math.min(e.length,r.length),c=-1,l=0;l=0?e.substr(0,c)+t[c]+n.substr(c+1):null;o(e[l],u)<0&&(c=l)}return i0)&&(p=v)}return n(null!==p?function(){e.continue(p+s)}:r),!1})),p}function dn(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function fn(e){return{type:1,lower:e,upper:e}}var pn,mn=(pn=function(){},Object.defineProperty(pn.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),pn.prototype.between=function(e,t,n,r){n=!1!==n,r=!0===r;try{return this._cmp(e,t)>0||0===this._cmp(e,t)&&(n||r)&&(!n||!r)?ln(this):new this.Collection(this,(function(){return dn(e,t,!n,!r)}))}catch(e){return cn(this,Pt)}},pn.prototype.equals=function(e){return null==e?cn(this,Pt):new this.Collection(this,(function(){return fn(e)}))},pn.prototype.above=function(e){return null==e?cn(this,Pt):new this.Collection(this,(function(){return dn(e,void 0,!0)}))},pn.prototype.aboveOrEqual=function(e){return null==e?cn(this,Pt):new this.Collection(this,(function(){return dn(e,void 0,!1)}))},pn.prototype.below=function(e){return null==e?cn(this,Pt):new this.Collection(this,(function(){return dn(void 0,e,!1,!0)}))},pn.prototype.belowOrEqual=function(e){return null==e?cn(this,Pt):new this.Collection(this,(function(){return dn(void 0,e)}))},pn.prototype.startsWith=function(e){return"string"!=typeof e?cn(this,jt):this.between(e,e+Ot,!0,!0)},pn.prototype.startsWithIgnoreCase=function(e){return""===e?this.startsWith(e):sn(this,(function(e,t){return 0===e.indexOf(t[0])}),[e],Ot)},pn.prototype.equalsIgnoreCase=function(e){return sn(this,(function(e,t){return e===t[0]}),[e],"")},pn.prototype.anyOfIgnoreCase=function(){var e=V.apply(W,arguments);return 0===e.length?ln(this):sn(this,(function(e,t){return-1!==t.indexOf(e)}),e,"")},pn.prototype.startsWithAnyOfIgnoreCase=function(){var e=V.apply(W,arguments);return 0===e.length?ln(this):sn(this,(function(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}),e,Ot)},pn.prototype.anyOf=function(){var e=this,t=V.apply(W,arguments),n=this._cmp;try{t.sort(n)}catch(e){return cn(this,Pt)}if(0===t.length)return ln(this);var r=new this.Collection(this,(function(){return dn(t[0],t[t.length-1])}));r._ondirectionchange=function(r){n="next"===r?e._ascending:e._descending,t.sort(n)};var o=0;return r._addAlgorithm((function(e,r,a){for(var i=e.key;n(i,t[o])>0;)if(++o===t.length)return r(a),!1;return 0===n(i,t[o])||(r((function(){e.continue(t[o])})),!1)})),r},pn.prototype.notEqual=function(e){return this.inAnyRange([[It,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},pn.prototype.noneOf=function(){var e=V.apply(W,arguments);if(0===e.length)return new this.Collection(this);try{e.sort(this._ascending)}catch(e){return cn(this,Pt)}var t=e.reduce((function(e,t){return e?e.concat([[e[e.length-1][1],t]]):[[It,t]]}),null);return t.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(t,{includeLowers:!1,includeUppers:!1})},pn.prototype.inAnyRange=function(e,t){var n=function(e,t){return f(e[0],t[0])},r=this,o=this._cmp,a=this._ascending,i=this._descending,c=this._min,l=this._max;if(0===e.length)return ln(this);if(!e.every((function(e){return void 0!==e[0]&&void 0!==e[1]&&a(e[0],e[1])<=0})))return cn(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",ie.InvalidArgument);var u,s=!t||!1!==t.includeLowers,d=t&&!0===t.includeUppers,f=a;try{u=e.reduce((function(e,t){for(var n=0,r=e.length;n0){a[0]=c(a[0],t[0]),a[1]=l(a[1],t[1]);break}}return n===r&&e.push(t),e}),[]),u.sort(n)}catch(e){return cn(this,Pt)}var p=0,m=d?function(e){return a(e,u[p][1])>0}:function(e){return a(e,u[p][1])>=0},h=s?function(e){return i(e,u[p][0])>0}:function(e){return i(e,u[p][0])>=0},v=m,g=new this.Collection(this,(function(){return dn(u[0][0],u[u.length-1][1],!s,!d)}));return g._ondirectionchange=function(e){"next"===e?(v=m,f=a):(v=h,f=i),u.sort(n)},g._addAlgorithm((function(e,t,n){for(var o=e.key;v(o);)if(++p===u.length)return t(n),!1;return!!function(e){return!m(e)&&!h(e)}(o)||(0===r._cmp(o,u[p][1])||0===r._cmp(o,u[p][0])||t((function(){f===a?e.continue(u[p][0]):e.continue(u[p][1])})),!1)})),g},pn.prototype.startsWithAnyOf=function(){var e=V.apply(W,arguments);return e.every((function(e){return"string"==typeof e}))?0===e.length?ln(this):this.inAnyRange(e.map((function(e){return[e,e+Ot]}))):cn(this,"startsWithAnyOf() only works with strings")},pn);function hn(e){return nt((function(t){return vn(t),e(t.target.error),!1}))}function vn(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var gn,yn="storagemutated",bn="x-storagemutated-1",xn=Vt(null,yn),wn=((gn=function(){}).prototype._lock=function(){return k(!Ae.global),++this._reculock,1!==this._reculock||Ae.global||(Ae.lockOwnerFor=this),this},gn.prototype._unlock=function(){if(k(!Ae.global),0==--this._reculock)for(Ae.global||(Ae.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{gt(e[1],e[0])}catch(e){}}return this},gn.prototype._locked=function(){return this._reculock&&Ae.lockOwnerFor!==this},gn.prototype.create=function(e){var t=this;if(!this.mode)return this;var n=this.db.idbdb,r=this.db._state.dbOpenError;if(k(!this.idbtrans),!e&&!n)switch(r&&r.name){case"DatabaseClosedError":throw new ie.DatabaseClosed(r);case"MissingAPIError":throw new ie.MissingAPI(r.message,r);default:throw new ie.OpenFailed(r)}if(!this.active)throw new ie.TransactionInactive;return k(null===this._completion._state),(e=this.idbtrans=e||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):n.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=nt((function(n){vn(n),t._reject(e.error)})),e.onabort=nt((function(n){vn(n),t.active&&t._reject(new ie.Abort(e.error)),t.active=!1,t.on("abort").fire(n)})),e.oncomplete=nt((function(){t.active=!1,t._resolve(),"mutatedParts"in e&&xn.storagemutated.fire(e.mutatedParts)})),this},gn.prototype._promise=function(e,t,n){var r=this;if("readwrite"===e&&"readwrite"!==this.mode)return Ct(new ie.ReadOnly("Transaction is readonly"));if(!this.active)return Ct(new ie.TransactionInactive);if(this._locked())return new He((function(o,a){r._blockedFuncs.push([function(){r._promise(e,t,n).then(o,a)},Ae])}));if(n)return ut((function(){var e=new He((function(e,n){r._lock();var o=t(e,n,r);o&&o.then&&o.then(e,n)}));return e.finally((function(){return r._unlock()})),e._lib=!0,e}));var o=new He((function(e,n){var o=t(e,n,r);o&&o.then&&o.then(e,n)}));return o._lib=!0,o},gn.prototype._root=function(){return this.parent?this.parent._root():this},gn.prototype.waitFor=function(e){var t=this._root(),n=He.resolve(e);if(t._waitingFor)t._waitingFor=t._waitingFor.then((function(){return n}));else{t._waitingFor=n,t._waitingQueue=[];var r=t.idbtrans.objectStore(t.storeNames[0]);!function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(r.get(-1/0).onsuccess=e)}()}var o=t._waitingFor;return new He((function(e,r){n.then((function(n){return t._waitingQueue.push(nt(e.bind(null,n)))}),(function(e){return t._waitingQueue.push(nt(r.bind(null,e)))})).finally((function(){t._waitingFor===o&&(t._waitingFor=null)}))}))},gn.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new ie.Abort))},gn.prototype.table=function(e){var t=this._memoizedTables||(this._memoizedTables={});if(h(t,e))return t[e];var n=this.schema[e];if(!n)throw new ie.NotFound("Table "+e+" not part of transaction");var r=new this.db.Table(e,n,this);return r.core=this.db.core.table(e),t[e]=r,r},gn);function Sn(e,t,n,r,o,a,i){return{name:e,keyPath:t,unique:n,multi:r,auto:o,compound:a,src:(n&&!i?"&":"")+(r?"*":"")+(o?"++":"")+Cn(t)}}function Cn(e){return"string"==typeof e?e:e?"["+[].join.call(e,"+")+"]":""}function En(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:I(n,(function(e){return[e.name,e]}))}}var kn=function(e){try{return e.only([[]]),kn=function(){return[[]]},[[]]}catch(e){return kn=function(){return Ot},Ot}};function On(e){return null==e?function(){}:"string"==typeof e?function(e){var t=e.split(".");return 1===t.length?function(t){return t[e]}:function(t){return P(t,e)}}(e):function(t){return P(t,e)}}function In(e){return[].slice.call(e)}var Pn=0;function jn(e){return null==e?":id":"string"==typeof e?e:"["+e.join("+")+"]"}function Nn(e,t,n){var r=function(e){if(3===e.type)return null;if(4===e.type)throw new Error("Cannot convert never type to IDBKeyRange");var n=e.lower,r=e.upper,o=e.lowerOpen,a=e.upperOpen;return void 0===n?void 0===r?null:t.upperBound(r,!!a):void 0===r?t.lowerBound(n,!!o):t.bound(n,r,!!o,!!a)},o=function(e,t){var n=In(e.objectStoreNames);return{schema:{name:e.name,tables:n.map((function(e){return t.objectStore(e)})).map((function(e){var t=e.keyPath,n=e.autoIncrement,r=d(t),o=null==t,a={},i={name:e.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:o,compound:r,keyPath:t,autoIncrement:n,unique:!0,extractKey:On(t)},indexes:In(e.indexNames).map((function(t){return e.index(t)})).map((function(e){var t=e.name,n=e.unique,r=e.multiEntry,o=e.keyPath,i={name:t,compound:d(o),keyPath:o,unique:n,multiEntry:r,extractKey:On(o)};return a[jn(o)]=i,i})),getIndexByKeyPath:function(e){return a[jn(e)]}};return a[":id"]=i.primaryKey,null!=t&&(a[jn(t)]=i.primaryKey),i}))},hasGetAll:n.length>0&&"getAll"in t.objectStore(n[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}(e,n),a=o.schema,i=o.hasGetAll,c=a.tables.map((function(e){return function(e){var t=e.name;return{name:t,schema:e,mutate:function(e){var n=e.trans,o=e.type,a=e.keys,i=e.values,c=e.range;return new Promise((function(e,l){e=nt(e);var u=n.objectStore(t),s=null==u.keyPath,d="put"===o||"add"===o;if(!d&&"delete"!==o&&"deleteRange"!==o)throw new Error("Invalid operation type: "+o);var f,p=(a||i||{length:1}).length;if(a&&i&&a.length!==i.length)throw new Error("Given keys array must have same length as given values array.");if(0===p)return e({numFailures:0,failures:{},results:[],lastResult:void 0});var m=[],h=[],v=0,g=function(e){++v,vn(e)};if("deleteRange"===o){if(4===c.type)return e({numFailures:v,failures:h,results:[],lastResult:void 0});3===c.type?m.push(f=u.clear()):m.push(f=u.delete(r(c)))}else{var y=d?s?[i,a]:[i,null]:[a,null],b=y[0],x=y[1];if(d)for(var w=0;w=t}));function d(){return a.length?He.resolve(a.shift()(n.idbtrans)).then(d):He.resolve()}return u.forEach((function(e){a.push((function(){var a=c,i=e._cfg.dbschema;Hn(o,a,r),Hn(o,i,r),c=o._dbSchema=i;var u=An(a,i);u.add.forEach((function(e){Ln(r,e[0],e[1].primKey,e[1].indexes)})),u.change.forEach((function(e){if(e.recreate)throw new ie.Upgrade("Not yet support for changing primary key");var t=r.objectStore(e.name);e.add.forEach((function(e){return Bn(t,e)})),e.change.forEach((function(e){t.deleteIndex(e.name),Bn(t,e)})),e.del.forEach((function(e){return t.deleteIndex(e)}))}));var d=e._cfg.contentUpgrade;if(d&&e._cfg.version>t){Mn(o,r),n._memoizedTables={},l=!0;var f=N(i);u.del.forEach((function(e){f[e]=a[e]})),Dn(o,[o.Transaction.prototype]),_n(o,[o.Transaction.prototype],s(f),f),n.schema=f;var p,m=U(d);m&&st();var h=He.follow((function(){if((p=d(n))&&m){var e=dt.bind(null,null);p.then(e,e)}}));return p&&"function"==typeof p.then?He.resolve(p):h.then((function(){return p}))}})),a.push((function(t){l&&Mt||function(e,t){[].slice.call(t.db.objectStoreNames).forEach((function(n){return null==e[n]&&t.db.deleteObjectStore(n)}))}(e._cfg.dbschema,t);Dn(o,[o.Transaction.prototype]),_n(o,[o.Transaction.prototype],o._storeNames,o._dbSchema),n.schema=o._dbSchema}))})),d().then((function(){var e,t;t=r,s(e=c).forEach((function(n){t.db.objectStoreNames.contains(n)||Ln(t,n,e[n].primKey,e[n].indexes)}))}))}(e,t,a,n).catch(i)}))}function An(e,t){var n,r={del:[],add:[],change:[]};for(n in e)t[n]||r.del.push(n);for(n in t){var o=e[n],a=t[n];if(o){var i={name:n,def:a,recreate:!1,del:[],add:[],change:[]};if(""+(o.primKey.keyPath||"")!=""+(a.primKey.keyPath||"")||o.primKey.auto!==a.primKey.auto&&!Rt)i.recreate=!0,r.change.push(i);else{var c=o.idxByName,l=a.idxByName,u=void 0;for(u in c)l[u]||i.del.push(u);for(u in l){var s=c[u],d=l[u];s?s.src!==d.src&&i.change.push(d):i.add.push(d)}(i.del.length>0||i.add.length>0||i.change.length>0)&&r.change.push(i)}}else r.add.push([n,a])}return r}function Ln(e,t,n,r){var o=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach((function(e){return Bn(o,e)})),o}function Bn(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function Fn(e,t,n){var r={};return C(t.objectStoreNames,0).forEach((function(e){for(var t=n.objectStore(e),o=t.keyPath,a=Sn(Cn(o),o||"",!1,!1,!!t.autoIncrement,o&&"string"!=typeof o,!0),i=[],c=0;cMath.pow(2,62)?0:t.oldVersion;l=s<1,e._novip.idbdb=u.result,zn(e,s/10,c,a)}}),a),u.onsuccess=nt((function(){c=null;var t,r=e._novip.idbdb=u.result,a=C(r.objectStoreNames);if(a.length>0)try{var d=r.transaction(1===(t=a).length?t[0]:t,"readonly");n.autoSchema?function(e,t,n){var r=e._novip;r.verno=t.version/10;var o=r._dbSchema=Fn(0,t,n);r._storeNames=C(t.objectStoreNames,0),_n(r,[r._allTables],s(o),o)}(e,r,d):(Hn(e,e._dbSchema,d),function(e,t){var n=An(Fn(0,e.idbdb,t),e._dbSchema);return!(n.add.length||n.change.some((function(e){return e.add.length||e.change.length})))}(e,d)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),Mn(e,d)}catch(e){}Nt.push(e),r.onversionchange=nt((function(t){n.vcFired=!0,e.on("versionchange").fire(t)})),r.onclose=nt((function(t){e.on("close").fire(t)})),l&&function(e,t){var n=e.indexedDB,r=e.IDBKeyRange;!Kn(n)&&t!==Tt&&Un(n,r).put({name:t}).catch(ue)}(e._deps,i),o()}),a)}))}))]).then((function(){return t(),n.onReadyBeingFired=[],He.resolve(Gn((function(){return e.on.ready.fire(e.vip)}))).then((function t(){if(n.onReadyBeingFired.length>0){var r=n.onReadyBeingFired.reduce(ge,ue);return n.onReadyBeingFired=[],He.resolve(Gn((function(){return r(e.vip)}))).then(t)}}))})).finally((function(){n.onReadyBeingFired=null,n.isBeingOpened=!1})).then((function(){return e})).catch((function(t){n.dbOpenError=t;try{c&&c.abort()}catch(e){}return a===n.openCanceller&&e._close(),Ct(t)})).finally((function(){n.openComplete=!0,i()}))}function qn(e){var t=function(e){return function(t){var n=e(t),a=n.value;return n.done?a:a&&"function"==typeof a.then?a.then(r,o):d(a)?Promise.all(a).then(r,o):r(a)}},n=function(t){return e.next(t)},r=t(n),o=t((function(t){return e.throw(t)}));return t(n)()}function $n(e,t,n){var r=arguments.length;if(r<2)throw new ie.InvalidArgument("Too few arguments");for(var o=new Array(r-1);--r;)o[r-1]=arguments[r];return n=o.pop(),[e,M(o),n]}function Yn(e,t,n,r,o){return He.resolve().then((function(){var a=Ae.transless||Ae,i=e._createTransaction(t,n,e._dbSchema,r),c={trans:i,transless:a};if(r)i.idbtrans=r.idbtrans;else try{i.create(),e._state.PR1398_maxLoop=3}catch(r){return r.name===oe.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),e._close(),e.open().then((function(){return Yn(e,t,n,null,o)}))):Ct(r)}var l,u=U(o);u&&st();var s=He.follow((function(){if(l=o.call(i,i))if(u){var e=dt.bind(null,null);l.then(e,e)}else"function"==typeof l.next&&"function"==typeof l.throw&&(l=qn(l))}),c);return(l&&"function"==typeof l.then?He.resolve(l).then((function(e){return i.active?e:Ct(new ie.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))})):s.then((function(){return l}))).then((function(e){return r&&i._resolve(),i._completion.then((function(){return e}))})).catch((function(e){return i._reject(e),Ct(e)}))}))}function Qn(e,t,n){for(var r=d(e)?e.slice():[e],o=0;o0,d=c(c({},n),{isVirtual:s,keyTail:t,keyLength:u,extractKey:On(e),unique:!s&&n.unique});(o.push(d),d.isPrimaryKey||i.push(d),u>1)&&l(2===u?e[0]:e.slice(0,u-1),t+1,n);return o.sort((function(e,t){return e.keyTail-t.keyTail})),d}var u=l(o.primaryKey.keyPath,0,o.primaryKey);a[":id"]=[u];for(var s=0,d=o.indexes;s0?Promise.reject(n.failures[0]):r.length1?t:e}:{d:0})};function ir(e,t,n){var r=Jt(t,n);if(!isNaN(r)){if(r>0)throw RangeError();if(or(e))return f(e,{from:t,to:n,d:1});var o=e.l,a=e.r;if(Jt(n,e.from)<0)return o?ir(o,t,n):e.l={from:t,to:n,d:1,l:null,r:null},sr(e);if(Jt(t,e.to)>0)return a?ir(a,t,n):e.r={from:t,to:n,d:1,l:null,r:null},sr(e);Jt(t,e.from)<0&&(e.from=t,e.l=null,e.d=a?a.d+1:1),Jt(n,e.to)>0&&(e.to=n,e.r=null,e.d=e.l?e.l.d+1:1);var i=!e.r;o&&!e.l&&cr(e,o),a&&i&&cr(e,a)}}function cr(e,t){or(t)||function e(t,n){var r=n.from,o=n.to,a=n.l,i=n.r;ir(t,r,o),a&&e(t,a),i&&e(t,i)}(e,t)}function lr(e,t){var n=ur(t),r=n.next();if(r.done)return!1;for(var o=r.value,a=ur(e),i=a.next(o.from),c=i.value;!r.done&&!i.done;){if(Jt(c.from,o.to)<=0&&Jt(c.to,o.from)>=0)return!0;Jt(o.from,c.from)<0?o=(r=n.next(c.from)).value:c=(i=a.next(o.from)).value}return!1}function ur(e){var t=or(e)?null:{s:0,n:e};return{next:function(e){for(var n=arguments.length>0;t;)switch(t.s){case 0:if(t.s=1,n)for(;t.n.l&&Jt(e,t.n.from)<0;)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!n||Jt(e,t.n.to)<=0)return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function sr(e){var t,n,r=((null===(t=e.r)||void 0===t?void 0:t.d)||0)-((null===(n=e.l)||void 0===n?void 0:n.d)||0),o=r>1?"r":r<-1?"l":"";if(o){var a="r"===o?"l":"r",i=c({},e),l=e[o];e.from=l.from,e.to=l.to,e[o]=l[o],i[o]=l[a],e[a]=i,i.d=dr(i)}e.d=dr(e)}function dr(e){var t=e.r,n=e.l;return(t?n?Math.max(t.d,n.d):t.d:n?n.d:0)+1}v(ar.prototype,((nr={add:function(e){return cr(this,e),this},addKey:function(e){return ir(this,e,e),this},addKeys:function(e){var t=this;return e.forEach((function(e){return ir(t,e,e)})),this}})[F]=function(){return ur(this)},nr));var fr={stack:"dbcore",level:0,create:function(e){var t=e.schema.name,n=new ar(e.MIN_KEY,e.MAX_KEY);return c(c({},e),{table:function(r){var o=e.table(r),a=o.schema,i=a.primaryKey,l=i.extractKey,u=i.outbound,f=c(c({},o),{mutate:function(e){var i=e.trans,c=i.mutatedParts||(i.mutatedParts={}),l=function(e){var n="idb://"+t+"/"+r+"/"+e;return c[n]||(c[n]=new ar)},u=l(""),s=l(":dels"),f=e.type,p="deleteRange"===e.type?[e.range]:"delete"===e.type?[e.keys]:e.values.length<50?[[],e.values]:[],m=p[0],h=p[1],v=e.trans._cache;return o.mutate(e).then((function(e){if(d(m)){"delete"!==f&&(m=e.results),u.addKeys(m);var t=tr(m,v);t||"add"===f||s.addKeys(m),(t||h)&&function(e,t,n,r){var o=function(t){var o=e(t.name||"");function a(e){return null!=e?t.extractKey(e):null}var i=function(e){return t.multiEntry&&d(e)?e.forEach((function(e){return o.addKey(e)})):o.addKey(e)};(n||r).forEach((function(e,t){var o=n&&a(n[t]),c=r&&a(r[t]);0!==Jt(o,c)&&(null!=o&&i(o),null!=c&&i(c))}))};t.indexes.forEach(o)}(l,a,t,h)}else if(m){var r={from:m.lower,to:m.upper};s.add(r),u.add(r)}else u.add(n),s.add(n),a.indexes.forEach((function(e){return l(e.name).add(n)}));return e}))}}),p=function(t){var n,r,o=t.query,a=o.index,i=o.range;return[a,new ar(null!==(n=i.lower)&&void 0!==n?n:e.MIN_KEY,null!==(r=i.upper)&&void 0!==r?r:e.MAX_KEY)]},m={get:function(e){return[i,new ar(e.key)]},getMany:function(e){return[i,(new ar).addKeys(e.keys)]},count:p,query:p,openCursor:p};return s(m).forEach((function(e){f[e]=function(a){var i=Ae.subscr;if(i){var s=function(e){var n="idb://"+t+"/"+r+"/"+e;return i[n]||(i[n]=new ar)},d=s(""),f=s(":dels"),p=m[e](a),h=p[0],v=p[1];if(s(h.name||"").add(v),!h.isPrimaryKey){if("count"!==e){var g="query"===e&&u&&a.values&&o.query(c(c({},a),{values:!1}));return o[e].apply(this,arguments).then((function(t){if("query"===e){if(u&&a.values)return g.then((function(e){var n=e.result;return d.addKeys(n),t}));var n=a.values?t.result.map(l):t.result;a.values?d.addKeys(n):f.addKeys(n)}else if("openCursor"===e){var r=t,o=a.values;return r&&Object.create(r,{key:{get:function(){return f.addKey(r.primaryKey),r.key}},primaryKey:{get:function(){var e=r.primaryKey;return f.addKey(e),e}},value:{get:function(){return o&&d.addKey(r.primaryKey),r.value}}})}return t}))}f.add(n)}}return o[e].apply(this,arguments)}})),f}})}};var pr,mr,hr=function(){function e(t,n){var r=this;this._middlewares={},this.verno=0;var o=e.dependencies;this._options=n=c({addons:e.addons,autoOpen:!0,indexedDB:o.indexedDB,IDBKeyRange:o.IDBKeyRange},n),this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange};var a=n.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var i,l={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:ue,dbReadyPromise:null,cancelOpen:ue,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};l.dbReadyPromise=new He((function(e){l.dbReadyResolve=e})),l.openCanceller=new He((function(e,t){l.cancelOpen=t})),this._state=l,this.name=t,this.on=Vt(this,"populate","blocked","versionchange","close",{ready:[ge,ue]}),this.on.ready.subscribe=E(this.on.ready.subscribe,(function(t){return function(n,o){e.vip((function(){var e=r._state;if(e.openComplete)e.dbOpenError||He.resolve().then(n),o&&t(n);else if(e.onReadyBeingFired)e.onReadyBeingFired.push(n),o&&t(n);else{t(n);var a=r;o||t((function e(){a.on.ready.unsubscribe(n),a.on.ready.unsubscribe(e)}))}}))}})),this.Collection=(i=this,Ut(nn.prototype,(function(e,t){this.db=i;var n=Bt,r=null;if(t)try{n=t()}catch(e){r=e}var o=e._ctx,a=o.table,c=a.hook.reading.fire;this._ctx={table:a,index:o.index,isPrimKey:!o.index||a.schema.primKey.keyPath&&o.index===a.schema.primKey.name,range:n,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:r,or:o.or,valueMapper:c!==se?c:null}}))),this.Table=function(e){return Ut(Wt.prototype,(function(t,n,r){this.db=e,this._tx=r,this.name=t,this.schema=n,this.hook=e._allTables[t]?e._allTables[t].hook:Vt(null,{creating:[pe,ue],reading:[de,se],updating:[he,ue],deleting:[me,ue]})}))}(this),this.Transaction=function(e){return Ut(wn.prototype,(function(t,n,r,o,a){var i=this;this.db=e,this.mode=t,this.storeNames=n,this.schema=r,this.chromeTransactionDurability=o,this.idbtrans=null,this.on=Vt(this,"complete","error","abort"),this.parent=a||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new He((function(e,t){i._resolve=e,i._reject=t})),this._completion.then((function(){i.active=!1,i.on.complete.fire()}),(function(e){var t=i.active;return i.active=!1,i.on.error.fire(e),i.parent?i.parent._reject(e):t&&i.idbtrans&&i.idbtrans.abort(),Ct(e)}))}))}(this),this.Version=function(e){return Ut(Vn.prototype,(function(t){this.db=e,this._cfg={version:t,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}}))}(this),this.WhereClause=function(e){return Ut(mn.prototype,(function(t,n,r){this.db=e,this._ctx={table:t,index:":id"===n?null:n,or:r};var o=e._deps.indexedDB;if(!o)throw new ie.MissingAPI;this._cmp=this._ascending=o.cmp.bind(o),this._descending=function(e,t){return o.cmp(t,e)},this._max=function(e,t){return o.cmp(e,t)>0?e:t},this._min=function(e,t){return o.cmp(e,t)<0?e:t},this._IDBKeyRange=e._deps.IDBKeyRange}))}(this),this.on("versionchange",(function(e){e.newVersion>0?console.warn("Another connection wants to upgrade database '"+r.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+r.name+"'. Closing db now to resume the delete request."),r.close()})),this.on("blocked",(function(e){!e.newVersion||e.newVersion=0&&Nt.splice(t,1),this.idbdb){try{this.idbdb.close()}catch(e){}this._novip.idbdb=null}e.dbReadyPromise=new He((function(t){e.dbReadyResolve=t})),e.openCanceller=new He((function(t,n){e.cancelOpen=n}))},e.prototype.close=function(){this._close();var e=this._state;this._options.autoOpen=!1,e.dbOpenError=new ie.DatabaseClosed,e.isBeingOpened&&e.cancelOpen(e.dbOpenError)},e.prototype.delete=function(){var e=this,t=arguments.length>0,n=this._state;return new He((function(r,o){var a=function(){e.close();var t=e._deps.indexedDB.deleteDatabase(e.name);t.onsuccess=nt((function(){var t,n,o,a;t=e._deps,n=e.name,o=t.indexedDB,a=t.IDBKeyRange,!Kn(o)&&n!==Tt&&Un(o,a).delete(n).catch(ue),r()})),t.onerror=hn(o),t.onblocked=e._fireOnBlocked};if(t)throw new ie.InvalidArgument("Arguments not allowed in db.delete()");n.isBeingOpened?n.dbReadyPromise.then(a):a()}))},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return null!==this.idbdb},e.prototype.hasBeenClosed=function(){var e=this._state.dbOpenError;return e&&"DatabaseClosed"===e.name},e.prototype.hasFailed=function(){return null!==this._state.dbOpenError},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var e=this;return s(this._allTables).map((function(t){return e._allTables[t]}))},enumerable:!1,configurable:!0}),e.prototype.transaction=function(){var e=$n.apply(this,arguments);return this._transaction.apply(this,e)},e.prototype._transaction=function(e,t,n){var r=this,o=Ae.trans;o&&o.db===this&&-1===e.indexOf("!")||(o=null);var a,i,c=-1!==e.indexOf("?");e=e.replace("!","").replace("?","");try{if(i=t.map((function(e){var t=e instanceof r.Table?e.name:e;if("string"!=typeof t)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t})),"r"==e||e===zt)a=zt;else{if("rw"!=e&&e!=At)throw new ie.InvalidArgument("Invalid transaction mode: "+e);a=At}if(o){if(o.mode===zt&&a===At){if(!c)throw new ie.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");o=null}o&&i.forEach((function(e){if(o&&-1===o.storeNames.indexOf(e)){if(!c)throw new ie.SubTransaction("Table "+e+" not included in parent transaction.");o=null}})),c&&o&&!o.active&&(o=null)}}catch(e){return o?o._promise(null,(function(t,n){n(e)})):Ct(e)}var l=Yn.bind(null,this,a,i,o,n);return o?o._promise(a,l,"lock"):Ae.trans?gt(Ae.transless,(function(){return r._whenReady(l)})):this._whenReady(l)},e.prototype.table=function(e){if(!h(this._allTables,e))throw new ie.InvalidTable("Table "+e+" does not exist");return this._allTables[e]},e}(),vr="undefined"!=typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable",gr=((pr=function(e){this._subscribe=e}).prototype.subscribe=function(e,t,n){return this._subscribe(e&&"function"!=typeof e?e:{next:e,error:t,complete:n})},pr.prototype[vr]=function(){return this},pr);function yr(e,t){return s(t).forEach((function(n){cr(e[n]||(e[n]=new ar),t[n])})),e}function br(e){var t=!1,n=void 0,r=new gr((function(r){var o=function(){return s(l).some((function(e){return c[e]&&lr(c[e],l[e])}))},a=U(e),i=!1,c={},l={},u={get closed(){return i},unsubscribe:function(){i=!0,xn.storagemutated.unsubscribe(p)}};r.start&&r.start(u);var d=!1,f=!1,p=function(e){yr(c,e),o()&&m()},m=function(){if(!d&&!i){c={};var s={},h=function(t){a&&st();var n=function(){return ut(e,{subscr:t,trans:null})},r=Ae.trans?gt(Ae.transless,n):n();return a&&r.then(dt,dt),r}(s);f||(xn(yn,p),f=!0),d=!0,Promise.resolve(h).then((function(e){t=!0,n=e,d=!1,i||(o()?m():(c={},l=s,r.next&&r.next(e)))}),(function(e){d=!1,t=!1,r.error&&r.error(e),u.unsubscribe()}))}};return m(),u}));return r.hasValue=function(){return t},r.getValue=function(){return n},r}try{mr={indexedDB:u.indexedDB||u.mozIndexedDB||u.webkitIndexedDB||u.msIndexedDB,IDBKeyRange:u.IDBKeyRange||u.webkitIDBKeyRange}}catch(e){mr={indexedDB:null,IDBKeyRange:null}}var xr=hr;function wr(e){var t=Sr;try{Sr=!0,xn.storagemutated.fire(e)}finally{Sr=t}}v(xr,c(c({},le),{delete:function(e){return new xr(e,{addons:[]}).delete()},exists:function(e){return new xr(e,{addons:[]}).open().then((function(e){return e.close(),!0})).catch("NoSuchDatabaseError",(function(){return!1}))},getDatabaseNames:function(e){try{return(t=xr.dependencies,n=t.indexedDB,r=t.IDBKeyRange,Kn(n)?Promise.resolve(n.databases()).then((function(e){return e.map((function(e){return e.name})).filter((function(e){return e!==Tt}))})):Un(n,r).toCollection().primaryKeys()).then(e)}catch(t){return Ct(new ie.MissingAPI)}var t,n,r},defineClass:function(){return function(e){f(this,e)}},ignoreTransaction:function(e){return Ae.trans?gt(Ae.transless,e):e()},vip:Gn,async:function(e){return function(){try{var t=qn(e.apply(this,arguments));return t&&"function"==typeof t.then?t:He.resolve(t)}catch(e){return Ct(e)}}},spawn:function(e,t,n){try{var r=qn(e.apply(n,t||[]));return r&&"function"==typeof r.then?r:He.resolve(r)}catch(e){return Ct(e)}},currentTransaction:{get:function(){return Ae.trans||null}},waitFor:function(e,t){var n=He.resolve("function"==typeof e?xr.ignoreTransaction(e):e).timeout(t||6e4);return Ae.trans?Ae.trans.waitFor(n):n},Promise:He,debug:{get:function(){return K},set:function(e){G(e,"dexie"===e?function(){return!0}:Dt)}},derive:b,extend:f,props:v,override:E,Events:Vt,on:xn,liveQuery:br,extendObservabilitySet:yr,getByKeyPath:P,setByKeyPath:j,delByKeyPath:function(e,t){"string"==typeof t?j(e,t,void 0):"length"in t&&[].map.call(t,(function(t){j(e,t,void 0)}))},shallowClone:N,deepClone:z,getObjectDiff:Zn,cmp:Jt,asap:O,minKey:It,addons:[],connections:Nt,errnames:oe,dependencies:mr,semVer:kt,version:kt.split(".").map((function(e){return parseInt(e)})).reduce((function(e,t,n){return e+t/Math.pow(10,2*n)}))})),xr.maxKey=kn(xr.dependencies.IDBKeyRange),"undefined"!=typeof dispatchEvent&&"undefined"!=typeof addEventListener&&(xn(yn,(function(e){var t;Sr||(Rt?(t=document.createEvent("CustomEvent")).initCustomEvent(bn,!0,!0,e):t=new CustomEvent(bn,{detail:e}),Sr=!0,dispatchEvent(t),Sr=!1)})),addEventListener(bn,(function(e){var t=e.detail;Sr||wr(t)})));var Sr=!1;if("undefined"!=typeof BroadcastChannel){var Cr=new BroadcastChannel(bn);"function"==typeof Cr.unref&&Cr.unref(),xn(yn,(function(e){Sr||Cr.postMessage(e)})),Cr.onmessage=function(e){e.data&&wr(e.data)}}else if("undefined"!=typeof self&&"undefined"!=typeof navigator){xn(yn,(function(e){try{Sr||("undefined"!=typeof localStorage&&localStorage.setItem(bn,JSON.stringify({trig:Math.random(),changedParts:e})),"object"==typeof self.clients&&l([],self.clients.matchAll({includeUncontrolled:!0}),!0).forEach((function(t){return t.postMessage({type:bn,changedParts:e})})))}catch(e){}})),"undefined"!=typeof addEventListener&&addEventListener("storage",(function(e){if(e.key===bn){var t=JSON.parse(e.newValue);t&&wr(t.changedParts)}}));var Er=self.document&&navigator.serviceWorker;Er&&Er.addEventListener("message",(function(e){var t=e.data;t&&t.type===bn&&wr(t.changedParts)}))}He.rejectionMapper=function(e,t){if(!e||e instanceof ee||e instanceof TypeError||e instanceof SyntaxError||!e.name||!ce[e.name])return e;var n=new ce[e.name](t||e.message,e);return"stack"in e&&y(n,"stack",{get:function(){return this.inner.stack}}),n},G(K,Dt)})),a("3tig5").register(JSON.parse('{"kXHk2":"index.74fa8025.js","4cvKi":"ticker.5331175f.js","bGRlQ":"index.ddab7344.css"}'));var i={};i=a("2GWz0");var c,l=a("8SyCD"),u={}; +/** + * React Router DOM v6.17.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */ +function s(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){s(a,r,o,i,c,"next",e)}function c(e){s(a,r,o,i,c,"throw",e)}i(void 0)}))}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e){if(Array.isArray(e))return e}function m(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o[o.length-1])||6!==i[0]&&2!==i[0])){l=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Y(e,t,n,r){var o=function(){return(d.state||{idx:null}).idx},a=function(){f=T.Pop;var e=o(),t=null==e?null:e-m;m=e,p&&p({action:f,location:h.location,delta:t})},i=function(e){var t="null"!==l.location.origin?l.location.origin:l.location.href,n="string"==typeof e?e:q(e);return U(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)};void 0===r&&(r={});var c=r.window,l=void 0===c?document.defaultView:c,u=r.v5Compat,s=void 0!==u&&u,d=l.history,f=T.Pop,p=null,m=o();null==m&&(m=0,d.replaceState(B({},d.state,{idx:m}),""));var h={get action(){return f},get location(){return e(l,d)},listen:function(e){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(W,a),p=e,function(){l.removeEventListener(W,a),p=null}},createHref:function(e){return t(l,e)},createURL:i,encodeLocation:function(e){var t=i(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){f=T.Push;var r=X(h.location,e,t);n&&n(r,e);var a=G(r,m=o()+1),i=h.createHref(r);try{d.pushState(a,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;l.location.assign(i)}s&&p&&p({action:f,location:h.location,delta:1})},replace:function(e,t){f=T.Replace;var r=X(h.location,e,t);n&&n(r,e);var a=G(r,m=o()),i=h.createHref(r);d.replaceState(a,"",i),s&&p&&p({action:f,location:h.location,delta:0})},go:function(e){return d.go(e)}};return h}(H=F||(F={})).data="data",H.deferred="deferred",H.redirect="redirect",H.error="error";var Q=new Set(["lazy","caseSensitive","path","id","index","children"]);function J(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map((function(e,o){var a=S(n).concat([o]),i="string"==typeof e.id?e.id:a.join("-");if(U(!0!==e.index||!e.children,"Cannot specify children on an index route"),U(!r[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){var c=B({},e,t(e),{id:i});return r[i]=c,c}var l=B({},e,t(e),{id:i,children:void 0});return r[i]=l,e.children&&(l.children=J(e.children,t,a,r)),l}))}function Z(e,t,n){void 0===n&&(n="/");var r=me(("string"==typeof t?$(t):t).pathname||"/",n);if(null==r)return null;var o=te(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var a=null,i=0;null==a&&i0&&(U(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+c+'".'),te(e.children,t,l,c)),(null!=e.path||e.index)&&t.push({path:c,score:se(c,e.index),routesMeta:l})};return e.forEach((function(e,t){var n,r=!0,a=!1,i=void 0;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))try{for(var c,l=ne(e.path)[Symbol.iterator]();!(r=(c=l.next()).done);r=!0){var u=c.value;o(e,t,u)}}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}else o(e,t)})),t}function ne(e){var t,n,r=e.split("/");if(0===r.length)return[];var o,a=p(o=r)||x(o)||g(o)||h(),i=a[0],c=a.slice(1),l=i.endsWith("?"),u=i.replace(/\?$/,"");if(0===c.length)return l?[u,""]:[u];var s=ne(c.join("/")),d=[];return(t=d).push.apply(t,S(s.map((function(e){return""===e?u:[u,e].join("/")})))),l&&(n=d).push.apply(n,S(s)),d.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var re=/^:\w+$/,oe=3,ae=2,ie=1,ce=10,le=-2,ue=function(e){return"*"===e};function se(e,t){var n=e.split("/"),r=n.length;return n.some(ue)&&(r+=le),t&&(r+=ae),n.filter((function(e){return!ue(e)})).reduce((function(e,t){return e+(re.test(t)?oe:""===t?ie:ce)}),r)}function de(e,t){for(var n=e.routesMeta,r={},o="/",a=[],i=0;i and the router will parse it for you.'}function ve(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function ge(e,t,n,r){var o;void 0===r&&(r=!1),"string"==typeof e?o=$(e):(U(!(o=B({},e)).pathname||!o.pathname.includes("?"),he("?","pathname","search",o)),U(!o.pathname||!o.pathname.includes("#"),he("#","pathname","hash",o)),U(!o.search||!o.search.includes("#"),he("#","search","hash",o)));var a,i=""===e||""===o.pathname,c=i?"/":o.pathname;if(r||null==c)a=n;else{var l=t.length-1;if(c.startsWith("..")){for(var u=c.split("/");".."===u[0];)u.shift(),l-=1;o.pathname=u.join("/")}a=l>=0?t[l]:"/"}var s=function(e,t){void 0===t&&(t="/");var n="string"==typeof e?$(e):e,r=n.pathname,o=n.search,a=void 0===o?"":o,i=n.hash,c=void 0===i?"":i,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:xe(a),hash:we(c)}}(o,a),d=c&&"/"!==c&&c.endsWith("/"),f=(i||"."===c)&&n.endsWith("/");return s.pathname.endsWith("/")||!d&&!f||(s.pathname+="/"),s}var ye=function(e){return e.join("/").replace(/\/\/+/g,"/")},be=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},xe=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},we=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},Se=function(e){"use strict";j(n,e);var t=L(n);function n(){return f(this,n),t.apply(this,arguments)}return n}(_(Error));var Ce=function e(t,n,r,o){"use strict";f(this,e),void 0===o&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r};function Ee(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var ke=["post","put","patch","delete"],Oe=new Set(ke),Ie=["get"].concat(S(ke)),Pe=new Set(Ie),je=new Set([301,302,303,307,308]),Ne=new Set([307,308]),Re={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Me={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},_e={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},De=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Te=function(e){return{hasErrorBoundary:Boolean(e.hasErrorBoundary)}},ze="remix-router-transitions";function Ae(e){var t,n=function(e,t){te=B({},te,e),D.forEach((function(e){return e(te,{unstable_viewTransitionOpts:t})}))},r=function(t,r){var o,a,i,c=null!=te.actionData&&null!=te.navigation.formMethod&&st(te.navigation.formMethod)&&"loading"===te.navigation.state&&!0!==(null==(o=t.state)?void 0:o._isRedirect);i=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:c?te.actionData:null;var l=r.loaderData?Ze(te.loaderData,r.loaderData,r.matches||[],r.errors):te.loaderData,u=te.blockers;u.size>0&&(u=new Map(u)).forEach((function(e,t){return u.set(t,_e)}));var s,d=!0===re||null!=te.navigation.formMethod&&st(te.navigation.formMethod)&&!0!==(null==(a=t.state)?void 0:a._isRedirect);if(P&&(N=P,P=void 0),ce||ne===T.Pop||(ne===T.Push?e.history.push(t,t.state):ne===T.Replace&&e.history.replace(t,t.state)),ne===T.Pop){var f=ae.get(te.location.pathname);f&&f.has(t.pathname)?s={currentLocation:te.location,nextLocation:t}:ae.has(t.pathname)&&(s={currentLocation:t,nextLocation:te.location})}else if(oe){var p=ae.get(te.location.pathname);p?p.add(t.pathname):(p=new Set([t.pathname]),ae.set(te.location.pathname,p)),s={currentLocation:te.location,nextLocation:t}}n(B({},r,{actionData:i,loaderData:l,historyAction:ne,location:t,initialized:!0,navigation:Re,revalidation:"idle",restoreScrollPosition:x(t,r.matches||te.matches),preventScrollReset:d,blockers:u}),s),ne=T.Pop,re=!1,oe=!1,ce=!1,le=!1,ue=[],se=[]},o=function(e){return te.fetchers.get(e)||Me},a=function(){var e;le=!0,(e=ue).push.apply(e,S(v())),ge.forEach((function(e,t){de.has(t)&&(se.push(t),l(t))}))},i=function(e,t,r){var o=et(te.matches,t);c(e),n({errors:I({},o.route.id,r),fetchers:new Map(te.fetchers)})},c=function(e){var t=te.fetchers.get(e);!de.has(e)||t&&"loading"===t.state&&he.has(e)||l(e),ge.delete(e),he.delete(e),ve.delete(e),te.fetchers.delete(e)},l=function(e){var t=de.get(e);U(t,"Expected fetch controller: "+e),t.abort(),de.delete(e)},u=function(e){var t=!0,n=!1,r=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var c=a.value,l=xt(o(c).data);te.fetchers.set(c,l)}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}},s=function(){var e=[],t=!1,n=!0,r=!1,o=void 0;try{for(var a,i=ve[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value,l=te.fetchers.get(c);U(l,"Expected fetcher: "+c),"loading"===l.state&&(ve.delete(c),e.push(c),t=!0)}}catch(e){r=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}return u(e),t},f=function(e){var t=[],n=!0,r=!1,o=void 0;try{for(var a,i=he[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=y(a.value,2),s=c[0];if(c[1]0},p=function(e){te.blockers.delete(e),be.delete(e)},m=function(e,t){var r=te.blockers.get(e)||_e;U("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);var o=new Map(te.blockers);o.set(e,t),n({blockers:o})},h=function(e){var t=e.currentLocation,n=e.nextLocation,r=e.historyAction;if(0!==be.size){be.size>1&&K(!1,"A router only supports one blocker at a time");var o=Array.from(be.entries()),a=y(o[o.length-1],2),i=a[0],c=a[1],l=te.blockers.get(i);if(!l||"proceeding"!==l.state)return c({currentLocation:t,nextLocation:n,historyAction:r})?i:void 0}},v=function(e){var t=[];return ye.forEach((function(n,r){e&&!e(r)||(n.cancel(),t.push(r),ye.delete(r))})),t},g=function(e,t){return A&&A(e,t.map((function(e){return ee(e,te.loaderData)})))||e.key},b=function(e,t){if(z&&L){var n=g(e,t);z[n]=L()}},x=function(e,t){if(z){var n=g(e,t),r=z[n];if("number"==typeof r)return r}return null},w=e.window?e.window:"undefined"!=typeof window?window:void 0,C=void 0!==w&&void 0!==w.document&&void 0!==w.document.createElement,k=!C;if(U(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){var O=e.detectErrorBoundary;t=function(e){return{hasErrorBoundary:O(e)}}}else t=Te;var P,j={},N=J(e.routes,t,void 0,j),R=e.basename||"/",M=B({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),_=null,D=new Set,z=null,A=null,L=null,H=null!=e.hydrationData,W=Z(N,e.history.location,R),V=null;if(null==W){var G=nt(404,{pathname:e.history.location.pathname}),q=tt(N);W=q.matches,V=I({},q.route.id,G)}var $,Y,Q=!(W.some((function(e){return e.route.lazy}))||W.some((function(e){return e.route.loader}))&&null==e.hydrationData),te={historyAction:e.history.action,location:e.history.location,matches:W,initialized:Q,navigation:Re,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||V,fetchers:new Map,blockers:new Map},ne=T.Pop,re=!1,oe=!1,ae=new Map,ie=null,ce=!1,le=!1,ue=[],se=[],de=new Map,fe=0,pe=-1,he=new Map,ve=new Set,ge=new Map,ye=new Map,be=new Map,xe=!1;function we(e,t){return Se.apply(this,arguments)}function Se(){return Se=d((function(t,r){var o,a,i,c,l,u,s,d,f,p,v;return E(this,(function(g){switch(g.label){case 0:return"number"==typeof t?(e.history.go(t),[2]):(o=Le(te.location,te.matches,R,M.v7_prependBasename,t,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),a=Be(M.v7_normalizeFormMethod,!1,o,r),i=a.path,c=a.submission,l=a.error,u=te.location,s=B({},s=X(te.location,i,r&&r.state),e.history.encodeLocation(s)),d=r&&null!=r.replace?r.replace:void 0,f=T.Push,!0===d?f=T.Replace:!1===d||null!=c&&st(c.formMethod)&&c.formAction===te.location.pathname+te.location.search&&(f=T.Replace),p=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,(v=h({currentLocation:u,nextLocation:s,historyAction:f}))?(m(v,{state:"blocked",location:s,proceed:function(){m(v,{state:"proceeding",proceed:void 0,reset:void 0,location:s}),we(t,r)},reset:function(){var e=new Map(te.blockers);e.set(v,_e),n({blockers:e})}}),[2]):[4,Ce(f,s,{submission:c,pendingError:l,preventScrollReset:p,replace:r&&r.replace,enableViewTransition:r&&r.unstable_viewTransition})]);case 1:return[2,g.sent()]}}))})),Se.apply(this,arguments)}function Ce(e,t,n){return Ee.apply(this,arguments)}function Ee(){return Ee=d((function(t,n,o){var a,i,c,l,u,s,d,f,p,m,h,g,y,x,w;return E(this,(function(S){switch(S.label){case 0:return Y&&Y.abort(),Y=null,ne=t,ce=!0===(o&&o.startUninterruptedRevalidation),b(te.location,te.matches),re=!0===(o&&o.preventScrollReset),oe=!0===(o&&o.enableViewTransition),a=P||N,i=o&&o.overrideNavigation,(c=Z(a,n,R))?!te.initialized||le||!function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(te.location,n)||o&&o.submission&&st(o.submission.formMethod)?(Y=new AbortController,f=qe(e.history,n,Y.signal,o&&o.submission),o&&o.pendingError?(m=I({},et(c).route.id,o.pendingError),[3,3]):[3,1]):(r(n,{matches:c}),[2]):(l=nt(404,{pathname:n.pathname}),u=tt(a),s=u.matches,d=u.route,v(),r(n,{matches:s,loaderData:{},errors:I({},d.id,l)}),[2]);case 1:return o&&o.submission&&st(o.submission.formMethod)?[4,ke(f,n,o.submission,c,{replace:o.replace})]:[3,3];case 2:if((h=S.sent()).shortCircuited)return[2];p=h.pendingActionData,m=h.pendingActionError,i=yt(n,o.submission),f=new Request(f.url,{signal:f.signal}),S.label=3;case 3:return[4,Ie(f,n,c,i,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,p,m)];case 4:return g=S.sent(),y=g.shortCircuited,x=g.loaderData,w=g.errors,y?[2]:(Y=null,r(n,B({matches:c},p?{actionData:p}:{},{loaderData:x,errors:w})),[2])}}))})),Ee.apply(this,arguments)}function ke(e,t,n,r,o){return Oe.apply(this,arguments)}function Oe(){return Oe=d((function(e,r,o,i,c){var l,u,s,d,f;return E(this,(function(p){switch(p.label){case 0:return void 0===c&&(c={}),a(),l=function(e,t){var n={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return n}(r,o),n({navigation:l}),(s=vt(i,r)).route.action||s.route.lazy?[3,1]:(u={type:F.error,error:nt(405,{method:e.method,pathname:r.pathname,routeId:s.route.id})},[3,3]);case 1:return[4,Ge("action",e,s,i,j,t,R)];case 2:if(u=p.sent(),e.signal.aborted)return[2,{shortCircuited:!0}];p.label=3;case 3:return ct(u)?(d=c&&null!=c.replace?c.replace:u.location===te.location.pathname+te.location.search,[4,Fe(te,u,{submission:o,replace:d})]):[3,5];case 4:return p.sent(),[2,{shortCircuited:!0}];case 5:if(it(u))return f=et(i,s.route.id),!0!==(c&&c.replace)&&(ne=T.Push),[2,{pendingActionData:{},pendingActionError:I({},f.route.id,u.error)}];if(at(u))throw nt(400,{type:"defer-action"});return[2,{pendingActionData:I({},s.route.id,u.data)}]}}))})),Oe.apply(this,arguments)}function Ie(e,t,n,r,o,a,i,c,l){return Pe.apply(this,arguments)}function Pe(){return Pe=d((function(t,o,a,i,c,u,d,p,m){var h,g,b,x,w,S,C,k,O,I,j,M,_,D,T,z,A,L,F,H,W;return E(this,(function(E){switch(E.label){case 0:return h=i||yt(o,c),g=c||u||gt(h),b=P||N,x=y(He(e.history,te,a,g,o,le,ue,se,ge,ve,b,R,p,m),2),w=x[0],S=x[1],v((function(e){return!(a&&a.some((function(t){return t.route.id===e})))||w&&w.some((function(t){return t.route.id===e}))})),pe=++fe,0===w.length&&0===S.length?(C=s(),r(o,B({matches:a,loaderData:{},errors:m||null},p?{actionData:p}:{},C?{fetchers:new Map(te.fetchers)}:{})),[2,{shortCircuited:!0}]):(ce||(S.forEach((function(e){var t=te.fetchers.get(e.key),n=bt(void 0,t?t.data:void 0);te.fetchers.set(e.key,n)})),k=p||te.actionData,n(B({navigation:h},k?0===Object.keys(k).length?{actionData:null}:{actionData:k}:{},S.length>0?{fetchers:new Map(te.fetchers)}:{}))),S.forEach((function(e){de.has(e.key)&&l(e.key),e.controller&&de.set(e.key,e.controller)})),O=function(){return S.forEach((function(e){return l(e.key)}))},Y&&Y.signal.addEventListener("abort",O),[4,Ve(te.matches,a,w,S,t)]);case 1:return I=E.sent(),j=I.results,M=I.loaderResults,_=I.fetcherResults,t.signal.aborted?[2,{shortCircuited:!0}]:(Y&&Y.signal.removeEventListener("abort",O),S.forEach((function(e){return de.delete(e.key)})),(D=rt(j))?(D.idx>=w.length&&(T=S[D.idx-w.length].key,ve.add(T)),[4,Fe(te,D.result,{replace:d})]):[3,3]);case 2:return E.sent(),[2,{shortCircuited:!0}];case 3:return z=Je(te,a,w,M,m,S,_,ye),A=z.loaderData,L=z.errors,ye.forEach((function(e,t){e.subscribe((function(n){(n||e.done)&&ye.delete(t)}))})),F=s(),H=f(pe),W=F||H||S.length>0,[2,B({loaderData:A,errors:L},W?{fetchers:new Map(te.fetchers)}:{})]}}))})),Pe.apply(this,arguments)}function je(){return je=d((function(o,c,u,s,d,p){var m,h,v,g,b,x,w,S,C,k,O,M,_,D,T,z,A,L,F,H,W,V,K,G,X,q,$,Q,J,ee;return E(this,(function(E){switch(E.label){case 0:return a(),ge.delete(o),s.route.action||s.route.lazy?(h=te.fetchers.get(o),v=function(e,t){var n={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return n}(p,h),te.fetchers.set(o,v),n({fetchers:new Map(te.fetchers)}),g=new AbortController,b=qe(e.history,u,g.signal,p),de.set(o,g),x=fe,[4,Ge("action",b,s,d,j,t,R)]):(m=nt(405,{method:p.formMethod,pathname:u,routeId:c}),i(o,c,m),[2]);case 1:if(w=E.sent(),b.signal.aborted)return de.get(o)===g&&de.delete(o),[2];if(ct(w))return de.delete(o),pe>x?(S=xt(void 0),te.fetchers.set(o,S),n({fetchers:new Map(te.fetchers)}),[2]):(ve.add(o),C=bt(p),te.fetchers.set(o,C),n({fetchers:new Map(te.fetchers)}),[2,Fe(te,w,{fetcherSubmission:p})]);if(it(w))return i(o,c,w.error),[2];if(at(w))throw nt(400,{type:"defer-action"});return k=te.navigation.location||te.location,O=qe(e.history,k,g.signal),M=P||N,U(_="idle"!==te.navigation.state?Z(M,te.navigation.location,R):te.matches,"Didn't find any matches after fetcher action"),D=++fe,he.set(o,D),T=bt(p,w.data),te.fetchers.set(o,T),z=y(He(e.history,te,_,p,k,le,ue,se,ge,ve,M,R,I({},s.route.id,w.data),void 0),2),A=z[0],(L=z[1]).filter((function(e){return e.key!==o})).forEach((function(e){var t=e.key,n=te.fetchers.get(t),r=bt(void 0,n?n.data:void 0);te.fetchers.set(t,r),de.has(t)&&l(t),e.controller&&de.set(t,e.controller)})),n({fetchers:new Map(te.fetchers)}),F=function(){return L.forEach((function(e){return l(e.key)}))},g.signal.addEventListener("abort",F),[4,Ve(te.matches,_,A,L,O)];case 2:return H=E.sent(),W=H.results,V=H.loaderResults,K=H.fetcherResults,g.signal.aborted?[2]:(g.signal.removeEventListener("abort",F),he.delete(o),de.delete(o),L.forEach((function(e){return de.delete(e.key)})),(G=rt(W))?(G.idx>=A.length&&(X=L[G.idx-A.length].key,ve.add(X)),[2,Fe(te,G.result)]):(q=Je(te,te.matches,A,V,void 0,L,K,ye),$=q.loaderData,Q=q.errors,te.fetchers.has(o)&&(J=xt(w.data),te.fetchers.set(o,J)),ee=f(D),"loading"===te.navigation.state&&D>pe?(U(ne,"Expected pending action"),Y&&Y.abort(),r(te.navigation.location,{matches:_,loaderData:$,errors:Q,fetchers:new Map(te.fetchers)})):(n(B({errors:Q,loaderData:Ze(te.loaderData,$,_,Q)},ee||L.length>0?{fetchers:new Map(te.fetchers)}:{})),le=!1),[2]))}}))})),je.apply(this,arguments)}function Ae(){return Ae=d((function(r,o,a,i,c,l){var u,s,d,f,p,m,h,v,g;return E(this,(function(y){switch(y.label){case 0:return u=te.fetchers.get(r),s=bt(l,u?u.data:void 0),te.fetchers.set(r,s),n({fetchers:new Map(te.fetchers)}),d=new AbortController,f=qe(e.history,a,d.signal),de.set(r,d),p=fe,[4,Ge("loader",f,i,c,j,t,R)];case 1:return at(m=y.sent())?[4,pt(m,f.signal,!0)]:[3,3];case 2:m=y.sent()||m,y.label=3;case 3:return de.get(r)===d&&de.delete(r),f.signal.aborted?[2]:ct(m)?pe>p?(h=xt(void 0),te.fetchers.set(r,h),n({fetchers:new Map(te.fetchers)}),[2]):[3,4]:[3,6];case 4:return ve.add(r),[4,Fe(te,m)];case 5:return y.sent(),[2];case 6:return it(m)?(v=et(te.matches,o),te.fetchers.delete(r),n({fetchers:new Map(te.fetchers),errors:I({},v.route.id,m.error)}),[2]):(U(!at(m),"Unhandled fetcher deferred data"),g=xt(m.data),te.fetchers.set(r,g),n({fetchers:new Map(te.fetchers)}),[2])}}))})),Ae.apply(this,arguments)}function Fe(e,t,n){return We.apply(this,arguments)}function We(){return We=d((function(t,n,r){var o,a,i,c,l,u,s,d,f,p,m,h,v,g;return E(this,(function(y){switch(y.label){case 0:return a=(o=void 0===r?{}:r).submission,i=o.fetcherSubmission,c=o.replace,n.revalidate&&(le=!0),U(l=X(t.location,n.location,{_isRedirect:!0}),"Expected a location on the redirect navigation"),C&&(u=!1,n.reloadDocument?u=!0:De.test(n.location)&&(s=e.history.createURL(n.location),u=s.origin!==w.location.origin||null==me(s.pathname,R)),u)?(c?w.location.replace(n.location):w.location.assign(n.location),[2]):(Y=null,d=!0===c?T.Replace:T.Push,f=t.navigation,p=f.formMethod,m=f.formAction,h=f.formEncType,!a&&!i&&p&&m&&h&&(a=gt(t.navigation)),v=a||i,Ne.has(n.status)&&v&&st(v.formMethod)?[4,Ce(d,l,{submission:B({},v,{formAction:n.location}),preventScrollReset:re})]:[3,2]);case 1:return y.sent(),[3,4];case 2:return g=yt(l,a),[4,Ce(d,l,{overrideNavigation:g,fetcherSubmission:i,preventScrollReset:re})];case 3:y.sent(),y.label=4;case 4:return[2]}}))})),We.apply(this,arguments)}function Ve(e,t,n,r,o){return Ue.apply(this,arguments)}function Ue(){return Ue=d((function(n,r,o,a,i){var c,l,u;return E(this,(function(s){switch(s.label){case 0:return[4,Promise.all(S(o.map((function(e){return Ge("loader",i,e,r,j,t,R)}))).concat(S(a.map((function(n){return n.matches&&n.match&&n.controller?Ge("loader",qe(e.history,n.path,n.controller.signal),n.match,n.matches,j,t,R):{type:F.error,error:nt(404,{pathname:n.path})}})))))];case 1:return c=s.sent(),l=c.slice(0,o.length),u=c.slice(o.length),[4,Promise.all([dt(n,o,l,l.map((function(){return i.signal})),!1,te.loaderData),dt(n,a.map((function(e){return e.match})),u,a.map((function(e){return e.controller?e.controller.signal:null})),!0)])];case 2:return s.sent(),[2,{results:c,loaderResults:l,fetcherResults:u}]}}))})),Ue.apply(this,arguments)}return $={get basename(){return R},get state(){return te},get routes(){return N},get window(){return w},initialize:function(){if(_=e.history.listen((function(t){var r=t.action,o=t.location,a=t.delta;if(!xe){K(0===be.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");var i=h({currentLocation:te.location,nextLocation:o,historyAction:r});return i&&null!=a?(xe=!0,e.history.go(-1*a),void m(i,{state:"blocked",location:o,proceed:function(){m(i,{state:"proceeding",proceed:void 0,reset:void 0,location:o}),e.history.go(a)},reset:function(){var e=new Map(te.blockers);e.set(i,_e),n({blockers:e})}})):Ce(r,o)}xe=!1})),C){!function(e,t){try{var n=e.sessionStorage.getItem(ze);if(n){var r=JSON.parse(n),o=!0,a=!1,i=void 0;try{for(var c,l=Object.entries(r||{})[Symbol.iterator]();!(o=(c=l.next()).done);o=!0){var u=y(c.value,2),s=u[0],d=u[1];d&&Array.isArray(d)&&t.set(s,new Set(d||[]))}}catch(e){a=!0,i=e}finally{try{o||null==l.return||l.return()}finally{if(a)throw i}}}}catch(e){}}(w,ae);var t=function(){return function(e,t){if(t.size>0){var n={},r=!0,o=!1,a=void 0;try{for(var i,c=t[Symbol.iterator]();!(r=(i=c.next()).done);r=!0){var l=y(i.value,2),u=l[0],s=l[1];n[u]=S(s)}}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}try{e.sessionStorage.setItem(ze,JSON.stringify(n))}catch(e){K(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}} +/** + * React Router v6.17.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */(w,ae)};w.addEventListener("pagehide",t),ie=function(){return w.removeEventListener("pagehide",t)}}return te.initialized||Ce(T.Pop,te.location),$},subscribe:function(e){return D.add(e),function(){return D.delete(e)}},enableScrollRestoration:function(e,t,r){if(z=e,L=t,A=r||null,!H&&te.navigation===Re){H=!0;var o=x(te.location,te.matches);null!=o&&n({restoreScrollPosition:o})}return function(){z=null,L=null,A=null}},navigate:we,fetch:function(e,t,n,r){if(k)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");de.has(e)&&l(e);var o=P||N,a=Le(te.location,te.matches,R,M.v7_prependBasename,n,t,null==r?void 0:r.relative),c=Z(o,a,R);if(c){var u=Be(M.v7_normalizeFormMethod,!0,a,r),s=u.path,d=u.submission,f=u.error;if(f)i(e,t,f);else{var p=vt(c,s);re=!0===(r&&r.preventScrollReset),d&&st(d.formMethod)?function(e,t,n,r,o,a){je.apply(this,arguments)}(e,t,s,p,c,d):(ge.set(e,{routeId:t,path:s}),function(e,t,n,r,o,a){Ae.apply(this,arguments)}(e,t,s,p,c,d))}}else i(e,t,nt(404,{pathname:a}))},revalidate:function(){a(),n({revalidation:"loading"}),"submitting"!==te.navigation.state&&("idle"!==te.navigation.state?Ce(ne||te.historyAction,te.navigation.location,{overrideNavigation:te.navigation}):Ce(te.historyAction,te.location,{startUninterruptedRevalidation:!0}))},createHref:function(t){return e.history.createHref(t)},encodeLocation:function(t){return e.history.encodeLocation(t)},getFetcher:o,deleteFetcher:c,dispose:function(){_&&_(),ie&&ie(),D.clear(),Y&&Y.abort(),te.fetchers.forEach((function(e,t){return c(t)})),te.blockers.forEach((function(e,t){return p(t)}))},getBlocker:function(e,t){var n=te.blockers.get(e)||_e;return be.get(e)!==t&&be.set(e,t),n},deleteBlocker:p,_internalFetchControllers:de,_internalActiveDeferreds:ye,_internalSetRoutes:function(e){P=J(e,t,void 0,j={})}},$}Symbol("deferred");function Le(e,t,n,r,o,a,i){var c,l;if(null!=a&&"path"!==i){c=[];var u=!0,s=!1,d=void 0;try{for(var f,p=t[Symbol.iterator]();!(u=(f=p.next()).done);u=!0){var m=f.value;if(c.push(m),m.route.id===a){l=m;break}}}catch(e){s=!0,d=e}finally{try{u||null==p.return||p.return()}finally{if(s)throw d}}}else c=t,l=t[t.length-1];var h=ge(o||".",ve(c).map((function(e){return e.pathnameBase})),me(e.pathname,n)||e.pathname,"path"===i);return null==o&&(h.search=e.search,h.hash=e.hash),null!=o&&""!==o&&"."!==o||!l||!l.route.index||ht(h.search)||(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),r&&"/"!==n&&(h.pathname="/"===h.pathname?n:ye([n,h.pathname])),q(h)}function Be(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!ut(r.formMethod))return{path:n,error:nt(405,{method:r.formMethod})};var o,a,i=function(){return{path:n,error:nt(400,{type:"invalid-body"})}},c=r.formMethod||"get",l=e?c.toUpperCase():c.toLowerCase(),u=ot(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!st(l))return i();var s="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((function(e,t){var n=y(t,2);return""+e+n[0]+"="+n[1]+"\n"}),""):String(r.body);return{path:n,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:void 0,text:s}}}if("application/json"===r.formEncType){if(!st(l))return i();try{var d="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch(e){return i()}}}if(U("function"==typeof FormData,"FormData is not available in this environment"),r.formData)o=$e(r.formData),a=r.formData;else if(r.body instanceof FormData)o=$e(r.body),a=r.body;else if(r.body instanceof URLSearchParams)a=Ye(o=r.body);else if(null==r.body)o=new URLSearchParams,a=new FormData;else try{a=Ye(o=new URLSearchParams(r.body))}catch(e){return i()}var f={formMethod:l,formAction:u,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:a,json:void 0,text:void 0};if(st(f.formMethod))return{path:n,submission:f};var p=$(n);return t&&p.search&&ht(p.search)&&o.append("index",""),p.search="?"+o,{path:q(p),submission:f}}function Fe(e,t){var n=e;if(t){var r=e.findIndex((function(e){return e.route.id===t}));r>=0&&(n=e.slice(0,r))}return n}function He(e,t,n,r,o,a,i,c,l,u,s,d,f,p){var m=p?Object.values(p)[0]:f?Object.values(f)[0]:void 0,h=e.createURL(t.location),v=e.createURL(o),g=p?Object.keys(p)[0]:void 0,y=Fe(n,g).filter((function(e,n){if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,n){var r=!t||n.route.id!==t.route.id,o=void 0===e[n.route.id];return r||o}(t.loaderData,t.matches[n],e)||i.some((function(t){return t===e.route.id})))return!0;var o=t.matches[n],c=e;return Ve(e,B({currentUrl:h,currentParams:o.params,nextUrl:v,nextParams:c.params},r,{actionResult:m,defaultShouldRevalidate:a||h.pathname+h.search===v.pathname+v.search||h.search!==v.search||We(o,c)}))})),b=[];return l.forEach((function(e,o){if(n.some((function(t){return t.route.id===e.routeId}))){var i=Z(s,e.path,d);if(i){var l=t.fetchers.get(o),f=vt(i,e.path);!u.has(o)&&(!!c.includes(o)||(l&&"idle"!==l.state&&void 0===l.data?a:Ve(f,B({currentUrl:h,currentParams:t.matches[t.matches.length-1].params,nextUrl:v,nextParams:n[n.length-1].params},r,{actionResult:m,defaultShouldRevalidate:a}))))&&b.push({key:o,routeId:e.routeId,path:e.path,matches:i,match:f,controller:new AbortController})}else b.push({key:o,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null})}})),[y,b]}function We(e,t){var n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Ve(e,t){if(e.route.shouldRevalidate){var n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function Ue(e,t,n){return Ke.apply(this,arguments)}function Ke(){return(Ke=d((function(e,t,n){var r,o,a,i,c;return E(this,(function(l){switch(l.label){case 0:return e.lazy?[4,e.lazy()]:[2];case 1:if(r=l.sent(),!e.lazy)return[2];for(var u in U(o=n[e.id],"No route found in manifest"),a={},r)i=o[u],K(!(c=void 0!==i&&"hasErrorBoundary"!==u),'Route "'+o.id+'" has a static property "'+u+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+u+'" will be ignored.'),c||Q.has(u)||(a[u]=r[u]);return Object.assign(o,a),Object.assign(o,B({},t(o),{lazy:void 0})),[2]}}))}))).apply(this,arguments)}function Ge(e,t,n,r,o,a,i,c){return Xe.apply(this,arguments)}function Xe(){return(Xe=d((function(e,t,n,r,o,a,i,c){var l,u,s,d,f,p,m,h,v,g,y,b,x,w,S,C,k,O,I,P;return E(this,(function(E){switch(E.label){case 0:void 0===c&&(c={}),d=function(e){var r,o=new Promise((function(e,t){return r=t}));return s=function(){return r()},t.signal.addEventListener("abort",s),Promise.race([e({request:t,params:n.params,context:c.requestContext}),o])},E.label=1;case 1:return E.trys.push([1,12,13,14]),f=n.route[e],n.route.lazy?f?[4,Promise.all([d(f).catch((function(e){p=e})),Ue(n.route,a,o)])]:[3,3]:[3,8];case 2:if(m=E.sent(),p)throw p;return u=m[0],[3,7];case 3:return[4,Ue(n.route,a,o)];case 4:return E.sent(),(f=n.route[e])?[4,d(f)]:[3,6];case 5:return u=E.sent(),[3,7];case 6:if("action"===e)throw h=new URL(t.url),v=h.pathname+h.search,nt(405,{method:t.method,pathname:v,routeId:n.route.id});return[2,{type:F.data,data:void 0}];case 7:return[3,11];case 8:if(f)return[3,9];throw g=new URL(t.url),nt(404,{pathname:g.pathname+g.search});case 9:return[4,d(f)];case 10:u=E.sent(),E.label=11;case 11:return U(void 0!==u,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`."),[3,14];case 12:return y=E.sent(),l=F.error,u=y,[3,14];case 13:return s&&t.signal.removeEventListener("abort",s),[7];case 14:if(!lt(u))return[3,19];if(b=u.status,je.has(b)){if(U(x=u.headers.get("Location"),"Redirects returned/thrown from loaders/actions must have a Location header"),De.test(x)?c.isStaticRequest||(w=new URL(t.url),S=x.startsWith("//")?new URL(w.protocol+x):new URL(x),C=null!=me(S.pathname,i),S.origin===w.origin&&C&&(x=S.pathname+S.search+S.hash)):x=Le(new URL(t.url),r.slice(0,r.indexOf(n)+1),i,!0,x),c.isStaticRequest)throw u.headers.set("Location",x),u;return[2,{type:F.redirect,status:b,location:x,revalidate:null!==u.headers.get("X-Remix-Revalidate"),reloadDocument:null!==u.headers.get("X-Remix-Reload-Document")}]}if(c.isRouteRequest)throw{type:l===F.error?F.error:F.data,response:u};return(O=u.headers.get("Content-Type"))&&/\bapplication\/json\b/.test(O)?[4,u.json()]:[3,16];case 15:return k=E.sent(),[3,18];case 16:return[4,u.text()];case 17:k=E.sent(),E.label=18;case 18:return l===F.error?[2,{type:l,error:new Ce(b,u.statusText,k),headers:u.headers}]:[2,{type:F.data,data:k,statusCode:u.status,headers:u.headers}];case 19:return l===F.error?[2,{type:l,error:u}]:(j=u)&&"object"==typeof j&&"object"==typeof j.data&&"function"==typeof j.subscribe&&"function"==typeof j.cancel&&"function"==typeof j.resolveData?[2,{type:F.deferred,deferredData:u,statusCode:null==(I=u.init)?void 0:I.status,headers:(null==(P=u.init)?void 0:P.headers)&&new Headers(u.init.headers)}]:[2,{type:F.data,data:u}]}var j}))}))).apply(this,arguments)}function qe(e,t,n,r){var o=e.createURL(ot(t)).toString(),a={signal:n};if(r&&st(r.formMethod)){var i=r.formMethod,c=r.formEncType;a.method=i.toUpperCase(),"application/json"===c?(a.headers=new Headers({"Content-Type":c}),a.body=JSON.stringify(r.json)):"text/plain"===c?a.body=r.text:"application/x-www-form-urlencoded"===c&&r.formData?a.body=$e(r.formData):a.body=r.formData}return new Request(o,a)}function $e(e){var t=new URLSearchParams,n=!0,r=!1,o=void 0;try{for(var a,i=e.entries()[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=y(a.value,2),l=c[0],u=c[1];t.append(l,"string"==typeof u?u:u.name)}}catch(e){r=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}return t}function Ye(e){var t=new FormData,n=!0,r=!1,o=void 0;try{for(var a,i=e.entries()[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=y(a.value,2),l=c[0],u=c[1];t.append(l,u)}}catch(e){r=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}return t}function Qe(e,t,n,r,o){var a,i={},c=null,l=!1,u={};return n.forEach((function(n,s){var d=t[s].route.id;if(U(!ct(n),"Cannot handle redirect results in processLoaderData"),it(n)){var f=et(e,d),p=n.error;r&&(p=Object.values(r)[0],r=void 0),null==(c=c||{})[f.route.id]&&(c[f.route.id]=p),i[d]=void 0,l||(l=!0,a=Ee(n.error)?n.error.status:500),n.headers&&(u[d]=n.headers)}else at(n)?(o.set(d,n.deferredData),i[d]=n.deferredData.data):i[d]=n.data,null==n.statusCode||200===n.statusCode||l||(a=n.statusCode),n.headers&&(u[d]=n.headers)})),r&&(c=r,i[Object.keys(r)[0]]=void 0),{loaderData:i,errors:c,statusCode:a||200,loaderHeaders:u}}function Je(e,t,n,r,o,a,i,c){for(var l=Qe(t,n,r,o,c),u=l.loaderData,s=l.errors,d=0;d=0;t--){var n=e[t];if(ct(n))return{result:n,idx:t}}}function ot(e){return q(B({},"string"==typeof e?$(e):e,{hash:""}))}function at(e){return e.type===F.deferred}function it(e){return e.type===F.error}function ct(e){return(e&&e.type)===F.redirect}function lt(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function ut(e){return Pe.has(e.toLowerCase())}function st(e){return Oe.has(e.toLowerCase())}function dt(e,t,n,r,o,a){return ft.apply(this,arguments)}function ft(){return(ft=d((function(e,t,n,r,o,a){var i,c,l,u,s,d;return E(this,(function(f){switch(f.label){case 0:i=0,f.label=1;case 1:return i=0)&&U(!1),a=a.slice(0,Math.min(a.length,c+1))}return a.reduceRight((function(e,r,o){var c=r.route.id?null==i?void 0:i[r.route.id]:null,u=null;n&&(u=r.route.errorElement||At);var s=t.concat(a.slice(0,o+1)),d=function(){var t;return t=c?u:r.route.Component?l.createElement(r.route.Component,null):r.route.element?r.route.element:e,l.createElement(Bt,{match:r,routeContext:{outlet:e,matches:s,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?l.createElement(Lt,{location:n.location,revalidation:n.revalidation,component:u,error:c,children:d(),routeContext:{outlet:null,matches:s,isDataRoute:!0}}):d()}),null)}var Ht=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ht||{}),Wt=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Wt||{});function Vt(e){var t=l.useContext(St);return!t&&U(!1),t}function Ut(e){var t=l.useContext(Ct);return!t&&U(!1),t}function Kt(e){var t=function(e){var t=l.useContext(It);return!t&&U(!1),t}(),n=t.matches[t.matches.length-1];return!n.route.id&&U(!1),n.route.id}l.startTransition;function Gt(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,o=void 0===r?null:r,a=e.location,i=e.navigationType,c=void 0===i?T.Pop:i,u=e.navigator,s=e.static,d=void 0!==s&&s;Nt()&&U(!1);var f=n.replace(/^\/*/,"/"),p=l.useMemo((function(){return{basename:f,navigator:u,static:d}}),[f,u,d]);"string"==typeof a&&(a=$(a));var m=a.pathname,h=void 0===m?"/":m,v=a.search,g=void 0===v?"":v,y=a.hash,b=void 0===y?"":y,x=a.state,w=void 0===x?null:x,S=a.key,C=void 0===S?"default":S,E=l.useMemo((function(){var e=me(h,f);return null==e?null:{location:{pathname:e,search:g,hash:b,state:w,key:C},navigationType:c}}),[f,h,g,b,w,C,c]);return null==E?null:l.createElement(kt.Provider,{value:p},l.createElement(Ot.Provider,{children:o,value:E}))}var Xt=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(Xt||{}),qt=new Promise((function(){}));l.Component;function $t(e){var t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:l.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:l.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function Yt(){return Yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);var Jt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];function Zt(){var e,t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Yt({},t,{errors:en(t.errors)})),t}function en(e){if(!e)return null;var t=Object.entries(e),n={},r=!0,o=!1,a=void 0;try{for(var i,c=t[Symbol.iterator]();!(r=(i=c.next()).done);r=!0){var l=y(i.value,2),u=l[0],s=l[1];if(s&&"RouteErrorResponse"===s.__type)n[u]=new Ce(s.status,s.statusText,s.data,!0===s.internal);else if(s&&"Error"===s.__type){if(s.__subType){var d=window[s.__subType];if("function"==typeof d)try{var f=new d(s.message);f.stack="",n[u]=f}catch(e){}}if(null==n[u]){var p=new Error(s.message);p.stack="",n[u]=p}}else n[u]=s}}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}var tn=l.createContext({isTransitioning:!1}),nn=l.startTransition;var rn=function e(){"use strict";var t=this;f(this,e),this.status="pending",this.promise=new Promise((function(e,n){t.resolve=function(n){"pending"===t.status&&(t.status="resolved",e(n))},t.reject=function(e){"pending"===t.status&&(t.status="rejected",n(e))}}))};function on(e){var t=e.fallbackElement,n=e.router,r=e.future,o=y(l.useState(n.state),2),a=o[0],i=o[1],c=y(l.useState(),2),u=c[0],s=c[1],f=y(l.useState({isTransitioning:!1}),2),p=f[0],m=f[1],h=y(l.useState(),2),v=h[0],g=h[1],b=y(l.useState(),2),x=b[0],w=b[1],S=y(l.useState(),2),C=S[0],k=S[1],O=(r||{}).v7_startTransition,I=l.useCallback((function(e){O?function(e){nn?nn(e):e()}(e):e()}),[O]),P=l.useCallback((function(e,t){var r=t.unstable_viewTransitionOpts;r&&null!=n.window&&"function"==typeof n.window.document.startViewTransition?x&&v?(v.resolve(),x.skipTransition(),k({state:e,currentLocation:r.currentLocation,nextLocation:r.nextLocation})):(s(e),m({isTransitioning:!0,currentLocation:r.currentLocation,nextLocation:r.nextLocation})):I((function(){return i(e)}))}),[I,x,v,n.window]);l.useLayoutEffect((function(){return n.subscribe(P)}),[n,P]),l.useEffect((function(){p.isTransitioning&&g(new rn)}),[p.isTransitioning]),l.useEffect((function(){if(v&&u&&n.window){var e=u,t=v.promise,r=n.window.document.startViewTransition(d((function(){return E(this,(function(n){switch(n.label){case 0:return I((function(){return i(e)})),[4,t];case 1:return n.sent(),[2]}}))})));r.finished.finally((function(){g(void 0),w(void 0),s(void 0),m({isTransitioning:!1})})),w(r)}}),[I,u,v,n.window]),l.useEffect((function(){v&&u&&a.location.key===u.location.key&&v.resolve()}),[v,x,a.location,u]),l.useEffect((function(){!p.isTransitioning&&C&&(s(C.state),m({isTransitioning:!0,currentLocation:C.currentLocation,nextLocation:C.nextLocation}),k(void 0))}),[p.isTransitioning,C]);var j=l.useMemo((function(){return{createHref:n.createHref,encodeLocation:n.encodeLocation,go:function(e){return n.navigate(e)},push:function(e,t,r){return n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})},replace:function(e,t,r){return n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})}}}),[n]),N=n.basename||"/",R=l.useMemo((function(){return{router:n,navigator:j,static:!1,basename:N}}),[n,j,N]);return l.createElement(l.Fragment,null,l.createElement(St.Provider,{value:R},l.createElement(Ct.Provider,{value:a},l.createElement(tn.Provider,{value:p},l.createElement(Gt,{basename:N,location:a.location,navigationType:a.historyAction,navigator:j},a.initialized?l.createElement(an,{routes:n.routes,state:a}):t)))),null)}function an(e){return Tt(e.routes,void 0,e.state)}var cn,ln,un,sn,dn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,fn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,pn=l.forwardRef((function(e,t){var n,r=e.onClick,o=e.relative,a=e.reloadDocument,i=e.replace,c=e.state,u=e.target,s=e.to,d=e.preventScrollReset,f=e.unstable_viewTransition,p=Qt(e,Jt),m=l.useContext(kt).basename,h=!1;if("string"==typeof s&&fn.test(s)&&(n=s,dn))try{var v=new URL(window.location.href),g=s.startsWith("//")?new URL(v.protocol+s):new URL(s),y=me(g.pathname,m);g.origin===v.origin&&null!=y?s=y+g.search+g.hash:h=!0}catch(e){}var b=jt(s,{relative:o}),x=function(e,t){var n=void 0===t?{}:t,r=n.target,o=n.replace,a=n.state,i=n.preventScrollReset,c=n.relative,u=n.unstable_viewTransition,s=_t(),d=Rt(),f=Dt(e,{relative:c});return l.useCallback((function(t){if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,r)){t.preventDefault();var n=void 0!==o?o:q(d)===q(f);s(e,{replace:n,state:a,preventScrollReset:i,relative:c,unstable_viewTransition:u})}}),[d,s,f,o,a,r,e,i,c,u])}(s,{replace:i,state:c,target:u,preventScrollReset:d,relative:o,unstable_viewTransition:f});return l.createElement("a",Yt({},p,{href:n||b,onClick:h||a?r:function(e){r&&r(e),e.defaultPrevented||x(e)},ref:t,target:u}))}));(ln=cn||(cn={})).UseScrollRestoration="useScrollRestoration",ln.UseSubmit="useSubmit",ln.UseSubmitFetcher="useSubmitFetcher",ln.UseFetcher="useFetcher",ln.useViewTransitionState="useViewTransitionState",(sn=un||(un={})).UseFetchers="useFetchers",sn.UseScrollRestoration="useScrollRestoration";l=a("8SyCD");var mn={};e(mn,"default",(function(){return Xs}),(function(e){return Xs=e}));l=a("8SyCD");var hn={};C=a("7FyBz");function vn(e){return vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vn(e)}function gn(e,t){if("object"!==vn(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==vn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function yn(e){var t=gn(e,"string");return"symbol"===vn(t)?t:String(t)}function bn(e,t,n){return(t=yn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wn(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};l=a("8SyCD");function Ln(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}function Bn(e,t){if(null==e)return{};var n,r,o=Ln(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Fn={},Hn=[];function Wn(e,t){}function Vn(e,t){}function Un(){Fn={}}function Kn(e,t,n){t||Fn[n]||(e(!1,n),Fn[n]=!0)}function Gn(e,t){Kn(Wn,e,t)}function Xn(e,t){Kn(Vn,e,t)}Gn.preMessage=function(e){Hn.push(e)},Gn.resetWarned=Un,Gn.noteOnce=Xn;var qn=Gn;var $n=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new Set;return function e(t,o){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=r.has(t);if(qn(!i,"Warning: There may be circular references"),i)return!1;if(t===o)return!0;if(n&&a>1)return!1;r.add(t);var c=a+1;if(Array.isArray(t)){if(!Array.isArray(o)||t.length!==o.length)return!1;for(var l=0;l0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):sr}function pr(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function mr(e){return Array.from((dr.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function hr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!ir())return null;var n=t.csp,r=t.prepend,o=t.priority,a=void 0===o?0:o,i=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),c="prependQueue"===i,l=document.createElement("style");l.setAttribute(lr,i),c&&a&&l.setAttribute(ur,"".concat(a)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e;var u=pr(t),s=u.firstChild;if(r){if(c){var d=mr(u).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(lr)))return!1;var t=Number(e.getAttribute(ur)||0);return a>=t}));if(d.length)return u.insertBefore(l,d[d.length-1].nextSibling),l}u.insertBefore(l,s)}else u.appendChild(l);return l}function vr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return mr(pr(t)).find((function(n){return n.getAttribute(fr(t))===e}))}function gr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=vr(e,t);n&&pr(t).removeChild(n)}function yr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var n=dr.get(e);if(!n||!cr(document,n)){var r=hr("",t),o=r.parentNode;dr.set(e,o),e.removeChild(r)}}(pr(n),n);var r=vr(t,n);if(r){var o,a,i;if(null!==(o=n.csp)&&void 0!==o&&o.nonce&&r.nonce!==(null===(a=n.csp)||void 0===a?void 0:a.nonce))r.nonce=null===(i=n.csp)||void 0===i?void 0:i.nonce;return r.innerHTML!==e&&(r.innerHTML=e),r}var c=hr(e,n);return c.setAttribute(fr(n),t),c}function br(e){if(Array.isArray(e))return e}function xr(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,c=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}function wr(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Sr(e,t){return br(e)||xr(e,t)||Dn(e,t)||wr()}var Cr=function(){function e(){Yn(this,e),bn(this,"cache",void 0),bn(this,"keys",void 0),bn(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Jn(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t,n;o?o=null===(t=o)||void 0===t||null===(n=t.map)||void 0===n?void 0:n.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce((function(e,t){var n=Sr(e,2)[1];return r.internalGet(t)[1]Yr&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(er,'="').concat(e,'"]')).forEach((function(e){var n;e[nr]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),$r.delete(e)}))}var Jr=function(e,t,n,r){var o=wn(wn({},n.getDerivativeToken(e)),t);return r&&(o=r(o)),o};function Zr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,l.useContext)(ar).cache.instanceId,o=n.salt,a=void 0===o?"":o,i=n.override,c=void 0===i?Xr:i,u=n.formatToken,s=n.getComputedToken,d=Nr((function(){return Object.assign.apply(Object,[{}].concat(zn(t)))}),t),f=Mr(d),p=Mr(c);return Gr("token",[a,e.id,f,p],(function(){var t=s?s(d,c,e):Jr(d,c,e,u),n=_r(t,a);t._tokenKey=n,function(e){$r.set(e,($r.get(e)||0)+1)}(n);var r="".concat(qr,"-").concat(An(n));return t._hashId=r,[t,r]}),(function(e){Qr(e[0]._tokenKey,r)}))}function eo(){return eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t2||No(Co)>3?"":" "}function To(e,t){for(;--t&&Oo()&&!(Co<48||Co>102||Co>57&&Co<65||Co>70&&Co<97););return jo(e,Po()+(t<6&&32==Io()&&32==Oo()))}function zo(e){for(;Oo();)switch(Co){case e:return So;case 34:case 39:34!==e&&39!==e&&zo(Co);break;case 40:41===e&&zo(e);break;case 92:Oo()}return So}function Ao(e,t){for(;Oo()&&e+Co!==57&&(e+Co!==84||47!==Io()););return"/*"+jo(t,So-1)+"*"+uo(47===e?e:Oo())}function Lo(e){for(;!No(Io());)Oo();return jo(e,So)}function Bo(e){return Mo(Fo("",null,null,null,[""],e=Ro(e),0,[0],e))}function Fo(e,t,n,r,o,a,i,c,l){for(var u=0,s=0,d=i,f=0,p=0,m=0,h=1,v=1,g=1,y=0,b="",x=o,w=a,S=r,C=b;v;)switch(m=y,y=Oo()){case 40:if(108!=m&&58==mo(C,d-1)){-1!=po(C+=fo(_o(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:C+=_o(y);break;case 9:case 10:case 13:case 32:C+=Do(m);break;case 92:C+=To(Po()-1,7);continue;case 47:switch(Io()){case 42:case 47:yo(Wo(Ao(Oo(),Po()),t,n),l);break;default:C+="/"}break;case 123*h:c[u++]=vo(C)*g;case 125*h:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+s:-1==g&&(C=fo(C,/\f/g,"")),p>0&&vo(C)-d&&yo(p>32?Vo(C+";",r,n,d-1):Vo(fo(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(yo(S=Ho(C,t,n,u,s,o,c,b,x=[],w=[],d),a),123===y)if(0===s)Fo(C,t,S,S,x,a,d,c,w);else switch(99===f&&110===mo(C,3)?100:f){case 100:case 108:case 109:case 115:Fo(e,S,S,r&&yo(Ho(e,S,S,0,0,o,c,b,o,x=[],d),w),o,w,d,c,r?x:w);break;default:Fo(C,S,S,S,[""],w,0,c,w)}}u=s=p=0,h=g=1,b=C="",d=i;break;case 58:d=1+vo(C),p=m;default:if(h<1)if(123==y)--h;else if(125==y&&0==h++&&125==(Co=So>0?mo(Eo,--So):0,xo--,10===Co&&(xo=1,bo--),Co))continue;switch(C+=uo(y),y*h){case 38:g=s>0?1:(C+="\f",-1);break;case 44:c[u++]=(vo(C)-1)*g,g=1;break;case 64:45===Io()&&(C+=_o(Oo())),f=Io(),s=d=vo(b=C+=Lo(Po())),y++;break;case 45:45===m&&2==vo(C)&&(h=0)}}return a}function Ho(e,t,n,r,o,a,i,c,l,u,s){for(var d=o-1,f=0===o?a:[""],p=go(f),m=0,h=0,v=0;m0?f[g]+" "+y:fo(y,/&\f/g,f[g])))&&(l[v++]=b);return ko(e,t,n,0===o?ro:c,l,u,s)}function Wo(e,t,n){return ko(e,t,n,no,uo(Co),ho(e,2,-2),0)}function Vo(e,t,n,r){return ko(e,t,n,oo,ho(e,0,r),ho(e,r+1,-1),r)}function Uo(e,t){for(var n="",r=go(e),o=0;o1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},a=o.root,i=o.injectHash,c=o.parentSelectors,l=r.hashId,u=r.layer,s=(r.path,r.hashPriority),d=r.transformers,f=void 0===d?[]:d,p=(r.linters,""),m={};var h=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);if(h.forEach((function(t){var o="string"!=typeof t||a?t:{};if("string"==typeof o)p+="".concat(o,"\n");else if(o._keyframe)n(o);else{var u=f.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),o);Object.keys(u).forEach((function(t){var o=u[t];if("object"!==vn(o)||!o||"animationName"===t&&o._keyframe||function(e){return"object"===vn(e)&&e&&("_skip_check_"in e||Zo in e)}(o)){var d,f=function(e,t){var r=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),o=t;to[e]||"number"!=typeof o||0===o||(o="".concat(o,"px")),"animationName"===e&&null!=t&&t._keyframe&&(n(t),o=t.getName(l)),p+="".concat(r,":").concat(o,";")},h=null!==(d=null==o?void 0:o.value)&&void 0!==d?d:o;"object"===vn(o)&&null!=o&&o[Zo]&&Array.isArray(h)?h.forEach((function(e){f(t,e)})):f(t,h)}else{var v=!1,g=t.trim(),y=!1;(a||i)&&l?g.startsWith("@")?v=!0:g=function(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(o).concat(r.slice(a.length))].concat(zn(n.slice(1))).join(" ")})).join(",")}(t,l,s):!a||l||"&"!==g&&""!==g||(g="",y=!0);var b=Sr(e(o,r,{root:y,injectHash:v,parentSelectors:[].concat(zn(c),[g])}),2),x=b[0],w=b[1];m=wn(wn({},m),w),p+="".concat(g).concat(x)}}))}})),a){if(u&&(void 0===Ar&&(Ar=zr("@layer ".concat(Dr," { .").concat(Dr,' { content: "').concat(Tr,'"!important; } }'),(function(e){e.className=Dr}))),Ar)){var v=u.split(","),g=v[v.length-1].trim();p="@layer ".concat(g," {").concat(p,"}"),v.length>1&&(p="@layer ".concat(u,"{%%%:%}").concat(p))}}else p="{".concat(p,"}");return[p,m]};function na(){return null}function ra(e,t){var n=e.token,r=e.path,o=e.hashId,a=e.layer,i=e.nonce,c=e.clientOnly,u=e.order,s=void 0===u?0:u,d=l.useContext(ar),f=d.autoClear,p=(d.mock,d.defaultCache),m=d.hashPriority,h=d.container,v=d.ssrInline,g=d.transformers,y=d.linters,b=d.cache,x=n._tokenKey,w=[x].concat(zn(r)),S=Jo,C=Gr("style",w,(function(){var e=w.join("|");if(Yo(e)){var n=Sr(Qo(e),2),i=n[0],l=n[1];if(i)return[i,x,l,{},c,s]}var u=t(),d=Sr(ta(u,{hashId:o,hashPriority:m,layer:a,path:r.join("-"),transformers:g,linters:y}),2),f=d[0],p=d[1],h=ea(f),v=function(e,t){return An("".concat(e.join("%")).concat(t))}(w,h);return[h,x,v,p,c,s]}),(function(e,t){var n=Sr(e,3)[2];(t||f)&&Jo&&gr(n,{mark:tr})}),(function(e){var t=Sr(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(S&&n!==qo){var a={mark:tr,prepend:"queue",attachTo:h,priority:s},c="function"==typeof i?i():i;c&&(a.csp={nonce:c});var l=yr(n,r,a);l[nr]=b.instanceId,l.setAttribute(er,x),Object.keys(o).forEach((function(e){yr(ea(o[e]),"_effect-".concat(e),a)}))}})),E=Sr(C,3),k=E[0],O=E[1],I=E[2];return function(e){var t,n;v&&!S&&p?t=l.createElement("style",eo({},(bn(n={},er,O),bn(n,tr,I),n),{dangerouslySetInnerHTML:{__html:k}})):t=l.createElement(na,null);return l.createElement(l.Fragment,null,t,e)}}var oa=function(){function e(t,n){Yn(this,e),bn(this,"name",void 0),bn(this,"style",void 0),bn(this,"_keyframe",!0),this.name=t,this.style=n}return Jn(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}(),aa=oa;function ia(e){return e.notSplit=!0,e}ia(["borderTop","borderBottom"]),ia(["borderTop"]),ia(["borderBottom"]),ia(["borderLeft","borderRight"]),ia(["borderLeft"]),ia(["borderRight"]);var ca=(0,(l=a("8SyCD")).createContext)({});function la(e){return br(e)||_n(e)||Dn(e)||wr()}function ua(e,t){for(var n=e,r=0;r3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!ua(e,t.slice(0,-1))?e:sa(e,t,n,r)}function fa(e){return Array.isArray(e)?[]:{}}var pa="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function ma(){for(var e=arguments.length,t=new Array(e),n=0;n1)&&(e=1),e}function za(e){return e<=1?"".concat(100*Number(e),"%"):e}function Aa(e){return 1===e.length?"0"+e:String(e)}function La(e,t,n){e=_a(e,255),t=_a(t,255),n=_a(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,c=(r+o)/2;if(r===o)i=0,a=0;else{var l=r-o;switch(i=c>.5?l/(2-r-o):l/(r+o),r){case e:a=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Fa(e,t,n){var r,o,a;if(e=_a(e,360),t=_a(t,100),n=_a(n,100),0===t)o=n,a=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,c=2*n-i;r=Ba(c,i,e+1/3),o=Ba(c,i,e),a=Ba(c,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}function Ha(e,t,n){e=_a(e,255),t=_a(t,255),n=_a(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,c=r-o,l=0===r?0:c/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/c+(t>16,g:(65280&e)>>8,b:255&e}}var $a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ya(e){var t,n,r,o={r:0,g:0,b:0},a=1,i=null,c=null,l=null,u=!1,s=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if($a[e])e=$a[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=ei.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=ei.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=ei.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=ei.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=ei.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=ei.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=ei.hex8.exec(e),n?{r:Xa(n[1]),g:Xa(n[2]),b:Xa(n[3]),a:Ga(n[4]),format:t?"name":"hex8"}:(n=ei.hex6.exec(e),n?{r:Xa(n[1]),g:Xa(n[2]),b:Xa(n[3]),format:t?"name":"hex"}:(n=ei.hex4.exec(e),n?{r:Xa(n[1]+n[1]),g:Xa(n[2]+n[2]),b:Xa(n[3]+n[3]),a:Ga(n[4]+n[4]),format:t?"name":"hex8"}:(n=ei.hex3.exec(e),!!n&&{r:Xa(n[1]+n[1]),g:Xa(n[2]+n[2]),b:Xa(n[3]+n[3]),format:t?"name":"hex"})))))))))}(e)),"object"==typeof e&&(ti(e.r)&&ti(e.g)&&ti(e.b)?(t=e.r,n=e.g,r=e.b,o={r:255*_a(t,255),g:255*_a(n,255),b:255*_a(r,255)},u=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):ti(e.h)&&ti(e.s)&&ti(e.v)?(i=za(e.s),c=za(e.v),o=Wa(e.h,i,c),u=!0,s="hsv"):ti(e.h)&&ti(e.s)&&ti(e.l)&&(i=za(e.s),l=za(e.l),o=Fa(e.h,i,l),u=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(a=e.a)),a=Ta(a),{ok:u,format:e.format||s,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:a}}var Qa="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),Ja="[\\s|\\(]+(".concat(Qa,")[,|\\s]+(").concat(Qa,")[,|\\s]+(").concat(Qa,")\\s*\\)?"),Za="[\\s|\\(]+(".concat(Qa,")[,|\\s]+(").concat(Qa,")[,|\\s]+(").concat(Qa,")[,|\\s]+(").concat(Qa,")\\s*\\)?"),ei={CSS_UNIT:new RegExp(Qa),rgb:new RegExp("rgb"+Ja),rgba:new RegExp("rgba"+Za),hsl:new RegExp("hsl"+Ja),hsla:new RegExp("hsla"+Za),hsv:new RegExp("hsv"+Ja),hsva:new RegExp("hsva"+Za),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function ti(e){return Boolean(ei.CSS_UNIT.exec(String(e)))}var ni=2,ri=.16,oi=.05,ai=.05,ii=.15,ci=5,li=4,ui=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function si(e){var t=Ha(e.r,e.g,e.b);return{h:360*t.h,s:t.s,v:t.v}}function di(e){var t=e.r,n=e.g,r=e.b;return"#".concat(Va(t,n,r,!1))}function fi(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-ni*t:Math.round(e.h)+ni*t:n?Math.round(e.h)+ni*t:Math.round(e.h)-ni*t)<0?r+=360:r>=360&&(r-=360),r}function pi(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-ri*t:t===li?e.s+ri:e.s+oi*t)>1&&(r=1),n&&t===ci&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function mi(e,t,n){var r;return(r=n?e.v+ai*t:e.v-ii*t)>1&&(r=1),Number(r.toFixed(2))}function hi(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=Ya(e),o=ci;o>0;o-=1){var a=si(r),i=di(Ya({h:fi(a,o,!0),s:pi(a,o,!0),v:mi(a,o,!0)}));n.push(i)}n.push(di(r));for(var c=1;c<=li;c+=1){var l=si(r),u=di(Ya({h:fi(l,c),s:pi(l,c),v:mi(l,c)}));n.push(u)}return"dark"===t.theme?ui.map((function(e){var r,o,a,i=e.index,c=e.opacity;return di((r=Ya(t.backgroundColor||"#141414"),o=Ya(n[i]),a=100*c/100,{r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b}))})):n}var vi={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},gi={},yi={};Object.keys(vi).forEach((function(e){gi[e]=hi(vi[e]),gi[e].primary=gi[e][5],yi[e]=hi(vi[e],{theme:"dark",backgroundColor:"#141414"}),yi[e].primary=yi[e][5]}));gi.red,gi.volcano;var bi=gi.gold,xi=(gi.orange,gi.yellow,gi.lime,gi.green,gi.cyan,gi.blue),wi=(gi.geekblue,gi.purple,gi.magenta,gi.grey,gi.grey,function(e){var t=e.controlHeight;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}});function Si(e){var t=e.sizeUnit,n=e.sizeStep;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}var Ci={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Ei=Object.assign(Object.assign({},Ci),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),ki=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=qa(t)),this.originalInput=t;var o=Ya(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=Ta(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=Ha(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=Ha(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=La(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=La(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),Va(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),Ua(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*_a(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*_a(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+Va(this.r,this.g,this.b,!1),t=0,n=Object.entries($a);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Da(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Da(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Da(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Da(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),a=n/100;return new e({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,a=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,a=n.v,i=[],c=1/t;t--;)i.push(new e({h:r,s:o,v:a})),a=(a+c)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],a=360/t,i=1;i=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function Ii(e){var t=e.motionUnit,n=e.motionBase,r=e.borderRadius,o=e.lineWidth;return Object.assign({motionDurationFast:"".concat((n+t).toFixed(1),"s"),motionDurationMid:"".concat((n+2*t).toFixed(1),"s"),motionDurationSlow:"".concat((n+3*t).toFixed(1),"s"),lineWidthBold:o+1},Oi(r))}var Pi=function(e,t){return new ki(e).setAlpha(t).toRgbString()},ji=function(e,t){return new ki(e).darken(t).toHexString()},Ni=function(e){var t=hi(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Ri=function(e,t){var n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Pi(r,.88),colorTextSecondary:Pi(r,.65),colorTextTertiary:Pi(r,.45),colorTextQuaternary:Pi(r,.25),colorFill:Pi(r,.15),colorFillSecondary:Pi(r,.06),colorFillTertiary:Pi(r,.04),colorFillQuaternary:Pi(r,.02),colorBgLayout:ji(n,4),colorBgContainer:ji(n,0),colorBgElevated:ji(n,0),colorBgSpotlight:Pi(r,.85),colorBgBlur:"transparent",colorBorder:ji(n,15),colorBorderSecondary:ji(n,6)}};function Mi(e){var t=new Array(10).fill(null).map((function(t,n){var r=n-1,o=e*Math.pow(2.71828,r/5),a=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(a/2)}));return t[1]=e,t.map((function(e){return{size:e,lineHeight:(e+8)/e}}))}var _i=function(e){var t=Mi(e),n=t.map((function(e){return e.size})),r=t.map((function(e){return e.lineHeight}));return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};var Di=Ir((function(e){var t,n,r,o,a,i,c,l,u,s,d,f,p,m,h,v,g,y,b=Object.keys(Ci).map((function(t){var n=hi(e[t]);return new Array(10).fill(1).reduce((function(e,r,o){return e["".concat(t,"-").concat(o+1)]=n[o],e["".concat(t).concat(o+1)]=n[o],e}),{})})).reduce((function(e,t){return e=Object.assign(Object.assign({},e),t)}),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),b),(t=e,r=(n={generateColorPalettes:Ni,generateNeutralColorPalettes:Ri}).generateColorPalettes,o=n.generateNeutralColorPalettes,a=t.colorSuccess,i=t.colorWarning,c=t.colorError,l=t.colorInfo,u=t.colorPrimary,s=t.colorBgBase,d=t.colorTextBase,f=r(u),p=r(a),m=r(i),h=r(c),v=r(l),g=o(s,d),y=r(t.colorLink||t.colorInfo),Object.assign(Object.assign({},g),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new ki("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}))),_i(e.fontSize)),Si(e)),wi(e)),Ii(e))})),Ti={token:Ei,override:{override:Ei},hashed:!0},zi=n(l).createContext(Ti),Ai=(l=a("8SyCD"),"anticon"),Li=l.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")},iconPrefixCls:Ai}),Bi=(Li.Consumer,"-ant-".concat(Date.now(),"-").concat(Math.random()));function Fi(e,t){var n=function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=function(e,t){var o=new ki(e),a=hi(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=a[1],n["".concat(t,"-color-hover")]=a[4],n["".concat(t,"-color-active")]=a[6],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=a[0],n["".concat(t,"-color-deprecated-border")]=a[2]};if(t.primaryColor){o(t.primaryColor,"primary");var a=new ki(t.primaryColor),i=hi(a.toRgbString());i.forEach((function(e,t){n["primary-".concat(t+1)]=e})),n["primary-color-deprecated-l-35"]=r(a,(function(e){return e.lighten(35)})),n["primary-color-deprecated-l-20"]=r(a,(function(e){return e.lighten(20)})),n["primary-color-deprecated-t-20"]=r(a,(function(e){return e.tint(20)})),n["primary-color-deprecated-t-50"]=r(a,(function(e){return e.tint(50)})),n["primary-color-deprecated-f-12"]=r(a,(function(e){return e.setAlpha(.12*e.getAlpha())}));var c=new ki(i[0]);n["primary-color-active-deprecated-f-30"]=r(c,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(c,(function(e){return e.darken(2)}))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var l=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));return"\n :root {\n ".concat(l.join("\n"),"\n }\n ").trim()}(e,t);ir()&&yr(n,"".concat(Bi,"-dynamic-theme"))}var Hi=(l=a("8SyCD")).createContext(!1),Wi=function(e){var t=e.children,n=e.disabled,r=l.useContext(Hi);return l.createElement(Hi.Provider,{value:null!=n?n:r},t)},Vi=Hi,Ui=(l=a("8SyCD"),(l=a("8SyCD")).createContext(void 0)),Ki=function(e){var t=e.children,n=e.size,r=l.useContext(Ui);return l.createElement(Ui.Provider,{value:n||r},t)},Gi=Ui;var Xi=function(){return{componentDisabled:(0,l.useContext)(Vi),componentSize:(0,l.useContext)(Gi)}};function qi(e,t){var n=e||{},r=!1!==n.inherit&&t?t:Ti;return En((function(){if(!e)return t;var o=Object.assign({},r.components);return Object.keys(e.components||{}).forEach((function(t){o[t]=Object.assign(Object.assign({},o[t]),e.components[t])})),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:o})}),[n,r],(function(e,t){return e.some((function(e,n){var r=t[n];return!$n(e,r,!0)}))}))}l=a("8SyCD");function $i(e){return e instanceof HTMLElement||e instanceof SVGElement}function Yi(e){return $i(e)?e:e instanceof n(l).Component?n(u).findDOMNode(e):null}l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD");var Qi=["children"],Ji=l.createContext({});function Zi(e){var t=e.children,n=Bn(e,Qi);return l.createElement(Ji.Provider,{value:n},t)}function ec(e,t){return ec=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ec(e,t)}function tc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ec(e,t)}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nc(e)}function rc(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function oc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ac(e,t){if(t&&("object"===vn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return oc(e)}function ic(e){var t=rc();return function(){var n,r=nc(e);if(t){var o=nc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ac(this,n)}}var cc=function(e){tc(n,e);var t=ic(n);function n(){return Yn(this,n),t.apply(this,arguments)}return Jn(n,[{key:"render",value:function(){return this.props.children}}]),n}((l=a("8SyCD")).Component),lc=cc;l=a("8SyCD");function uc(e){var t=l.useRef(!1),n=Sr(l.useState(e),2),r=n[0],o=n[1];return l.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[r,function(e,n){n&&t.current||o(e)}]}l=a("8SyCD"),l=a("8SyCD");var sc="none",dc="appear",fc="enter",pc="leave",mc="none",hc="prepare",vc="start",gc="active",yc="end",bc="prepared";l=a("8SyCD"),l=a("8SyCD");function xc(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var wc,Sc,Cc,Ec=(wc=ir(),Sc="undefined"!=typeof window?window:{},Cc={animationend:xc("Animation","AnimationEnd"),transitionend:xc("Transition","TransitionEnd")},wc&&("AnimationEvent"in Sc||delete Cc.animationend.animation,"TransitionEvent"in Sc||delete Cc.transitionend.transition),Cc),kc={};if(ir()){var Oc=document.createElement("div");kc=Oc.style}var Ic={};function Pc(e){if(Ic[e])return Ic[e];var t=Ec[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:1),t};Wc.cancel=function(e){var t=Fc.get(e);return Hc(t),Lc(t)};var Vc=Wc,Uc=(l=a("8SyCD"),function(){var e=function(){Vc.cancel(t.current)},t=l.useRef(null);return l.useEffect((function(){return function(){e()}}),[]),[function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;e();var a=Vc((function(){o<=1?r({isCanceled:function(){return a!==t.current}}):n(r,o-1)}));t.current=a},e]}),Kc=[hc,vc,gc,yc],Gc=[hc,bc],Xc=!1,qc=!0;function $c(e){return e===gc||e===yc}var Yc=function(e,t,n){var r=Sr(uc(mc),2),o=r[0],a=r[1],i=Sr(Uc(),2),c=i[0],u=i[1],s=t?Gc:Kc;return zc((function(){if(o!==mc&&o!==yc){var e=s.indexOf(o),t=s[e+1],r=n(o);r===Xc?a(t,!0):t&&c((function(e){var n=function(){e.isCanceled()||a(t,!0)};!0===r?n():Promise.resolve(r).then(n)}))}}),[e,o]),l.useEffect((function(){return function(){u()}}),[]),[function(){a(hc,!0)},o]};function Qc(e,t,n,r){var o=function(){return n()},a=function(){D(sc,!0),A(null,!0)},i=function(e){var t=o();if(!e||e.deadline||e.target===t){var n,r=F.current;_===dc&&r?n=null==k?void 0:k(t,e):_===fc&&r?n=null==O?void 0:O(t,e):_===pc&&r&&(n=null==I?void 0:I(t,e)),_!==sc&&r&&!1!==n&&a()}},c=r.motionEnter,u=void 0===c||c,s=r.motionAppear,d=void 0===s||s,f=r.motionLeave,p=void 0===f||f,m=r.motionDeadline,h=r.motionLeaveImmediately,v=r.onAppearPrepare,g=r.onEnterPrepare,y=r.onLeavePrepare,b=r.onAppearStart,x=r.onEnterStart,w=r.onLeaveStart,S=r.onAppearActive,C=r.onEnterActive,E=r.onLeaveActive,k=r.onAppearEnd,O=r.onEnterEnd,I=r.onLeaveEnd,P=r.onVisibleChanged,j=Sr(uc(),2),N=j[0],R=j[1],M=Sr(uc(sc),2),_=M[0],D=M[1],T=Sr(uc(null),2),z=T[0],A=T[1],L=(0,l.useRef)(!1),B=(0,l.useRef)(null),F=(0,l.useRef)(!1),H=Sr(Tc(i),1)[0],W=function(e){var t,n,r;switch(e){case dc:return bn(t={},hc,v),bn(t,vc,b),bn(t,gc,S),t;case fc:return bn(n={},hc,g),bn(n,vc,x),bn(n,gc,C),n;case pc:return bn(r={},hc,y),bn(r,vc,w),bn(r,gc,E),r;default:return{}}},V=l.useMemo((function(){return W(_)}),[_]),U=Sr(Yc(_,!e,(function(e){if(e===hc){var t=V[hc];return t?t(o()):Xc}var n;G in V&&A((null===(n=V[G])||void 0===n?void 0:n.call(V,o(),null))||null);return G===gc&&(H(o()),m>0&&(clearTimeout(B.current),B.current=setTimeout((function(){i({deadline:!0})}),m))),G===bc&&a(),qc})),2),K=U[0],G=U[1],X=$c(G);F.current=X,zc((function(){R(t);var n,r=L.current;L.current=!0,!r&&t&&d&&(n=dc),r&&t&&u&&(n=fc),(r&&!t&&p||!r&&h&&!t&&p)&&(n=pc);var o=W(n);n&&(e||o[hc])?(D(n),K()):D(sc)}),[t]),(0,l.useEffect)((function(){(_===dc&&!d||_===fc&&!u||_===pc&&!p)&&D(sc)}),[d,u,p]),(0,l.useEffect)((function(){return function(){L.current=!1,clearTimeout(B.current)}}),[]);var q=l.useRef(!1);(0,l.useEffect)((function(){N&&(q.current=!0),void 0!==N&&_===sc&&((q.current||N)&&(null==P||P(N)),q.current=!0)}),[N,_]);var $=z;return V[hc]&&G===vc&&($=wn({transition:"none"},$)),[_,G,$,null!=N?N:t]}var Jc=function(e){var t=e;"object"===vn(e)&&(t=e.transitionSupport);var r=l.forwardRef((function(e,r){var o=e.visible,a=void 0===o||o,i=e.removeOnLeave,c=void 0===i||i,u=e.forceRender,s=e.children,d=e.motionName,f=e.leavedClassName,p=e.eventProps,m=function(e,n){return!(!e.motionName||!t||!1===n)}(e,l.useContext(Ji).motion),h=(0,l.useRef)(),v=(0,l.useRef)(),g=Sr(Qc(m,a,(function(){try{return h.current instanceof HTMLElement?h.current:Yi(v.current)}catch(e){return null}}),e),4),y=g[0],b=g[1],x=g[2],w=g[3],S=l.useRef(w);w&&(S.current=!0);var C,E=l.useCallback((function(e){h.current=e,kn(r,e)}),[r]),k=wn(wn({},p),{},{visible:a});if(s)if(y===sc)C=w?s(wn({},k),E):!c&&S.current&&f?s(wn(wn({},k),{},{className:f}),E):u||!c&&!f?s(wn(wn({},k),{},{style:{display:"none"}}),E):null;else{var O,I;b===hc?I="prepare":$c(b)?I="active":b===vc&&(I="start");var P=Dc(d,"".concat(y,"-").concat(I));C=s(wn(wn({},k),{},{className:n(hn)(Dc(d,y),(O={},bn(O,P,P&&I),bn(O,d,"string"==typeof d),O)),style:x}),E)}else C=null;l.isValidElement(C)&&Pn(C)&&(C.ref||(C=l.cloneElement(C,{ref:E})));return l.createElement(lc,{ref:v},C)}));return r.displayName="CSSMotion",r}(Rc),Zc=(l=a("8SyCD"),"add"),el="keep",tl="remove",nl="removed";function rl(e){var t;return wn(wn({},t=e&&"object"===vn(e)&&"key"in e?e:{key:e}),{},{key:String(t.key)})}function ol(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(rl)}function al(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,a=ol(e),i=ol(t);a.forEach((function(e){for(var t=!1,a=r;a1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==tl}))).forEach((function(t){t.key===e&&(t.status=el)}))})),n}var il=["component","children","onVisibleChanged","onAllRemoved"],cl=["status"],ll=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Jc,n=function(e){tc(r,e);var n=ic(r);function r(){var e;Yn(this,r);for(var t=arguments.length,o=new Array(t),a=0;a=0&&e<=255}e(fl,"default",(function(){return vl}),(function(e){return vl=e}));var ml=function(e,t){var n=new ki(e).toRgb(),r=n.r,o=n.g,a=n.b;if(n.a<1)return e;for(var i=new ki(t).toRgb(),c=i.r,l=i.g,u=i.b,s=.01;s<=1;s+=.01){var d=Math.round((r-c*(1-s))/s),f=Math.round((o-l*(1-s))/s),p=Math.round((a-u*(1-s))/s);if(pl(d)&&pl(f)&&pl(p))return new ki({r:d,g:f,b:p,a:Math.round(100*s)/100}).toRgbString()}return new ki({r:r,g:o,b:a,a:1}).toRgbString()},hl=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},Pl=function(e){var t;return{a:(t={color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:"color ".concat(e.motionDurationSlow),"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}},I(t,"&:active,\n &:hover",{textDecoration:e.linkHoverDecoration,outline:0}),I(t,"&:focus",{textDecoration:e.linkFocusDecoration,outline:0}),I(t,"&[disabled]",{color:e.colorTextDisabled,cursor:"not-allowed"}),t)}},jl=function(e,t){var n=e.fontFamily,r=e.fontSize,o='[class^="'.concat(t,'"], [class*=" ').concat(t,'"]');return I({},o,I({fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},o,{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}))},Nl=function(e){return{outline:"".concat(e.lineWidthFocus,"px solid ").concat(e.colorPrimaryBorder),outlineOffset:1,transition:"outline-offset 0s, outline 0s"}},Rl=function(e){return{"&:focus-visible":Object.assign({},Nl(e))}},Ml=function(e,t){var n=y((0,sl.default)(),2);return ra({theme:n[0],token:n[1],hashId:"",path:["ant-design-icons",e],nonce:function(){return null==t?void 0:t.nonce}},(function(){return[I({},".".concat(e),Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),I({},".".concat(e," .").concat(e,"-icon"),{display:"block"})))]}))},_l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&(Ee=l.createElement(ya.Provider,{value:ke},Ee)),c&&(Ee=l.createElement(Ma,{locale:c,_ANT_MARK__:"internalMark"},Ee)),(ge||ye)&&(Ee=l.createElement(ca.Provider,{value:Ce},Ee)),u&&(Ee=l.createElement(Ki,{size:u},Ee)),Ee=l.createElement(xl,null,Ee);var Oe=l.useMemo((function(){var e=be||{},t=e.algorithm,n=e.token,r=e.components,o=_l(e,["algorithm","token","components"]),a=t&&(!Array.isArray(t)||t.length>0)?Ir(t):Di,i={};Object.entries(r||{}).forEach((function(e){var t=y(e,2),n=t[0],r=t[1],o=Object.assign({},r);"algorithm"in o&&(!0===o.algorithm?o.theme=a:(Array.isArray(o.algorithm)||"function"==typeof o.algorithm)&&(o.theme=Ir(o.algorithm)),delete o.algorithm),i[n]=o}));var c=Object.assign(Object.assign({},Ei),n);return Object.assign(Object.assign({},o),{theme:a,token:c,components:i,override:Object.assign({override:c},i)})}),[be]);return x&&(Ee=l.createElement(zi.Provider,{value:Oe},Ee)),Se.warning&&(Ee=l.createElement(va.Provider,{value:Se.warning},Ee)),void 0!==w&&(Ee=l.createElement(Wi,{disabled:w},Ee)),l.createElement(Li.Provider,{value:Se},Ee)},Wl=function(e){var t=l.useContext(Li),n=l.useContext(Na);return l.createElement(Hl,Object.assign({parentContext:t,legacyLocale:n},e))};Wl.ConfigContext=Li,Wl.SizeContext=Gi,Wl.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(wl=t),void 0!==n&&(Sl=n),r&&(!function(e){return Object.keys(e).some((function(e){return e.endsWith("Color")}))}(r)?Cl=r:Fi(Ll(),r))},Wl.useConfig=Xi,Object.defineProperty(Wl,"SizeContext",{get:function(){return Gi}});var Vl=Wl,Ul=(l=a("8SyCD")).isValidElement;function Kl(e){return e&&Ul(e)&&e.type===l.Fragment}function Gl(e,t){return function(e,t,n){return Ul(e)?l.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}(e,e,t)}l=a("8SyCD"),l=a("8SyCD");function Xl(e){var t=l.useRef();t.current=e;var n=l.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o3&&void 0!==arguments[3]?arguments[3]:{},o=Array.isArray(e)?e:[e,e],a=y(o,1)[0],i=o.join("-");return function(e){var o=y((0,sl.default)(),3),c=o[0],u=o[1],s=o[2],d=(0,l.useContext)(Li),f=d.getPrefixCls,p=d.iconPrefixCls,m=d.csp,h=f(),v={theme:c,token:u,hashId:s,nonce:function(){return null==m?void 0:m.nonce},clientOnly:r.clientOnly,order:r.order||-999};return ra(Object.assign(Object.assign({},v),{clientOnly:!1,path:["Shared",h]}),(function(){return[{"&":Pl(u)}]})),Ml(p,m),[ra(Object.assign(Object.assign({},v),{path:[i,e,p]}),(function(){var o=tu(u),i=o.token,c=o.flush,l=Object.assign({},u[a]);r.deprecatedTokens&&r.deprecatedTokens.forEach((function(e){var t,n=y(e,2),r=n[0],o=n[1];((null==l?void 0:l[r])||(null==l?void 0:l[o]))&&(null!==(t=l[o])&&void 0!==t||(l[o]=null==l?void 0:l[r]))}));var d="function"==typeof n?n(Jl(i,null!=l?l:{})):n,f=Object.assign(Object.assign({},d),l),m=Jl(i,{componentCls:".".concat(e),prefixCls:e,iconCls:".".concat(p),antCls:".".concat(h)},f),v=t(m,{hashId:s,prefixCls:e,rootPrefixCls:h,iconPrefixCls:p,overrideComponentToken:l});return c(a,f),[!1===r.resetStyle?null:jl(u,e),v]})),s]}}var ru=function(e,t,n,r){var o=nu(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls;return o(t),null}},ou=function(e){var t=e.componentCls,n=e.colorPrimary;return I({},t,{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:"var(--wave-color, ".concat(n,")"),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s ".concat(e.motionEaseOutCirc),"opacity 2s ".concat(e.motionEaseOutCirc)].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow 0.3s ".concat(e.motionEaseInOut),"opacity 0.35s ".concat(e.motionEaseInOut)].join(",")}}})},au=nu("Wave",(function(e){return[ou(e)]}));l=a("8SyCD");function iu(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */var e=function(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]},t=function(e,t,n,o){var a=t&&t.prototype instanceof r?t:r,i=Object.create(a.prototype),c=new d(o||[]);return g(i,"_invoke",{value:l(e,n,c)}),i},n=function(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}},r=function(){},o=function(){},a=function(){},i=function(t){["next","throw","return"].forEach((function(n){e(t,n,(function(e){return this._invoke(n,e)}))}))},c=function(e,t){function r(o,a,i,c){var l=n(e[o],e,a);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==vn(s)&&v.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(s).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}var o;g(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}})},l=function(e,t,r){var o=S;return function(a,i){if(o===E)throw new Error("Generator is already running");if(o===k){if("throw"===a)throw i;return{value:p,done:!0}}for(r.method=a,r.arg=i;;){var c=r.delegate;if(c){var l=R(c,r);if(l){if(l===O)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===S)throw o=k,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=E;var u=n(e,t,r);if("normal"===u.type){if(o=r.done?k:C,u.arg===O)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=k,r.method="throw",r.arg=u.arg)}}},u=function(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)},s=function(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t},d=function(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)},f=function(e){if(e||""===e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var i=v.call(o,"catchLoc"),c=v.call(o,"finallyLoc");if(i&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),s(n),O}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;s(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:f(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=p),O}},m}function cu(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function lu(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){cu(a,r,o,i,c,"next",e)}function c(e){cu(a,r,o,i,c,"throw",e)}i(void 0)}))}}var uu,su=wn({},u),du=su.version,fu=su.render,pu=su.unmountComponentAtNode;try{Number((du||"").split(".")[0])>=18&&(uu=su.createRoot)}catch(e){}function mu(e){var t=su.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===vn(t)&&(t.usingClientEntryPoint=e)}var hu="__rc_react_root__";function vu(e,t){uu?function(e,t){mu(!0);var n=t[hu]||uu(t);mu(!1),n.render(e),t[hu]=n}(e,t):function(e,t){fu(e,t)}(e,t)}function gu(e){return yu.apply(this,arguments)}function yu(){return(yu=lu(iu().mark((function e(t){return iu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[hu])||void 0===e||e.unmount(),delete t[hu]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function bu(e){pu(e)}function xu(e){return wu.apply(this,arguments)}function wu(){return(wu=lu(iu().mark((function e(t){return iu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===uu){e.next=2;break}return e.abrupt("return",gu(t));case 2:bu(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}l=a("8SyCD");function Su(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}var Cu="ant-wave-target";function Eu(e){return Number.isNaN(e)?0:e}var ku=function(e){var t=function(){var e,t,n,r,a=getComputedStyle(o);s((e=getComputedStyle(o),t=e.borderTopColor,n=e.borderColor,r=e.backgroundColor,Su(t)?t:Su(n)?n:Su(r)?r:null));var i="static"===a.position,c=a.borderLeftWidth,l=a.borderTopWidth;v(i?o.offsetLeft:Eu(-parseFloat(c))),x(i?o.offsetTop:Eu(-parseFloat(l))),C(o.offsetWidth),O(o.offsetHeight);var u=a.borderTopLeftRadius,d=a.borderTopRightRadius,f=a.borderBottomLeftRadius,m=a.borderBottomRightRadius;p([u,d,m,f].map((function(e){return Eu(parseFloat(e))})))},r=e.className,o=e.target,a=e.component,i=l.useRef(null),c=y(l.useState(null),2),u=c[0],s=c[1],d=y(l.useState([]),2),f=d[0],p=d[1],m=y(l.useState(0),2),h=m[0],v=m[1],g=y(l.useState(0),2),b=g[0],x=g[1],w=y(l.useState(0),2),S=w[0],C=w[1],E=y(l.useState(0),2),k=E[0],O=E[1],I=y(l.useState(!1),2),P=I[0],j=I[1],N={left:h,top:b,width:S,height:k,borderRadius:f.map((function(e){return"".concat(e,"px")})).join(" ")};if(u&&(N["--wave-color"]=u),l.useEffect((function(){if(o){var e,n=Vc((function(){t(),j(!0)}));return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(o),function(){Vc.cancel(n),null==e||e.disconnect()}}}),[]),!P)return null;var R=("Checkbox"===a||"Radio"===a)&&(null==o?void 0:o.classList.contains(Cu));return l.createElement(ul,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:function(e,t){var n;if(t.deadline||"opacity"===t.propertyName){var r=null===(n=i.current)||void 0===n?void 0:n.parentElement;xu(r).then((function(){null==r||r.remove()}))}return!1}},(function(e){var t=e.className;return l.createElement("div",{ref:i,className:n(hn)(r,{"wave-quick":R},t),style:N})}))},Ou=function(e,t){var n;if("Checkbox"!==t.component||(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked)){var r=document.createElement("div");r.style.position="absolute",r.style.left="0px",r.style.top="0px",null==e||e.insertBefore(r,null==e?void 0:e.firstChild),vu(l.createElement(ku,Object.assign({},t,{target:e})),r)}};function Iu(e,t,n){var r=l.useContext(Li).wave,o=y((0,sl.default)(),3),a=o[1],i=o[2],c=Xl((function(o){var c=e.current;if(!(null==r?void 0:r.disabled)&&c){var l=c.querySelector(".".concat(Cu))||c;((r||{}).showEffect||Ou)(l,{className:t,token:a,component:n,event:o,hashId:i})}})),u=l.useRef();return function(e){Vc.cancel(u.current),u.current=Vc((function(){c(e)}))}}var Pu=function(e){var t=e.children,r=e.disabled,o=e.component,a=(0,l.useContext)(Li).getPrefixCls,i=(0,l.useRef)(null),c=a("wave"),u=y(au(c),2)[1],s=Iu(i,n(hn)(c,u),o);return n(l).useEffect((function(){var e=i.current;if(e&&1===e.nodeType&&!r){var t=function(t){!jn(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||s(t)};return e.addEventListener("click",t,!0),function(){e.removeEventListener("click",t,!0)}}}),[r]),n(l).isValidElement(t)?Gl(t,{ref:Pn(t)?On(t.ref,i):i}):null!=t?t:null},ju=(l=a("8SyCD"),function(e){var t=n(l).useContext(Gi);return n(l).useMemo((function(){return e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t}),[e,t])}),Nu={};e(Nu,"SpaceCompactItemContext",(function(){return Au}),(function(e){return Au=e})),e(Nu,"useCompactItemContext",(function(){return Lu}),(function(e){return Lu=e})),e(Nu,"NoCompactStyle",(function(){return Bu}),(function(e){return Bu=e})),e(Nu,"default",(function(){return Hu}),(function(e){return Hu=e}));l=a("8SyCD");function Ru(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return n(l).Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?r=r.concat(Ru(e)):(0,Cn.isFragment)(e)&&e.props?r=r.concat(Ru(e.props.children,t)):r.push(e))})),r}l=a("8SyCD");var Mu=function(e){return I({},e.componentCls,{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}})},_u=function(e){var t=e.componentCls;return I({},t,I({display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}}},"".concat(t,"-item:empty"),{display:"none"}))},Du=function(e){return I({},e.componentCls,{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}})},Tu=nu("Space",(function(e){var t=Jl(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[_u(t),Du(t),Mu(t)]}),(function(){return{}}),{resetStyle:!1}),zu=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function os(e,t,r){return r?n(l).createElement(e.tag,wn(wn({key:t},rs(e.attrs)),r),(e.children||[]).map((function(n,r){return os(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):n(l).createElement(e.tag,wn({key:t},rs(e.attrs)),(e.children||[]).map((function(n,r){return os(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function as(e){return hi(e)[0]}function is(e){return e?Array.isArray(e)?e:[e]:[]}var cs=["icon","className","onClick","style","primaryColor","secondaryColor"],ls={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var us=function(e){var t,n,r,o,a,i,c,u=e.icon,s=e.className,d=e.onClick,f=e.style,p=e.primaryColor,m=e.secondaryColor,h=Bn(e,cs),v=l.useRef(),g=ls;if(p&&(g={primaryColor:p,secondaryColor:m||as(p)}),t=v,n=(0,l.useContext)(ca),r=n.csp,o=n.prefixCls,a="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",o&&(a=a.replace(/anticon/g,o)),(0,l.useEffect)((function(){var e=ts(t.current);yr(a,"@ant-design-icons",{prepend:!0,csp:r,attachTo:e})}),[]),i=ns(u),c="icon should be icon definiton, but got ".concat(u),qn(i,"[@ant-design/icons] ".concat(c)),!ns(u))return null;var y=u;return y&&"function"==typeof y.icon&&(y=wn(wn({},y),{},{icon:y.icon(g.primaryColor,g.secondaryColor)})),os(y.icon,"svg-".concat(y.name),wn(wn({className:s,onClick:d,style:f,"data-icon":y.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},h),{},{ref:v}))};us.displayName="IconReact",us.getTwoToneColors=function(){return wn({},ls)},us.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;ls.primaryColor=t,ls.secondaryColor=n||as(t),ls.calculated=!!n};var ss=us;function ds(e){var t=Sr(is(e),2),n=t[0],r=t[1];return ss.setTwoToneColors({primaryColor:n,secondaryColor:r})}var fs=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ds(xi.primary);var ps=l.forwardRef((function(e,t){var r,o=e.className,a=e.icon,i=e.spin,c=e.rotate,u=e.tabIndex,s=e.onClick,d=e.twoToneColor,f=Bn(e,fs),p=l.useContext(ca),m=p.prefixCls,h=void 0===m?"anticon":m,v=p.rootClassName,g=n(hn)(v,h,(bn(r={},"".concat(h,"-").concat(a.name),!!a.name),bn(r,"".concat(h,"-spin"),!!i||"loading"===a.name),r),o),y=u;void 0===y&&s&&(y=-1);var b=c?{msTransform:"rotate(".concat(c,"deg)"),transform:"rotate(".concat(c,"deg)")}:void 0,x=Sr(is(d),2),w=x[0],S=x[1];return l.createElement("span",eo({role:"img","aria-label":a.name},f,{ref:t,tabIndex:y,onClick:s,className:g}),l.createElement(ss,{icon:a,primaryColor:w,secondaryColor:S,style:b}))}));ps.displayName="AntdIcon",ps.getTwoToneColor=function(){var e=ss.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},ps.setTwoToneColor=ds;var ms=ps,hs=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:Zu}))},vs=l.forwardRef(hs),gs=(0,(l=a("8SyCD")).forwardRef)((function(e,t){var r=e.prefixCls,o=e.className,a=e.style,i=e.iconClassName,c=n(hn)("".concat(r,"-loading-icon"),o);return n(l).createElement(Ju,{prefixCls:r,className:c,style:a,ref:t},n(l).createElement(vs,{className:i}))})),ys=function(){return{width:0,opacity:0,transform:"scale(0)"}},bs=function(e){return{width:e.scrollWidth,opacity:1,transform:"scale(1)"}},xs=function(e){var t=e.prefixCls,r=e.loading,o=e.existIcon,a=e.className,i=e.style,c=!!r;return o?n(l).createElement(gs,{prefixCls:t,className:a,style:i}):n(l).createElement(ul,{visible:c,motionName:"".concat(t,"-loading-icon-motion"),motionLeave:c,removeOnLeave:!0,onAppearStart:ys,onAppearActive:bs,onEnterStart:ys,onEnterActive:bs,onLeaveStart:bs,onLeaveActive:ys},(function(e,r){var o=e.className,c=e.style;return n(l).createElement(gs,{prefixCls:t,className:a,style:Object.assign(Object.assign({},i),c),ref:r,iconClassName:o})}))},ws=function(e,t){return I({},"> span, > ".concat(e),{"&:not(:last-child)":I({},"&, & > ".concat(e),{"&:not(:disabled)":{borderInlineEndColor:t}}),"&:not(:first-child)":I({},"&, & > ".concat(e),{"&:not(:disabled)":{borderInlineStartColor:t}})})},Ss=function(e){var t,n,r=e.componentCls,o=e.fontSize,a=e.lineWidth,i=e.groupBorderColor,c=e.colorErrorHover;return I({},"".concat(r,"-group"),[(n={position:"relative",display:"inline-flex"},I(n,"> span, > ".concat(r),{"&:not(:last-child)":I({},"&, & > ".concat(r),{borderStartEndRadius:0,borderEndEndRadius:0}),"&:not(:first-child)":I({marginInlineStart:-a},"&, & > ".concat(r),{borderStartStartRadius:0,borderEndStartRadius:0})}),I(n,r,(t={position:"relative",zIndex:1},I(t,"&:hover,\n &:focus,\n &:active",{zIndex:2}),I(t,"&[disabled]",{zIndex:0}),t)),I(n,"".concat(r,"-icon-only"),{fontSize:o}),n),ws("".concat(r,"-primary"),i),ws("".concat(r,"-danger"),c)])},Cs=function(e){var t,n=e.componentCls,r=e.iconCls;return I({},n,(I(t={outline:"none",position:"relative",display:"inline-block",fontWeight:e.fontWeight,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:"".concat(e.lineWidth,"px ").concat(e.lineType," transparent"),cursor:"pointer",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut),userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"}},"".concat(n,"-icon"),{lineHeight:0}),I(t,"> ".concat(r," + span, > span + ").concat(r),{marginInlineStart:e.marginXS}),I(t,"&:not(".concat(n,"-icon-only) > ").concat(n,"-icon"),I({},"&".concat(n,"-loading-icon, &:not(:last-child)"),{marginInlineEnd:e.marginXS})),I(t,"> a",{color:"currentColor"}),I(t,"&:not(:disabled)",Object.assign({},Rl(e))),I(t,"&".concat(n,"-two-chinese-chars::first-letter"),{letterSpacing:"0.34em"}),I(t,"&".concat(n,"-two-chinese-chars > *:not(").concat(r,")"),{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"}),I(t,"&-icon-only".concat(n,"-compact-item"),{flex:"none"}),I(t,"&-compact-item".concat(n,"-primary"),I({},"&:not([disabled]) + ".concat(n,"-compact-item").concat(n,"-primary:not([disabled])"),{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:"calc(100% + ".concat(2*e.lineWidth,"px)"),backgroundColor:e.colorPrimaryHover,content:'""'}})),I(t,"&-compact-vertical-item",I({},"&".concat(n,"-primary"),I({},"&:not([disabled]) + ".concat(n,"-compact-vertical-item").concat(n,"-primary:not([disabled])"),{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:"calc(100% + ".concat(2*e.lineWidth,"px)"),height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}))),t))},Es=function(e,t,n){return I({},"&:not(:disabled):not(".concat(e,"-disabled)"),{"&:hover":t,"&:active":n})},ks=function(e){return{minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}},Os=function(e){return{borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}},Is=function(e,t,n,r,o,a,i,c){return I({},"&".concat(e,"-background-ghost"),Object.assign(Object.assign({color:n||void 0,backgroundColor:t,borderColor:r||void 0,boxShadow:"none"},Es(e,Object.assign({backgroundColor:t},i),Object.assign({backgroundColor:t},c))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:a||void 0}}))},Ps=function(e){return I({},"&:disabled, &".concat(e.componentCls,"-disabled"),Object.assign({},function(e){return{cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}}(e)))},js=function(e){return Object.assign({},Ps(e))},Ns=function(e){return I({},"&:disabled, &".concat(e.componentCls,"-disabled"),{cursor:"not-allowed",color:e.colorTextDisabled})},Rs=function(e){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},js(e)),{backgroundColor:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Es(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),Is(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),I({},"&".concat(e.componentCls,"-dangerous"),Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Es(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Is(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Ps(e))))},Ms=function(e){var t,n=e.componentCls;return I(t={},"".concat(n,"-default"),Rs(e)),I(t,"".concat(n,"-primary"),function(e){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},js(e)),{color:e.primaryColor,backgroundColor:e.colorPrimary,boxShadow:e.primaryShadow}),Es(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),Is(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),I({},"&".concat(e.componentCls,"-dangerous"),Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},Es(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),Is(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Ps(e))))}(e)),I(t,"".concat(n,"-dashed"),function(e){return Object.assign(Object.assign({},Rs(e)),{borderStyle:"dashed"})}(e)),I(t,"".concat(n,"-link"),function(e){return Object.assign(Object.assign(Object.assign({color:e.colorLink},Es(e.componentCls,{color:e.colorLinkHover,backgroundColor:e.linkHoverBg},{color:e.colorLinkActive})),Ns(e)),I({},"&".concat(e.componentCls,"-dangerous"),Object.assign(Object.assign({color:e.colorError},Es(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Ns(e))))}(e)),I(t,"".concat(n,"-text"),function(e){return Object.assign(Object.assign(Object.assign({},Es(e.componentCls,{color:e.colorText,backgroundColor:e.textHoverBg},{color:e.colorText,backgroundColor:e.colorBgTextActive})),Ns(e)),I({},"&".concat(e.componentCls,"-dangerous"),Object.assign(Object.assign({color:e.colorError},Ns(e)),Es(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))))}(e)),I(t,"".concat(n,"-ghost"),Is(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),t},_s=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.componentCls,a=e.controlHeight,i=e.fontSize,c=e.lineHeight,l=e.lineWidth,u=e.borderRadius,s=e.buttonPaddingHorizontal,d=e.iconCls,f=Math.max(0,(a-i*c)/2-l),p="".concat(o,"-icon-only");return[I({},"".concat(o).concat(r),(n={fontSize:i,height:a,padding:"".concat(f,"px ").concat(s,"px"),borderRadius:u},I(n,"&".concat(p),(t={width:a,paddingInlineStart:0,paddingInlineEnd:0},I(t,"&".concat(o,"-round"),{width:"auto"}),I(t,d,{fontSize:e.buttonIconOnlyFontSize}),t)),I(n,"&".concat(o,"-loading"),{opacity:e.opacityLoading,cursor:"default"}),I(n,"".concat(o,"-loading-icon"),{transition:"width ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut,", opacity ").concat(e.motionDurationSlow," ").concat(e.motionEaseInOut)}),n)),I({},"".concat(o).concat(o,"-circle").concat(r),ks(e)),I({},"".concat(o).concat(o,"-round").concat(r),Os(e))]},Ds=function(e){return _s(Jl(e,{fontSize:e.contentFontSize}))},Ts=function(e){var t=Jl(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return _s(t,"".concat(e.componentCls,"-sm"))},zs=function(e){var t=Jl(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return _s(t,"".concat(e.componentCls,"-lg"))},As=function(e){var t=e.componentCls;return I({},t,I({},"&".concat(t,"-block"),{width:"100%"}))},Ls=function(e){return Jl(e,{buttonPaddingHorizontal:e.paddingInline,buttonIconOnlyFontSize:e.onlyIconSize})},Bs=function(e){return{fontWeight:400,defaultShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.controlTmpOutline),primaryShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.controlOutline),dangerShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.colorErrorOutline),primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,contentFontSize:e.fontSize,contentFontSizeSM:e.fontSize,contentFontSizeLG:e.fontSizeLG}},Fs=nu("Button",(function(e){var t=Ls(e);return[Cs(t),Ts(t),Ds(t),zs(t),As(t),Ms(t),Ss(t)]}),Bs);function Hs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},n=e.componentCls,r="".concat(n,"-compact");return I({},r,Object.assign(Object.assign({},function(e,t,n){var r,o=n.focusElCls,a=n.focus,i=n.borderElCls?"> *":"",c=["hover",a?"focus":null,"active"].filter(Boolean).map((function(e){return"&:".concat(e," ").concat(i)})).join(",");return I(r={},"&-item:not(".concat(t,"-last-item)"),{marginInlineEnd:-e.lineWidth}),I(r,"&-item",Object.assign(Object.assign(I({},c,{zIndex:2}),o?I({},"&".concat(o),{zIndex:2}):{}),I({},"&[disabled] ".concat(i),{zIndex:0}))),r}(e,r,t)),function(e,t,n){var r,o=n.borderElCls,a=o?"> ".concat(o):"";return I(r={},"&-item:not(".concat(t,"-first-item):not(").concat(t,"-last-item) ").concat(a),{borderRadius:0}),I(r,"&-item:not(".concat(t,"-last-item)").concat(t,"-first-item"),I({},"& ".concat(a,", &").concat(e,"-sm ").concat(a,", &").concat(e,"-lg ").concat(a),{borderStartEndRadius:0,borderEndEndRadius:0})),I(r,"&-item:not(".concat(t,"-first-item)").concat(t,"-last-item"),I({},"& ".concat(a,", &").concat(e,"-sm ").concat(a,", &").concat(e,"-lg ").concat(a),{borderStartStartRadius:0,borderEndStartRadius:0})),r}(n,r,t)))}function Ws(e){var t,n,r,o="".concat(e.componentCls,"-compact-vertical");return I({},o,Object.assign(Object.assign({},function(e,t){var n;return I(n={},"&-item:not(".concat(t,"-last-item)"),{marginBottom:-e.lineWidth}),I(n,"&-item",{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}),n}(e,o)),(t=e.componentCls,I(r={},"&-item:not(".concat(n=o,"-first-item):not(").concat(n,"-last-item)"),{borderRadius:0}),I(r,"&-item".concat(n,"-first-item:not(").concat(n,"-last-item)"),I({},"&, &".concat(t,"-sm, &").concat(t,"-lg"),{borderEndEndRadius:0,borderEndStartRadius:0})),I(r,"&-item".concat(n,"-last-item:not(").concat(n,"-first-item)"),I({},"&, &".concat(t,"-sm, &").concat(t,"-lg"),{borderStartStartRadius:0,borderStartEndRadius:0})),r)))}var Vs=ru(["Button","compact"],(function(e){var t=Ls(e);return[Hs(t),Ws(t)]}),Bs),Us=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0?e=setTimeout((function(){e=null,q(!0)}),K.delay):q(K.loading),function(){e&&(clearTimeout(e),e=null)}}),[K]),(0,l.useEffect)((function(){if(J&&J.current&&!1!==T){var e=J.current.textContent;Z&&Xu(e)?Y||Q(!0):Y&&Q(!1)}}),[J]);var ee,te=function(t){var n=e.onClick;X||V?t.preventDefault():null==n||n(t)},ne=!1!==T,re=(0,Nu.useCompactItemContext)(L,z),oe=re.compactSize,ae=re.compactItemClassnames,ie={large:"lg",small:"sm",middle:void 0},ce=ju((function(e){var t,n;return null!==(n=null!==(t=null!=m?m:oe)&&void 0!==t?t:U)&&void 0!==n?n:e})),le=ce&&ie[ce]||"",ue=X?"loading":w,se=Sn(M,["navigate"]),de=n(hn)(L,H,(I(ee={},"".concat(L,"-").concat(p),"default"!==p&&p),I(ee,"".concat(L,"-").concat(s),s),I(ee,"".concat(L,"-").concat(le),le),I(ee,"".concat(L,"-icon-only"),!x&&0!==x&&!!ue),I(ee,"".concat(L,"-background-ghost"),C&&!Yu(s)),I(ee,"".concat(L,"-loading"),X),I(ee,"".concat(L,"-two-chinese-chars"),Y&&ne&&!X),I(ee,"".concat(L,"-block"),k),I(ee,"".concat(L,"-dangerous"),!!d),I(ee,"".concat(L,"-rtl"),"rtl"===z),ee),ae,g,b,null==A?void 0:A.className),fe=Object.assign(Object.assign({},null==A?void 0:A.style),R),pe=n(hn)(null==j?void 0:j.icon,null===(r=null==A?void 0:A.classNames)||void 0===r?void 0:r.icon),me=Object.assign(Object.assign({},(null==h?void 0:h.icon)||{}),(null===(o=null==A?void 0:A.styles)||void 0===o?void 0:o.icon)||{}),he=w&&!X?n(l).createElement(Ju,{prefixCls:L,className:pe,style:me},w):n(l).createElement(xs,{existIcon:!!w,prefixCls:L,loading:!!X}),ve=x||0===x?Qu(x,Z&&ne):null;if(void 0!==se.href)return F(n(l).createElement("a",Object.assign({},se,{className:n(hn)(de,I({},"".concat(L,"-disabled"),V)),style:fe,onClick:te,ref:J}),he,ve));var ge=n(l).createElement("button",Object.assign({},M,{type:P,className:de,style:fe,onClick:te,disabled:V,ref:J}),he,ve,ae&&n(l).createElement(Vs,{key:"compact",prefixCls:L}));return Yu(s)||(ge=n(l).createElement(Pu,{component:"Button",disabled:!!X},ge)),F(ge)},Gs=(0,l.forwardRef)(Ks);Gs.Group=Wu.default,Gs.__ANT_BUTTON=!0;var Xs=Gs,qs=mn.default,$s=(l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD"),"RC_FORM_INTERNAL_HOOKS"),Ys=function(){qn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Qs=l.createContext({getFieldValue:Ys,getFieldsValue:Ys,getFieldError:Ys,getFieldWarning:Ys,getFieldsError:Ys,isFieldsTouched:Ys,isFieldTouched:Ys,isFieldValidating:Ys,isFieldsValidating:Ys,resetFields:Ys,setFields:Ys,setFieldValue:Ys,setFieldsValue:Ys,validateFields:Ys,submit:Ys,getInternalHooks:function(){return Ys(),{dispatch:Ys,initEntityValue:Ys,registerField:Ys,useSubscribe:Ys,setInitialValues:Ys,destroyForm:Ys,setCallbacks:Ys,registerWatch:Ys,getFields:Ys,setValidateMessages:Ys,setPreserve:Ys,getInitialValue:Ys}}}),Js=(l=a("8SyCD")).createContext(null);function Zs(e){return null==e?[]:Array.isArray(e)?e:[e]}function ed(e){return e&&!!e._init}C=a("7FyBz");var td,nd,rd={};function od(){throw new Error("setTimeout has not been defined")}function ad(){throw new Error("clearTimeout has not been defined")}function id(e){if(td===setTimeout)return setTimeout(e,0);if((td===od||!td)&&setTimeout)return td=setTimeout,setTimeout(e,0);try{return td(e,0)}catch(t){try{return td.call(null,e,0)}catch(t){return td.call(this,e,0)}}}!function(){try{td="function"==typeof setTimeout?setTimeout:od}catch(e){td=od}try{nd="function"==typeof clearTimeout?clearTimeout:ad}catch(e){nd=ad}}();var cd,ld=[],ud=!1,sd=-1;function dd(){ud&&cd&&(ud=!1,cd.length?ld=cd.concat(ld):sd=-1,ld.length&&fd())}function fd(){if(!ud){var e=id(dd);ud=!0;for(var t=ld.length;t;){for(cd=ld,ld=[];++sd1)for(var n=1;n1?t-1:0),r=1;r=a)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(e){return"[Circular]"}break;default:return e}})):e}function Cd(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function Ed(e,t,n){var r=0,o=e.length;!function a(i){if(i&&i.length)n(i);else{var c=r;r+=1,c()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,Md=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,_d={integer:function(e){return _d.number(e)&&parseInt(e,10)===e},float:function(e){return _d.number(e)&&!_d.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!_d.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(Rd)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(jd)return jd;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=("\n(?:\n(?:"+r+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+n+"|:"+r+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),i=new RegExp("^"+n+"$"),c=new RegExp("^"+o+"$"),l=function(e){return e&&e.exact?a:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")};l.v4=function(e){return e&&e.exact?i:new RegExp(""+t(e)+n+t(e),"g")},l.v6=function(e){return e&&e.exact?c:new RegExp(""+t(e)+o+t(e),"g")};var u=l.v4().source,s=l.v6().source;return jd=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+u+"|"+s+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(Md)}},Dd="enum",Td={required:Nd,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(Sd(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t)Nd(e,t,n,r,o);else{var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?_d[a](t)||r.push(Sd(o.messages.types[a],e.fullField,e.type)):a&&(void 0===t?"undefined":(0,C._)(t))!==e.type&&r.push(Sd(o.messages.types[a],e.fullField,e.type))}},range:function(e,t,n,r,o){var a="number"==typeof e.len,i="number"==typeof e.min,c="number"==typeof e.max,l=t,u=null,s="number"==typeof t,d="string"==typeof t,f=Array.isArray(t);if(s?u="number":d?u="string":f&&(u="array"),!u)return!1;f&&(l=t.length),d&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?l!==e.len&&r.push(Sd(o.messages[u].len,e.fullField,e.len)):i&&!c&&le.max?r.push(Sd(o.messages[u].max,e.fullField,e.max)):i&&c&&(le.max)&&r.push(Sd(o.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[Dd]=Array.isArray(e[Dd])?e[Dd]:[],-1===e[Dd].indexOf(t)&&r.push(Sd(o.messages[Dd],e.fullField,e[Dd].join(", ")))},pattern:function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Sd(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(Sd(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},zd=function(e,t,n,r,o){var a=e.type,i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t,a)&&!e.required)return n();Td.required(e,t,r,i,o,a),Cd(t,a)||Td.type(e,t,r,i,o)}n(i)},Ad={string:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t,"string")&&!e.required)return n();Td.required(e,t,r,a,o,"string"),Cd(t,"string")||(Td.type(e,t,r,a,o),Td.range(e,t,r,a,o),Td.pattern(e,t,r,a,o),!0===e.whitespace&&Td.whitespace(e,t,r,a,o))}n(a)},method:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t)&&!e.required)return n();Td.required(e,t,r,a,o),void 0!==t&&Td.type(e,t,r,a,o)}n(a)},number:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),Cd(t)&&!e.required)return n();Td.required(e,t,r,a,o),void 0!==t&&(Td.type(e,t,r,a,o),Td.range(e,t,r,a,o))}n(a)},boolean:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t)&&!e.required)return n();Td.required(e,t,r,a,o),void 0!==t&&Td.type(e,t,r,a,o)}n(a)},regexp:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t)&&!e.required)return n();Td.required(e,t,r,a,o),Cd(t)||Td.type(e,t,r,a,o)}n(a)},integer:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t)&&!e.required)return n();Td.required(e,t,r,a,o),void 0!==t&&(Td.type(e,t,r,a,o),Td.range(e,t,r,a,o))}n(a)},float:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t)&&!e.required)return n();Td.required(e,t,r,a,o),void 0!==t&&(Td.type(e,t,r,a,o),Td.range(e,t,r,a,o))}n(a)},array:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();Td.required(e,t,r,a,o,"array"),null!=t&&(Td.type(e,t,r,a,o),Td.range(e,t,r,a,o))}n(a)},object:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t)&&!e.required)return n();Td.required(e,t,r,a,o),void 0!==t&&Td.type(e,t,r,a,o)}n(a)},enum:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t)&&!e.required)return n();Td.required(e,t,r,a,o),void 0!==t&&Td.enum(e,t,r,a,o)}n(a)},pattern:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t,"string")&&!e.required)return n();Td.required(e,t,r,a,o),Cd(t,"string")||Td.pattern(e,t,r,a,o)}n(a)},date:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t,"date")&&!e.required)return n();var i;if(Td.required(e,t,r,a,o),!Cd(t,"date"))i=t instanceof Date?t:new Date(t),Td.type(e,i,r,a,o),i&&Td.range(e,i.getTime(),r,a,o)}n(a)},url:zd,hex:zd,email:zd,required:function(e,t,n,r,o){var a=[],i=Array.isArray(t)?"array":void 0===t?"undefined":(0,C._)(t);Td.required(e,t,r,a,o,i),n(a)},any:function(e,t,n,r,o){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Cd(t)&&!e.required)return n();Td.required(e,t,r,a,o)}n(a)}};function Ld(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Bd=Ld(),Fd=function(){var e=function(e){this.rules=null,this._messages=Bd,this.define(e)},t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=Pd(Ld(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var a=t,i=n,c=r;if("function"==typeof i&&(c=i,i={}),!this.rules||0===Object.keys(this.rules).length)return c&&c(null,a),Promise.resolve(a);if(i.messages){var l=this.messages();l===Bd&&(l=Ld()),Pd(l,i.messages),i.messages=l}else i.messages=this.messages();var u={};(i.keys||Object.keys(this.rules)).forEach((function(e){var n=o.rules[e],r=a[e];n.forEach((function(n){var i=n;"function"==typeof i.transform&&(a===t&&(a=hd({},a)),r=a[e]=i.transform(r)),(i="function"==typeof i?{validator:i}:hd({},i)).validator=o.getValidationMethod(i),i.validator&&(i.field=e,i.fullField=i.fullField||e,i.type=o.getType(i),u[e]=u[e]||[],u[e].push({rule:i,value:r,source:a,field:e}))}))}));var s={};return Od(u,i,(function(t,n){var r,o=function(e,t){return hd({},t,{fullField:l.fullField+"."+e,fullFields:l.fullFields?[].concat(l.fullFields,[e]):[e]})},c=function(r){void 0===r&&(r=[]);var c=Array.isArray(r)?r:[r];!i.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==l.message&&(c=[].concat(l.message));var d=c.map(Id(l,a));if(i.first&&d.length)return s[l.field]=1,n(d);if(u){if(l.required&&!t.value)return void 0!==l.message?d=[].concat(l.message).map(Id(l,a)):i.error&&(d=[i.error(l,Sd(i.messages.required,l.field))]),n(d);var f={};l.defaultField&&Object.keys(t.value).map((function(e){f[e]=l.defaultField})),f=hd({},f,t.rule.fields);var p={};Object.keys(f).forEach((function(e){var t=f[e],n=Array.isArray(t)?t:[t];p[e]=n.map(o.bind(null,e))}));var m=new e(p);m.messages(i.messages),t.rule.options&&(t.rule.options.messages=i.messages,t.rule.options.error=i.error),m.validate(t.value,t.rule.options||i,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)},l=t.rule,u=!("object"!==l.type&&"array"!==l.type||"object"!=typeof l.fields&&"object"!=typeof l.defaultField);if(u=u&&(l.required||!l.required&&t.value),l.field=t.field,l.asyncValidator)r=l.asyncValidator(l,t.value,c,t.source,i);else if(l.validator){try{r=l.validator(l,t.value,c,t.source,i)}catch(e){null==console.error||console.error(e),i.suppressValidatorError||setTimeout((function(){throw e}),0),c(e.message)}!0===r?c():!1===r?c("function"==typeof l.message?l.message(l.fullField||l.field):l.message||(l.fullField||l.field)+" fails"):r instanceof Array?c(r):r instanceof Error&&c(r.message)}r&&r.then&&r.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){!function(e){for(var t,n,r=[],o={},i=0;i2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return ef(t,e,n)}))}function ef(e,t){return!(!e||!t)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,n){return e[n]===t})))}function tf(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==vn(e)||"object"!==vn(t))return!1;var n=Object.keys(e),r=Object.keys(t);return zn(new Set([].concat(n,r))).every((function(n){var r=e[n],o=t[n];return"function"==typeof r&&"function"==typeof o||r===o}))}function nf(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===vn(t.target)&&e in t.target?t.target[e]:t}function rf(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],a=t-n;return a>0?[].concat(zn(e.slice(0,n)),[o],zn(e.slice(n,t)),zn(e.slice(t+1,r))):a<0?[].concat(zn(e.slice(0,t)),zn(e.slice(t+1,n+1)),[o],zn(e.slice(n+1,r))):e}var of=["name"],af=[];function cf(e,t,n,r,o,a){return"function"==typeof e?e(t,n,"source"in a?{source:a.source}:{}):r!==o}var lf=function(e){tc(n,e);var t=ic(n);function n(e){var r;(Yn(this,n),bn(oc(r=t.call(this,e)),"state",{resetCount:0}),bn(oc(r),"cancelRegisterFunc",null),bn(oc(r),"mounted",!1),bn(oc(r),"touched",!1),bn(oc(r),"dirty",!1),bn(oc(r),"validatePromise",void 0),bn(oc(r),"prevValidating",void 0),bn(oc(r),"errors",af),bn(oc(r),"warnings",af),bn(oc(r),"cancelRegister",(function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,Qd(o)),r.cancelRegisterFunc=null})),bn(oc(r),"getNamePath",(function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName;return void 0!==t?[].concat(zn(void 0===n?[]:n),zn(t)):[]})),bn(oc(r),"getRules",(function(){var e=r.props,t=e.rules,n=void 0===t?[]:t,o=e.fieldContext;return n.map((function(e){return"function"==typeof e?e(o):e}))})),bn(oc(r),"refresh",(function(){r.mounted&&r.setState((function(e){return{resetCount:e.resetCount+1}}))})),bn(oc(r),"metaCache",null),bn(oc(r),"triggerMetaEvent",(function(e){var t=r.props.onMetaChange;if(t){var n=wn(wn({},r.getMeta()),{},{destroy:e});$n(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null})),bn(oc(r),"onStoreChange",(function(e,t,n){var o=r.props,a=o.shouldUpdate,i=o.dependencies,c=void 0===i?[]:i,l=o.onReset,u=n.store,s=r.getNamePath(),d=r.getValue(e),f=r.getValue(u),p=t&&Zd(t,s);switch("valueUpdate"===n.type&&"external"===n.source&&d!==f&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=af,r.warnings=af,r.triggerMetaEvent()),n.type){case"reset":if(!t||p)return r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=af,r.warnings=af,r.triggerMetaEvent(),null==l||l(),void r.refresh();break;case"remove":if(a)return void r.reRender();break;case"setField":var m=n.data;if(p)return"touched"in m&&(r.touched=m.touched),"validating"in m&&!("originRCField"in m)&&(r.validatePromise=m.validating?Promise.resolve([]):null),"errors"in m&&(r.errors=m.errors||af),"warnings"in m&&(r.warnings=m.warnings||af),r.dirty=!0,r.triggerMetaEvent(),void r.reRender();if("value"in m&&Zd(t,s,!0))return void r.reRender();if(a&&!s.length&&cf(a,e,u,d,f,n))return void r.reRender();break;case"dependenciesUpdate":if(c.map(Qd).some((function(e){return Zd(n.relatedFields,e)})))return void r.reRender();break;default:if(p||(!c.length||s.length||a)&&cf(a,e,u,d,f,n))return void r.reRender()}!0===a&&r.reRender()})),bn(oc(r),"validateRules",(function(e){var t=r.getNamePath(),n=r.getValue(),o=e||{},a=o.triggerName,i=o.validateOnly,c=void 0!==i&&i,l=Promise.resolve().then(lu(iu().mark((function o(){var i,c,u,s,d,f,p;return iu().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(r.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(i=r.props,c=i.validateFirst,u=void 0!==c&&c,s=i.messageVariables,d=i.validateDebounce,f=r.getRules(),a&&(f=f.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||Zs(t).includes(a)}))),!d||!a){o.next=10;break}return o.next=8,new Promise((function(e){setTimeout(e,d)}));case 8:if(r.validatePromise===l){o.next=10;break}return o.abrupt("return",[]);case 10:return(p=qd(t,n,f,e,u,s)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:af;if(r.validatePromise===l){var t;r.validatePromise=null;var n=[],o=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,r=e.errors,a=void 0===r?af:r;t?o.push.apply(o,zn(a)):n.push.apply(n,zn(a))})),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender()}})),o.abrupt("return",p);case 13:case"end":return o.stop()}}),o)}))));return c||(r.validatePromise=l,r.dirty=!0,r.errors=af,r.warnings=af,r.triggerMetaEvent(),r.reRender()),l})),bn(oc(r),"isFieldValidating",(function(){return!!r.validatePromise})),bn(oc(r),"isFieldTouched",(function(){return r.touched})),bn(oc(r),"isFieldDirty",(function(){return!(!r.dirty&&void 0===r.props.initialValue)||void 0!==(0,r.props.fieldContext.getInternalHooks($s).getInitialValue)(r.getNamePath())})),bn(oc(r),"getErrors",(function(){return r.errors})),bn(oc(r),"getWarnings",(function(){return r.warnings})),bn(oc(r),"isListField",(function(){return r.props.isListField})),bn(oc(r),"isList",(function(){return r.props.isList})),bn(oc(r),"isPreserve",(function(){return r.props.preserve})),bn(oc(r),"getMeta",(function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}})),bn(oc(r),"getOnlyChild",(function(e){if("function"==typeof e){var t=r.getMeta();return wn(wn({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=Ru(e);return 1===n.length&&l.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}})),bn(oc(r),"getValue",(function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return ua(e||t(!0),n)})),bn(oc(r),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.trigger,o=t.validateTrigger,a=t.getValueFromEvent,i=t.normalize,c=t.valuePropName,l=t.getValueProps,u=t.fieldContext,s=void 0!==o?o:u.validateTrigger,d=r.getNamePath(),f=u.getInternalHooks,p=u.getFieldsValue,m=f($s).dispatch,h=r.getValue(),v=l||function(e){return bn({},c,e)},g=e[n],y=wn(wn({},e),v(h));return y[n]=function(){var e;r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),o=0;o=0&&t<=n.length?(s.keys=[].concat(zn(s.keys.slice(0,t)),[s.id],zn(s.keys.slice(t))),a([].concat(zn(n.slice(0,t)),[e],zn(n.slice(t))))):(s.keys=[].concat(zn(s.keys),[s.id]),a([].concat(zn(n),[e]))),s.id+=1},remove:function(e){var t=l(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(s.keys=s.keys.filter((function(e,t){return!n.has(t)})),a(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=l();e<0||e>=n.length||t<0||t>=n.length||(s.keys=rf(s.keys,e,t),a(rf(n,e,t)))}}},f=o||[];return Array.isArray(f)||(f=[]),r(f.map((function(e,t){var n=s.keys[t];return void 0===n&&(s.keys[t]=s.id,n=s.keys[t],s.id+=1),{name:t,key:n,isListField:!0}})),u,t)}))))};l=a("8SyCD");function df(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,a){e.forEach((function(e,i){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[i]=e,n>0||(t&&a(r),o(r))}))}))})):Promise.resolve([])}var ff="__@field_split__";function pf(e){return e.map((function(e){return"".concat(vn(e),":").concat(e)})).join(ff)}var mf=function(){function e(){Yn(this,e),bn(this,"kvs",new Map)}return Jn(e,[{key:"set",value:function(e,t){this.kvs.set(pf(e),t)}},{key:"get",value:function(e){return this.kvs.get(pf(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(pf(e))}},{key:"map",value:function(e){return zn(this.kvs.entries()).map((function(t){var n=Sr(t,2),r=n[0],o=n[1],a=r.split(ff);return e({key:a.map((function(e){var t=Sr(e.match(/^([^:]*):(.*)$/),3),n=t[1],r=t[2];return"number"===n?Number(r):r})),value:o})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}(),hf=["name"],vf=Jn((function e(t){var n=this;Yn(this,e),bn(this,"formHooked",!1),bn(this,"forceRootUpdate",void 0),bn(this,"subscribable",!0),bn(this,"store",{}),bn(this,"fieldEntities",[]),bn(this,"initialValues",{}),bn(this,"callbacks",{}),bn(this,"validateMessages",null),bn(this,"preserve",null),bn(this,"lastValidatePromise",null),bn(this,"getForm",(function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}})),bn(this,"getInternalHooks",(function(e){return e===$s?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(qn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),bn(this,"useSubscribe",(function(e){n.subscribable=e})),bn(this,"prevWithoutPreserves",null),bn(this,"setInitialValues",(function(e,t){if(n.initialValues=e||{},t){var r,o=ma(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=da(o,n,ua(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o)}})),bn(this,"destroyForm",(function(){var e=new mf;n.getFieldEntities(!0).forEach((function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)})),n.prevWithoutPreserves=e})),bn(this,"getInitialValue",(function(e){var t=ua(n.initialValues,e);return e.length?ma(t):t})),bn(this,"setCallbacks",(function(e){n.callbacks=e})),bn(this,"setValidateMessages",(function(e){n.validateMessages=e})),bn(this,"setPreserve",(function(e){n.preserve=e})),bn(this,"watchList",[]),bn(this,"registerWatch",(function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}})),bn(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach((function(n){n(t,r,e)}))}})),bn(this,"timeoutId",null),bn(this,"warningUnhooked",(function(){})),bn(this,"updateStore",(function(e){n.store=e})),bn(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities})),bn(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new mf;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t})),bn(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=Qd(e);return t.get(n)||{INVALIDATE_NAME_PATH:Qd(e)}}))})),bn(this,"getFieldsValue",(function(e,t){var r,o,a;if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===vn(e)&&(a=e.strict,o=e.filter),!0===r&&!o)return n.store;var i=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),c=[];return i.forEach((function(e){var t,n,i,l,u="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(a){if(null!==(i=(l=e).isList)&&void 0!==i&&i.call(l))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(o){var s="getMeta"in e?e.getMeta():null;o(s)&&c.push(u)}else c.push(u)})),Jd(n.store,c.map(Qd))})),bn(this,"getFieldValue",(function(e){n.warningUnhooked();var t=Qd(e);return ua(n.store,t)})),bn(this,"getFieldsError",(function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:Qd(e[n]),errors:[],warnings:[]}}))})),bn(this,"getFieldError",(function(e){n.warningUnhooked();var t=Qd(e);return n.getFieldsError([t])[0].errors})),bn(this,"getFieldWarning",(function(e){n.warningUnhooked();var t=Qd(e);return n.getFieldsError([t])[0].warnings})),bn(this,"isFieldsTouched",(function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new mf,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o;e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,zn(zn(r).map((function(e){return e.entity}))))}))):o=r,o.forEach((function(r){if(void 0!==r.props.initialValue){var o=r.getNamePath();if(void 0!==n.getInitialValue(o))qn(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var a=t.get(o);if(a&&a.size>1)qn(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(a){var i=n.getFieldValue(o);r.isListField()||e.skipExist&&void 0!==i||n.updateStore(da(n.store,o,zn(a)[0].value))}}}}))})),bn(this,"resetFields",(function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore(ma(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(Qd);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore(da(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)})),bn(this,"setFields",(function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var o=e.name,a=Bn(e,hf),i=Qd(o);r.push(i),"value"in a&&n.updateStore(da(n.store,i,a.value)),n.notifyObservers(t,[i],{type:"setField",data:e})})),n.notifyWatch(r)})),bn(this,"getFields",(function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=wn(wn({},e.getMeta()),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(r,"originRCField",{value:!0}),r}))})),bn(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===ua(n.store,r)&&n.updateStore(da(n.store,r,t))}})),bn(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:n.preserve;return null==t||t})),bn(this,"registerField",(function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(o)&&(!r||a.length>1)){var i=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==i&&n.fieldEntities.every((function(e){return!ef(e.getNamePath(),t)}))){var c=n.store;n.updateStore(da(c,t,i,!0)),n.notifyObservers(c,[t],{type:"remove"}),n.triggerDependenciesUpdate(c,t)}}n.notifyWatch([t])}})),bn(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,a=e.triggerName;n.validateFields([o],{triggerName:a})}})),bn(this,"notifyObservers",(function(e,t,r){if(n.subscribable){var o=wn(wn({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()})),bn(this,"triggerDependenciesUpdate",(function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat(zn(r))}),r})),bn(this,"updateValue",(function(e,t){var r=Qd(e),o=n.store;n.updateStore(da(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var a=n.triggerDependenciesUpdate(o,r),i=n.callbacks.onValuesChange;i&&i(Jd(n.store,[r]),n.getFieldsValue());n.triggerOnFieldsChange([r].concat(zn(a)))})),bn(this,"setFieldsValue",(function(e){n.warningUnhooked();var t=n.store;if(e){var r=ma(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()})),bn(this,"setFieldValue",(function(e,t){n.setFields([{name:e,value:t}])})),bn(this,"getDependencyChildrenFields",(function(e){var t=new Set,r=[],o=new mf;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=Qd(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r})),bn(this,"triggerOnFieldsChange",(function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var a=new mf;t.forEach((function(e){var t=e.name,n=e.errors;a.set(t,n)})),o.forEach((function(e){e.errors=a.get(e.name)||e.errors}))}var i=o.filter((function(t){var n=t.name;return Zd(e,n)}));i.length&&r(i,o)}})),bn(this,"validateFields",(function(e,t){var r,o,a;n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(o=e,a=t):a=e;var i=!!o,c=i?o.map(Qd):[],l=[],u=String(Date.now()),s=new Set,d=null===(r=a)||void 0===r?void 0:r.recursive;n.getFieldEntities(!0).forEach((function(e){if(i||c.push(e.getNamePath()),e.props.rules&&e.props.rules.length){var t=e.getNamePath();if(s.add(t.join(u)),!i||Zd(c,t,d)){var r=e.validateRules(wn({validateMessages:wn(wn({},Wd),n.validateMessages)},a));l.push(r.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var n,r=[],o=[];return null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,zn(n)):r.push.apply(r,zn(n))})),r.length?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}})))}}}));var f=df(l);n.lastValidatePromise=f,f.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var p=f.then((function(){return n.lastValidatePromise===f?Promise.resolve(n.getFieldsValue(c)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(c),errorFields:t,outOfDate:n.lastValidatePromise!==f})}));p.catch((function(e){return e}));var m=c.filter((function(e){return s.has(e.join(u))}));return n.triggerOnFieldsChange(m),p})),bn(this,"submit",(function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));var gf=function(e){var t=l.useRef(),n=Sr(l.useState({}),2)[1];if(!t.current)if(e)t.current=e;else{var r=new vf((function(){n({})}));t.current=r.getForm()}return[t.current]},yf=(l=a("8SyCD"),(l=a("8SyCD")).createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}})),bf=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,o=e.children,a=l.useContext(yf),i=l.useRef({});return l.createElement(yf.Provider,{value:wn(wn({},a),{},{validateMessages:wn(wn({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:i.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:i.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(i.current=wn(wn({},i.current),{},bn({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=wn({},i.current);delete t[e],i.current=t,a.unregisterForm(e)}})},o)},xf=yf,wf=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Sf=function(e,t){var n=e.name,r=e.initialValues,o=e.fields,a=e.form,i=e.preserve,c=e.children,u=e.component,s=void 0===u?"form":u,d=e.validateMessages,f=e.validateTrigger,p=void 0===f?"onChange":f,m=e.onValuesChange,h=e.onFieldsChange,v=e.onFinish,g=e.onFinishFailed,y=Bn(e,wf),b=l.useContext(xf),x=Sr(gf(a),1)[0],w=x.getInternalHooks($s),S=w.useSubscribe,C=w.setInitialValues,E=w.setCallbacks,k=w.setValidateMessages,O=w.setPreserve,I=w.destroyForm;l.useImperativeHandle(t,(function(){return x})),l.useEffect((function(){return b.registerForm(n,x),function(){b.unregisterForm(n)}}),[b,x,n]),k(wn(wn({},b.validateMessages),d)),E({onValuesChange:m,onFieldsChange:function(e){if(b.triggerFormChange(n,e),h){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o ").concat(l,"-group-addon"),Object.assign({},Mf(e))),I(c,"&-sm ".concat(l,", &-sm > ").concat(l,"-group-addon"),Object.assign({},_f(e))),I(c,"&-lg ".concat(u,"-select-single ").concat(u,"-select-selector"),{height:e.controlHeightLG}),I(c,"&-sm ".concat(u,"-select-single ").concat(u,"-select-selector"),{height:e.controlHeightSM}),I(c,"> ".concat(l),{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}}),I(c,"".concat(l,"-group"),(I(r={},"&-addon, &-wrap",{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}}),I(r,"&-wrap > *",{display:"block !important"}),I(r,"&-addon",(I(n={position:"relative",padding:"0 ".concat(e.paddingInline,"px"),color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.addonBg,border:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadius,transition:"all ".concat(e.motionDurationSlow),lineHeight:1},"".concat(u,"-select"),(I(t={margin:"-".concat(e.paddingBlock+1,"px -").concat(e.paddingInline,"px")},"&".concat(u,"-select-single:not(").concat(u,"-select-customize-input):not(").concat(u,"-pagination-size-changer)"),I({},"".concat(u,"-select-selector"),{backgroundColor:"inherit",border:"".concat(e.lineWidth,"px ").concat(e.lineType," transparent"),boxShadow:"none"})),I(t,"&-open, &-focused",I({},"".concat(u,"-select-selector"),{color:e.colorPrimary})),t)),I(n,"".concat(u,"-cascader-picker"),I({margin:"-9px -".concat(e.paddingInline,"px"),backgroundColor:"transparent"},"".concat(u,"-cascader-input"),{textAlign:"start",border:0,boxShadow:"none"})),n)),I(r,"&-addon:first-child",{borderInlineEnd:0}),I(r,"&-addon:last-child",{borderInlineStart:0}),r)),I(c,"".concat(l),{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":I({zIndex:1,borderInlineEndWidth:1},"".concat(l,"-search-with-button &"),{zIndex:0})}),I(c,"> ".concat(l,":first-child, ").concat(l,"-group-addon:first-child"),I({borderStartEndRadius:0,borderEndEndRadius:0},"".concat(u,"-select ").concat(u,"-select-selector"),{borderStartEndRadius:0,borderEndEndRadius:0})),I(c,"> ".concat(l,"-affix-wrapper"),(I(o={},"&:not(:first-child) ".concat(l),{borderStartStartRadius:0,borderEndStartRadius:0}),I(o,"&:not(:last-child) ".concat(l),{borderStartEndRadius:0,borderEndEndRadius:0}),o)),I(c,"> ".concat(l,":last-child, ").concat(l,"-group-addon:last-child"),I({borderStartStartRadius:0,borderEndStartRadius:0},"".concat(u,"-select ").concat(u,"-select-selector"),{borderStartStartRadius:0,borderEndStartRadius:0})),I(c,"".concat(l,"-affix-wrapper"),I({"&:not(:last-child)":I({borderStartEndRadius:0,borderEndEndRadius:0},"".concat(l,"-search &"),{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius})},"&:not(:first-child), ".concat(l,"-search &:not(:first-child)"),{borderStartStartRadius:0,borderEndStartRadius:0})),I(c,"&".concat(l,"-group-compact"),Object.assign(Object.assign({display:"block"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),(I(i={},"".concat(l,"-group-addon, ").concat(l,"-group-wrap, > ").concat(l),{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}}),I(i,"& > *",{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0}),I(i,"\n & > ".concat(l,"-affix-wrapper,\n & > ").concat(l,"-number-affix-wrapper,\n & > ").concat(u,"-picker-range\n "),{display:"inline-flex"}),I(i,"& > *:not(:last-child)",{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth}),I(i,"".concat(l),{float:"none"}),I(i,"& > ".concat(u,"-select > ").concat(u,"-select-selector,\n & > ").concat(u,"-select-auto-complete ").concat(l,",\n & > ").concat(u,"-cascader-picker ").concat(l,",\n & > ").concat(l,"-group-wrapper ").concat(l),{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}),I(i,"& > ".concat(u,"-select-focused"),{zIndex:1}),I(i,"& > ".concat(u,"-select > ").concat(u,"-select-arrow"),{zIndex:1}),I(i,"& > *:first-child,\n & > ".concat(u,"-select:first-child > ").concat(u,"-select-selector,\n & > ").concat(u,"-select-auto-complete:first-child ").concat(l,",\n & > ").concat(u,"-cascader-picker:first-child ").concat(l),{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}),I(i,"& > *:last-child,\n & > ".concat(u,"-select:last-child > ").concat(u,"-select-selector,\n & > ").concat(u,"-cascader-picker:last-child ").concat(l,",\n & > ").concat(u,"-cascader-picker-focused:last-child ").concat(l),{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius}),I(i,"& > ".concat(u,"-select-auto-complete ").concat(l),{verticalAlign:"top"}),I(i,"".concat(l,"-group-wrapper + ").concat(l,"-group-wrapper"),I({marginInlineStart:-e.lineWidth},"".concat(l,"-affix-wrapper"),{borderRadius:0})),I(i,"".concat(l,"-group-wrapper:not(:last-child)"),I({},"&".concat(l,"-search > ").concat(l,"-group"),(I(a={},"& > ".concat(l,"-group-addon > ").concat(l,"-search-button"),{borderRadius:0}),I(a,"& > ".concat(l),{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}),a))),i))),c},Af=function(e){var t,n=e.componentCls,r=e.controlHeightSM,o=(r-2*e.lineWidth-16)/2;return I({},n,Object.assign(Object.assign(Object.assign(Object.assign({},Il(e)),Tf(e)),Df(e,n)),{'&[type="color"]':(t={height:e.controlHeight},I(t,"&".concat(n,"-lg"),{height:e.controlHeightLG}),I(t,"&".concat(n,"-sm"),{height:r,paddingTop:o,paddingBottom:o}),t),'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}}))},Lf=function(e){var t,n=e.componentCls,r=e.inputAffixPadding,o=e.colorTextDescription,a=e.motionDurationSlow,i=e.colorIcon,c=e.colorIconHover,l=e.iconCls;return I({},"".concat(n,"-affix-wrapper"),Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Tf(e)),(I(t={display:"inline-flex"},"&:not(".concat(n,"-affix-wrapper-disabled):hover"),I({zIndex:1},"".concat(n,"-search-with-button &"),{zIndex:0})),I(t,"&-focused, &:focus",{zIndex:1}),I(t,"&-disabled",I({},"".concat(n,"[disabled]"),{background:"transparent"})),I(t,"> input".concat(n),{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}}),I(t,"&::before",{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}),I(t,"".concat(n),{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:o},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}),t)),function(e){var t=e.componentCls;return I({},"".concat(t,"-clear-icon"),{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:"color ".concat(e.motionDurationSlow),"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:"0 ".concat(e.inputAffixPadding,"px")}})}(e)),I({},"".concat(l).concat(n,"-password-icon"),{color:i,cursor:"pointer",transition:"all ".concat(a),"&:hover":{color:c}})),Df(e,"".concat(n,"-affix-wrapper"))))},Bf=function(e){var t,n=e.componentCls,r=e.colorError,o=e.colorWarning,a=e.borderRadiusLG,i=e.borderRadiusSM;return I({},"".concat(n,"-group"),Object.assign(Object.assign(Object.assign({},Il(e)),zf(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":(t={display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":I({},"".concat(n,"-group-addon"),{borderRadius:a,fontSize:e.fontSizeLG}),"&-sm":I({},"".concat(n,"-group-addon"),{borderRadius:i}),"&-status-error":I({},"".concat(n,"-group-addon"),{color:r,borderColor:r}),"&-status-warning":I({},"".concat(n,"-group-addon"),{color:o,borderColor:o}),"&-disabled":I({},"".concat(n,"-group-addon"),Object.assign({},Rf(e)))},I(t,"&:not(".concat(n,"-compact-first-item):not(").concat(n,"-compact-last-item)").concat(n,"-compact-item"),I({},"".concat(n,", ").concat(n,"-group-addon"),{borderRadius:0})),I(t,"&:not(".concat(n,"-compact-last-item)").concat(n,"-compact-first-item"),I({},"".concat(n,", ").concat(n,"-group-addon"),{borderStartEndRadius:0,borderEndEndRadius:0})),I(t,"&:not(".concat(n,"-compact-first-item)").concat(n,"-compact-last-item"),I({},"".concat(n,", ").concat(n,"-group-addon"),{borderStartStartRadius:0,borderEndStartRadius:0})),t)}))},Ff=function(e){var t,n,r,o=e.componentCls,a=e.antCls,i="".concat(o,"-search");return I({},i,(I(r={},"".concat(o),{"&:hover, &:focus":I({borderColor:e.colorPrimaryHover},"+ ".concat(o,"-group-addon ").concat(i,"-button:not(").concat(a,"-btn-primary)"),{borderInlineStartColor:e.colorPrimaryHover})}),I(r,"".concat(o,"-affix-wrapper"),{borderRadius:0}),I(r,"".concat(o,"-lg"),{lineHeight:e.lineHeightLG-2e-4}),I(r,"> ".concat(o,"-group"),I({},"> ".concat(o,"-group-addon:last-child"),(I(t={insetInlineStart:-1,padding:0,border:0},"".concat(i,"-button"),{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"}),I(t,"".concat(i,"-button:not(").concat(a,"-btn-primary)"),I({color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive}},"&".concat(a,"-btn-loading::before"),{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0})),t))),I(r,"".concat(i,"-button"),{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}}),I(r,"&-large ".concat(i,"-button"),{height:e.controlHeightLG}),I(r,"&-small ".concat(i,"-button"),{height:e.controlHeightSM}),I(r,"&-rtl",{direction:"rtl"}),I(r,"&".concat(o,"-compact-item"),(I(n={},"&:not(".concat(o,"-compact-last-item)"),I({},"".concat(o,"-group-addon"),I({},"".concat(o,"-search-button"),{marginInlineEnd:-e.lineWidth,borderRadius:0}))),I(n,"&:not(".concat(o,"-compact-first-item)"),I({},"".concat(o,",").concat(o,"-affix-wrapper"),{borderRadius:0})),I(n,"> ".concat(o,"-group-addon ").concat(o,"-search-button,\n > ").concat(o,",\n ").concat(o,"-affix-wrapper"),{"&:hover,&:focus,&:active":{zIndex:2}}),I(n,"> ".concat(o,"-affix-wrapper-focused"),{zIndex:2}),n)),r))},Hf=function(e){var t,n,r,o,a=e.componentCls,i=e.paddingLG,c="".concat(a,"-textarea");return I({},c,(o={position:"relative","&-show-count":(t={},I(t,"> ".concat(a),{height:"100%"}),I(t,"".concat(a,"-data-count"),{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}),t),"&-allow-clear":I({},"> ".concat(a),{paddingInlineEnd:i})},I(o,"&-affix-wrapper".concat(c,"-has-feedback"),I({},"".concat(a),{paddingInlineEnd:i})),I(o,"&-affix-wrapper".concat(a,"-affix-wrapper"),(I(r={padding:0},"> textarea".concat(a),{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}}),I(r,"".concat(a,"-suffix"),(I(n={margin:0,"> *:not(:last-child)":{marginInline:0}},"".concat(a,"-clear-icon"),{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS}),I(n,"".concat(c,"-suffix"),{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}),n)),r)),o))};function Wf(e){return Jl(e,{inputAffixPadding:e.paddingXXS})}var Vf=function(e){var t=e.controlHeight,n=e.fontSize,r=e.lineHeight,o=e.lineWidth,a=e.controlHeightSM,i=e.controlHeightLG,c=e.fontSizeLG,l=e.lineHeightLG,u=e.paddingSM,s=e.controlPaddingHorizontalSM,d=e.controlPaddingHorizontal,f=e.colorFillAlter,p=e.colorPrimaryHover,m=e.colorPrimary,h=e.controlOutlineWidth,v=e.controlOutline,g=e.colorErrorOutline,y=e.colorWarningOutline;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((a-n*r)/2*10)/10-o,0),paddingBlockLG:Math.ceil((i-c*l)/2*10)/10-o,paddingInline:u-o,paddingInlineSM:s-o,paddingInlineLG:d-o,addonBg:f,activeBorderColor:m,hoverBorderColor:p,activeShadow:"0 0 0 ".concat(h,"px ").concat(v),errorActiveShadow:"0 0 0 ".concat(h,"px ").concat(g),warningActiveShadow:"0 0 0 ".concat(h,"px ").concat(y),hoverBg:"",activeBg:""}},Uf=nu("Input",(function(e){var t=Jl(e,Wf(e));return[Af(t),Hf(t),Lf(t),Bf(t),Ff(t),Hs(t)]}),Vf),Kf=function(e){var t,r=(0,l.useContext)(Li),o=r.getPrefixCls,a=r.direction,i=e.prefixCls,c=e.className,u=o("input-group",i),s=o("input"),d=y(Uf(s),2),f=d[0],p=d[1],m=n(hn)(u,(I(t={},"".concat(u,"-lg"),"large"===e.size),I(t,"".concat(u,"-sm"),"small"===e.size),I(t,"".concat(u,"-compact"),e.compact),I(t,"".concat(u,"-rtl"),"rtl"===a),t),p,c),h=(0,l.useContext)(Of),v=(0,l.useMemo)((function(){return Object.assign(Object.assign({},h),{isFormItemInput:!1})}),[h]);return f(l.createElement("span",{className:m,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},l.createElement(Of.Provider,{value:v},e.children)))},Gf={};e(Gf,"triggerFocus",(function(){return up}),(function(e){return up=e})),e(Gf,"default",(function(){return sp}),(function(e){return sp=e}));l=a("8SyCD"),l=a("8SyCD");var Xf={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},qf=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:Xf}))},$f=l.forwardRef(qf);l=a("8SyCD");function Yf(e){return!(!e.addonBefore&&!e.addonAfter)}function Qf(e){return!!(e.prefix||e.suffix||e.allowClear)}function Jf(e,t,n,r){if(n){var o=t;if("click"===t.type){var a=e.cloneNode(!0);return o=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.value="",void n(o)}if(void 0!==r)return o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(o);n(o)}}function Zf(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}function ep(e){return null==e?"":String(e)}var tp=function(e){var t,r,o=e.inputElement,a=e.prefixCls,i=e.prefix,c=e.suffix,u=e.addonBefore,s=e.addonAfter,d=e.className,f=e.style,p=e.disabled,m=e.readOnly,h=e.focused,v=e.triggerFocus,g=e.allowClear,y=e.value,b=e.handleReset,x=e.hidden,w=e.classes,S=e.classNames,C=e.dataAttrs,E=e.styles,k=e.components,O=(null==k?void 0:k.affixWrapper)||"span",I=(null==k?void 0:k.groupWrapper)||"span",P=(null==k?void 0:k.wrapper)||"span",j=(null==k?void 0:k.groupAddon)||"span",N=(0,l.useRef)(null),R=(0,l.cloneElement)(o,{value:y,hidden:x,className:n(hn)(null===(t=o.props)||void 0===t?void 0:t.className,!Qf(e)&&!Yf(e)&&d)||null,style:wn(wn({},null===(r=o.props)||void 0===r?void 0:r.style),Qf(e)||Yf(e)?{}:f)});if(Qf(e)){var M,_="".concat(a,"-affix-wrapper"),D=n(hn)(_,(bn(M={},"".concat(_,"-disabled"),p),bn(M,"".concat(_,"-focused"),h),bn(M,"".concat(_,"-readonly"),m),bn(M,"".concat(_,"-input-with-clear-btn"),c&&g&&y),M),!Yf(e)&&d,null==w?void 0:w.affixWrapper,null==S?void 0:S.affixWrapper),T=(c||g)&&n(l).createElement("span",{className:n(hn)("".concat(a,"-suffix"),null==S?void 0:S.suffix),style:null==E?void 0:E.suffix},function(){var e;if(!g)return null;var t=!p&&!m&&y,r="".concat(a,"-clear-icon"),o="object"===vn(g)&&null!=g&&g.clearIcon?g.clearIcon:"✖";return n(l).createElement("span",{onClick:b,onMouseDown:function(e){return e.preventDefault()},className:n(hn)(r,(e={},bn(e,"".concat(r,"-hidden"),!t),bn(e,"".concat(r,"-has-suffix"),!!c),e)),role:"button",tabIndex:-1},o)}(),c);R=n(l).createElement(O,eo({className:D,style:wn(wn({},Yf(e)?void 0:f),null==E?void 0:E.affixWrapper),hidden:!Yf(e)&&x,onClick:function(e){var t;null!==(t=N.current)&&void 0!==t&&t.contains(e.target)&&(null==v||v())}},null==C?void 0:C.affixWrapper,{ref:N}),i&&n(l).createElement("span",{className:n(hn)("".concat(a,"-prefix"),null==S?void 0:S.prefix),style:null==E?void 0:E.prefix},i),(0,l.cloneElement)(o,{value:y,hidden:null}),T)}if(Yf(e)){var z="".concat(a,"-group"),A="".concat(z,"-addon"),L=n(hn)("".concat(a,"-wrapper"),z,null==w?void 0:w.wrapper),B=n(hn)("".concat(a,"-group-wrapper"),d,null==w?void 0:w.group);return n(l).createElement(I,{className:B,style:f,hidden:x},n(l).createElement(P,{className:L},u&&n(l).createElement(j,{className:A},u),(0,l.cloneElement)(R,{hidden:null}),s&&n(l).createElement(j,{className:A},s)))}return R},np=(l=a("8SyCD"),["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"]),rp=(0,l.forwardRef)((function(e,t){var r=e.autoComplete,o=e.onChange,a=e.onFocus,i=e.onBlur,c=e.onPressEnter,u=e.onKeyDown,s=e.prefixCls,d=void 0===s?"rc-input":s,f=e.disabled,p=e.htmlSize,m=e.className,h=e.maxLength,v=e.suffix,g=e.showCount,y=e.type,b=void 0===y?"text":y,x=e.classes,w=e.classNames,S=e.styles,C=Bn(e,np),E=Sr($l(e.defaultValue,{value:e.value}),2),k=E[0],O=E[1],I=Sr((0,l.useState)(!1),2),P=I[0],j=I[1],N=(0,l.useRef)(null),R=function(e){N.current&&Zf(N.current,e)};(0,l.useImperativeHandle)(t,(function(){return{focus:R,blur:function(){var e;null===(e=N.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=N.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=N.current)||void 0===e||e.select()},input:N.current}})),(0,l.useEffect)((function(){j((function(e){return(!e||!f)&&e}))}),[f]);var M,_=function(t){void 0===e.value&&O(t.target.value),N.current&&Jf(N.current,t,o)},D=function(e){c&&"Enter"===e.key&&c(e),null==u||u(e)},T=function(e){j(!0),null==a||a(e)},z=function(e){j(!1),null==i||i(e)};return n(l).createElement(tp,eo({},C,{prefixCls:d,className:m,inputElement:(M=Sn(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]),n(l).createElement("input",eo({autoComplete:r},M,{onChange:_,onFocus:T,onBlur:z,onKeyDown:D,className:n(hn)(d,bn({},"".concat(d,"-disabled"),f),null==w?void 0:w.input),style:null==S?void 0:S.input,ref:N,size:p,type:b}))),handleReset:function(e){O(""),R(),N.current&&Jf(N.current,e,o)},value:ep(k),focused:P,triggerFocus:R,suffix:function(){var e=Number(h)>0;if(v||g){var t=ep(k),r=zn(t).length,o="object"===vn(g)?g.formatter({value:t,count:r,maxLength:h}):"".concat(r).concat(e?" / ".concat(h):"");return n(l).createElement(n(l).Fragment,null,!!g&&n(l).createElement("span",{className:n(hn)("".concat(d,"-show-count-suffix"),bn({},"".concat(d,"-show-count-has-suffix"),!!v),null==w?void 0:w.count),style:wn({},null==S?void 0:S.count)},o),v)}return null}(),disabled:f,classes:x,classNames:w,styles:S}))}));function op(e,t,r){var o;return n(hn)((I(o={},"".concat(e,"-status-success"),"success"===t),I(o,"".concat(e,"-status-warning"),"warning"===t),I(o,"".concat(e,"-status-error"),"error"===t),I(o,"".concat(e,"-status-validating"),"validating"===t),I(o,"".concat(e,"-has-feedback"),r),o))}var ap=function(e,t){return t||e};l=a("8SyCD");function ip(e,t){var n=(0,l.useRef)([]),r=function(){n.current.push(setTimeout((function(){var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return(0,l.useEffect)((function(){return t&&r(),function(){return n.current.forEach((function(e){e&&clearTimeout(e)}))}}),[]),r}function cp(e){return!!(e.prefix||e.suffix||e.allowClear)}var lp=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0},Tp.prototype.connect_=function(){Mp&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ap?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},Tp.prototype.disconnect_=function(){Mp&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},Tp.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;zp.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},Tp.getInstance=function(){return this.instance_||(this.instance_=new Tp),this.instance_},Tp.instance_=null,Tp),Bp=function(e,t){for(var n=0,r=Object.keys(t);n0},$p),Zp="undefined"!=typeof WeakMap?new WeakMap:new Rp,em=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Lp.getInstance(),r=new Jp(t,n,this);Zp.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){em.prototype[e]=function(){var t;return(t=Zp.get(this))[e].apply(t,arguments)}}));var tm=void 0!==_p.ResizeObserver?_p.ResizeObserver:em,nm=new Map;var rm=new tm((function(e){e.forEach((function(e){var t,n=e.target;null===(t=nm.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));function om(e,t){nm.has(e)&&(nm.get(e).delete(t),nm.get(e).size||(rm.unobserve(e),nm.delete(e)))}var am=function(e){tc(n,e);var t=ic(n);function n(){return Yn(this,n),t.apply(this,arguments)}return Jn(n,[{key:"render",value:function(){return this.props.children}}]),n}((l=a("8SyCD")).Component),im=(l=a("8SyCD")).createContext(null);function cm(e,t){var n=e.children,r=e.disabled,o=l.useRef(null),a=l.useRef(null),i=l.useContext(im),c="function"==typeof n,u=c?n(o):n,s=l.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!c&&l.isValidElement(u)&&Pn(u),f=d?u.ref:null,p=l.useMemo((function(){return On(f,o)}),[f,o]),m=function(){return Yi(o.current)||Yi(a.current)};l.useImperativeHandle(t,(function(){return m()}));var h=l.useRef(e);h.current=e;var v=l.useCallback((function(e){var t=h.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),a=o.width,c=o.height,l=e.offsetWidth,u=e.offsetHeight,d=Math.floor(a),f=Math.floor(c);if(s.current.width!==d||s.current.height!==f||s.current.offsetWidth!==l||s.current.offsetHeight!==u){var p={width:d,height:f,offsetWidth:l,offsetHeight:u};s.current=p;var m=l===Math.round(a)?a:l,v=u===Math.round(c)?c:u,g=wn(wn({},p),{},{offsetWidth:m,offsetHeight:v});null==i||i(g,e,r),n&&Promise.resolve().then((function(){n(g,e)}))}}),[]);return l.useEffect((function(){var e,t,n=m();return n&&!r&&(e=n,t=v,nm.has(e)||(nm.set(e,new Set),rm.observe(e)),nm.get(e).add(t)),function(){return om(n,v)}}),[o.current,r]),l.createElement(am,{ref:a},d?l.cloneElement(u,{ref:p}):u)}var lm=l.forwardRef(cm);function um(e,t){var n=e.children;return("function"==typeof n?[n]:Ru(n)).map((function(n,r){var o=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(r);return l.createElement(lm,eo({},e,{key:o,ref:0===r?t:void 0}),n)}))}var sm=l.forwardRef(um);sm.Collection=function(e){var t=e.children,n=e.onBatchResize,r=l.useRef(0),o=l.useRef([]),a=l.useContext(im),i=l.useCallback((function(e,t,i){r.current+=1;var c=r.current;o.current.push({size:e,element:t,data:i}),Promise.resolve().then((function(){c===r.current&&(null==n||n(o.current),o.current=[])})),null==a||a(e,t,i)}),[n,a]);return l.createElement(im.Provider,{value:i},t)};var dm,fm=sm,pm=(l=a("8SyCD"),["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"]),mm={};function hm(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;dm||((dm=document.createElement("textarea")).setAttribute("tab-index","-1"),dm.setAttribute("aria-hidden","true"),document.body.appendChild(dm)),e.getAttribute("wrap")?dm.setAttribute("wrap",e.getAttribute("wrap")):dm.removeAttribute("wrap");var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&mm[n])return mm[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),c={sizingStyle:pm.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),paddingSize:a,borderSize:i,boxSizing:o};return t&&n&&(mm[n]=c),c}(e,t),a=o.paddingSize,i=o.borderSize,c=o.boxSizing,l=o.sizingStyle;dm.setAttribute("style","".concat(l,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),dm.value=e.value||e.placeholder||"";var u,s=void 0,d=void 0,f=dm.scrollHeight;if("border-box"===c?f+=i:"content-box"===c&&(f-=a),null!==n||null!==r){dm.value=" ";var p=dm.scrollHeight-a;null!==n&&(s=p*n,"border-box"===c&&(s=s+a+i),f=Math.max(s,f)),null!==r&&(d=p*r,"border-box"===c&&(d=d+a+i),u=f>d?"":"hidden",f=Math.min(d,f))}var m={height:f,overflowY:u,resize:"none"};return s&&(m.minHeight=s),d&&(m.maxHeight=d),m}var vm=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],gm=l.forwardRef((function(e,t){var r=e,o=r.prefixCls,a=(r.onPressEnter,r.defaultValue),i=r.value,c=r.autoSize,u=r.onResize,s=r.className,d=r.style,f=r.disabled,p=r.onChange,m=(r.onInternalAutoSize,Bn(r,vm)),h=Sr($l(a,{value:i,postState:function(e){return null!=e?e:""}}),2),v=h[0],g=h[1],y=l.useRef();l.useImperativeHandle(t,(function(){return{textArea:y.current}}));var b=Sr(l.useMemo((function(){return c&&"object"===vn(c)?[c.minRows,c.maxRows]:[]}),[c]),2),x=b[0],w=b[1],S=!!c,C=Sr(l.useState(2),2),E=C[0],k=C[1],O=Sr(l.useState(),2),I=O[0],P=O[1],j=function(){k(0)};Hr((function(){S&&j()}),[i,x,w,S]),Hr((function(){if(0===E)k(1);else if(1===E){var e=hm(y.current,!1,x,w);k(2),P(e)}else!function(){try{if(document.activeElement===y.current){var e=y.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;y.current.setSelectionRange(t,n),y.current.scrollTop=r}}catch(e){}}()}),[E]);var N=l.useRef(),R=function(){Vc.cancel(N.current)};l.useEffect((function(){return R}),[]);var M=S?I:null,_=wn(wn({},d),M);return 0!==E&&1!==E||(_.overflowY="hidden",_.overflowX="hidden"),l.createElement(fm,{onResize:function(e){2===E&&(null==u||u(e),c&&(R(),N.current=Vc((function(){j()}))))},disabled:!(c||u)},l.createElement("textarea",eo({},m,{ref:y,style:_,className:n(hn)(o,s,bn({},"".concat(o,"-disabled"),f)),disabled:f,value:v,onChange:function(e){g(e.target.value),null==p||p(e)}})))})),ym=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function bm(e,t){return zn(e||"").slice(0,t).join("")}function xm(e,t,n,r){var o=n;return e?o=bm(n,r):zn(t||"").lengthr&&(o=t),o}var wm=n(l).forwardRef((function(e,t){var r,o=e.defaultValue,a=e.value,i=e.onFocus,c=e.onBlur,u=e.onChange,s=e.allowClear,d=e.maxLength,f=e.onCompositionStart,p=e.onCompositionEnd,m=e.suffix,h=e.prefixCls,v=void 0===h?"rc-textarea":h,g=e.classes,y=e.showCount,b=e.className,x=e.style,w=e.disabled,S=e.hidden,C=e.classNames,E=e.styles,k=e.onResize,O=Bn(e,ym),I=Sr($l(o,{value:a,defaultValue:o}),2),P=I[0],j=I[1],N=(0,l.useRef)(null),R=Sr(n(l).useState(!1),2),M=R[0],_=R[1],D=Sr(n(l).useState(!1),2),T=D[0],z=D[1],A=n(l).useRef(),L=n(l).useRef(0),B=Sr(n(l).useState(null),2),F=B[0],H=B[1],W=function(){var e;null===(e=N.current)||void 0===e||e.textArea.focus()};(0,l.useImperativeHandle)(t,(function(){return{resizableTextArea:N.current,focus:W,blur:function(){var e;null===(e=N.current)||void 0===e||e.textArea.blur()}}})),(0,l.useEffect)((function(){_((function(e){return!w&&e}))}),[w]);var V=Number(d)>0,U=ep(P);!T&&V&&null==a&&(U=bm(U,d));var K,G=m;if(y){var X=zn(U).length;K="object"===vn(y)?y.formatter({value:U,count:X,maxLength:d}):"".concat(X).concat(V?" / ".concat(d):""),G=n(l).createElement(n(l).Fragment,null,G,n(l).createElement("span",{className:n(hn)("".concat(v,"-data-count"),null==C?void 0:C.count),style:null==E?void 0:E.count},K))}var q=!O.autoSize&&!y&&!s;return n(l).createElement(tp,{value:U,allowClear:s,handleReset:function(e){var t;j(""),W(),Jf(null===(t=N.current)||void 0===t?void 0:t.textArea,e,u)},suffix:G,prefixCls:v,classes:{affixWrapper:n(hn)(null==g?void 0:g.affixWrapper,(r={},bn(r,"".concat(v,"-show-count"),y),bn(r,"".concat(v,"-textarea-allow-clear"),s),r))},disabled:w,focused:M,className:b,style:wn(wn({},x),F&&!q?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof K?K:void 0}},hidden:S,inputElement:n(l).createElement(gm,eo({},O,{onKeyDown:function(e){var t=O.onPressEnter,n=O.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},onChange:function(e){var t=e.target.value;!T&&V&&(t=xm(e.target.selectionStart>=d+1||e.target.selectionStart===t.length||!e.target.selectionStart,P,t,d));j(t),Jf(e.currentTarget,e,u,t)},onFocus:function(e){_(!0),null==i||i(e)},onBlur:function(e){_(!1),null==c||c(e)},onCompositionStart:function(e){z(!0),A.current=P,L.current=e.currentTarget.selectionStart,null==f||f(e)},onCompositionEnd:function(e){z(!1);var t,n=e.currentTarget.value;V&&(n=xm(L.current>=d+1||L.current===(null===(t=A.current)||void 0===t?void 0:t.length),A.current,n,d));n!==P&&(j(n),Jf(e.currentTarget,e,u,n)),null==p||p(e)},className:null==C?void 0:C.textarea,style:wn(wn({},null==E?void 0:E.textarea),{},{resize:null==x?void 0:x.resize}),disabled:w,prefixCls:v,onResize:function(e){var t;null==k||k(e),null!==(t=N.current)&&void 0!==t&&t.textArea.style.height&&H(!0)},ref:N}))})})),Sm=(l=a("8SyCD"),l=a("8SyCD"),function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:"ant","-motion-collapse"),onAppearStart:Am,onEnterStart:Am,onAppearActive:Lm,onEnterActive:Lm,onLeaveStart:Bm,onLeaveActive:Am,onAppearEnd:Fm,onEnterEnd:Fm,onLeaveEnd:Fm,motionDeadline:500}};l=a("8SyCD"),l=a("8SyCD");function Vm(e){return!(!e||!e.then)}var Um=function(e){var t=e.type,n=e.children,r=e.prefixCls,o=e.buttonProps,a=e.close,i=e.autoFocus,c=e.emitEvent,u=e.isSilent,s=e.quitOnNullishReturnValue,d=e.actionFn,f=l.useRef(!1),p=l.useRef(null),m=y(uc(!1),2),h=m[0],v=m[1],g=function(){null==a||a.apply(void 0,arguments)};l.useEffect((function(){var e=null;return i&&(e=setTimeout((function(){var e;null===(e=p.current)||void 0===e||e.focus()}))),function(){e&&clearTimeout(e)}}),[]);return l.createElement(qs,Object.assign({},qu(t),{onClick:function(e){if(!f.current)if(f.current=!0,d){var t;if(c){if(t=d(e),s&&!Vm(t))return f.current=!1,void g(e)}else if(d.length)t=d(a),f.current=!1;else if(!(t=d()))return void g();!function(e){Vm(e)&&(v(!0),e.then((function(){v(!1,!0),g.apply(void 0,arguments),f.current=!1}),(function(e){if(v(!1,!0),f.current=!1,!(null==u?void 0:u()))return Promise.reject(e)})))}(t)}else g()},loading:h,prefixCls:r},o,{ref:p}),n)},Km=n(l=a("8SyCD")).createContext({}),Gm=Km.Provider,Xm=function(){var e=(0,l.useContext)(Km),t=e.autoFocusButton,r=e.cancelButtonProps,o=e.cancelTextLocale,a=e.isSilent,i=e.mergedOkCancel,c=e.rootPrefixCls,u=e.close,s=e.onCancel,d=e.onConfirm;return i?n(l).createElement(Um,{isSilent:a,actionFn:s,close:function(){null==u||u.apply(void 0,arguments),null==d||d(!1)},autoFocus:"cancel"===t,buttonProps:r,prefixCls:"".concat(c,"-btn")},o):null},qm=(l=a("8SyCD"),function(){var e=(0,l.useContext)(Km),t=e.autoFocusButton,r=e.close,o=e.isSilent,a=e.okButtonProps,i=e.rootPrefixCls,c=e.okTextLocale,u=e.okType,s=e.onConfirm,d=e.onOk;return n(l).createElement(Um,{isSilent:o,type:u||"primary",actionFn:d,close:function(){null==r||r.apply(void 0,arguments),null==s||s(!0)},autoFocus:"ok"===t,buttonProps:a,prefixCls:"".concat(i,"-btn")},c)}),$m={};e($m,"default",(function(){return sv}),(function(e){return sv=e}));l=a("8SyCD"),l=a("8SyCD");var Ym={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Qm=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:Ym}))},Jm=l.forwardRef(Qm),Zm=(l=a("8SyCD"),(l=a("8SyCD")).createContext(null)),eh=(l=a("8SyCD"),[]);function th(e,t){var n=function(){o.parentElement||document.body.appendChild(o),a.current=!0},r=function(){var e;null===(e=o.parentElement)||void 0===e||e.removeChild(o),a.current=!1},o=Sr(l.useState((function(){return ir()?document.createElement("div"):null})),1)[0],a=l.useRef(!1),i=l.useContext(Zm),c=Sr(l.useState(eh),2),u=c[0],s=c[1],d=i||(a.current?void 0:function(e){s((function(t){return[e].concat(zn(t))}))});return Hr((function(){return e?i?i(n):n():r(),r}),[e]),Hr((function(){u.length&&(u.forEach((function(e){return e()})),s(eh))}),[u]),[o,d]}var nh;l=a("8SyCD");function rh(e){var t=e.match(/^(.*)px$/),n=Number(null==t?void 0:t[1]);return Number.isNaN(n)?function(e){if("undefined"==typeof document)return 0;if(e||void 0===nh){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var o=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;o===a&&(a=n.clientWidth),document.body.removeChild(n),nh=o-a}return nh}():n}function oh(e){if(!("undefined"!=typeof document&&e&&e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:rh(n),height:rh(r)}}var ah="rc-util-locker-".concat(Date.now()),ih=0;function ch(e){var t=!!e,n=Sr(l.useState((function(){return ih+=1,"".concat(ah,"_").concat(ih)})),1)[0];Hr((function(){if(t){var e=oh(document.body).width,r=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;yr("\nhtml body {\n overflow-y: hidden;\n ".concat(r?"width: calc(100% - ".concat(e,"px);"):"","\n}"),n)}else gr(n);return function(){gr(n)}}),[t,n])}var lh=!1;var uh=function(e){return!1!==e&&(ir()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},sh=l.forwardRef((function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer,a=(e.debug,e.autoDestroy),i=void 0===a||a,c=e.children,s=Sr(l.useState(n),2),d=s[0],f=s[1],p=d||n;l.useEffect((function(){(i||n)&&f(n)}),[n,i]);var m=Sr(l.useState((function(){return uh(o)})),2),h=m[0],v=m[1];l.useEffect((function(){var e=uh(o);v(null!=e?e:null)}));var g=Sr(th(p&&!h),2),y=g[0],b=g[1],x=null!=h?h:y;ch(r&&n&&ir()&&(x===y||x===document.body));var w=null;c&&Pn(c)&&t&&(w=c.ref);var S=In(w,t);if(!p||!ir()||void 0===h)return null;var C,E=!1===x||("boolean"==typeof C&&(lh=C),lh),k=c;return t&&(k=l.cloneElement(c,{ref:S})),l.createElement(Zm.Provider,{value:b},E?k:(0,u.createPortal)(k,x))})),dh=(l=a("8SyCD"),(l=a("8SyCD")).createContext({}));l=a("8SyCD");var fh=0;var ph=wn({},l).useId,mh=ph?function(e){var t=ph();return e||t}:function(e){var t=Sr(l.useState("ssr-id"),2),n=t[0],r=t[1];return l.useEffect((function(){var e=fh;fh+=1,r("rc_unique_".concat(e))}),[]),e||n},hh={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=hh.F1&&t<=hh.F12)return!1;switch(t){case hh.ALT:case hh.CAPS_LOCK:case hh.CONTEXT_MENU:case hh.CTRL:case hh.DOWN:case hh.END:case hh.ESC:case hh.HOME:case hh.INSERT:case hh.LEFT:case hh.MAC_FF_META:case hh.META:case hh.NUMLOCK:case hh.NUM_CENTER:case hh.PAGE_DOWN:case hh.PAGE_UP:case hh.PAUSE:case hh.PRINT_SCREEN:case hh.RIGHT:case hh.SHIFT:case hh.UP:case hh.WIN_KEY:case hh.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=hh.ZERO&&e<=hh.NINE)return!0;if(e>=hh.NUM_ZERO&&e<=hh.NUM_MULTIPLY)return!0;if(e>=hh.A&&e<=hh.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case hh.SPACE:case hh.QUESTION_MARK:case hh.NUM_PLUS:case hh.NUM_MINUS:case hh.NUM_PERIOD:case hh.NUM_DIVISION:case hh.SEMICOLON:case hh.DASH:case hh.EQUALS:case hh.COMMA:case hh.PERIOD:case hh.SLASH:case hh.APOSTROPHE:case hh.SINGLE_QUOTE:case hh.OPEN_SQUARE_BRACKET:case hh.BACKSLASH:case hh.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},vh=hh,gh="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),yh="aria-",bh="data-";function xh(e,t){return 0===e.indexOf(t)}function wh(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:wn({},n);var r={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||xh(n,yh))||t.data&&xh(n,bh)||t.attr&&gh.includes(n))&&(r[n]=e[n])})),r}l=a("8SyCD"),l=a("8SyCD");function Sh(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function Ch(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD");var Eh=(l=a("8SyCD")).memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate})),kh={width:0,height:0,overflow:"hidden",outline:"none"},Oh=n(l).forwardRef((function(e,t){var r=e.prefixCls,o=e.className,a=e.style,i=e.title,c=e.ariaId,u=e.footer,s=e.closable,d=e.closeIcon,f=e.onClose,p=e.children,m=e.bodyStyle,h=e.bodyProps,v=e.modalRender,g=e.onMouseDown,y=e.onMouseUp,b=e.holderRef,x=e.visible,w=e.forceRender,S=e.width,C=e.height,E=e.classNames,k=e.styles,O=In(b,n(l).useContext(dh).panel),I=(0,l.useRef)(),P=(0,l.useRef)();n(l).useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=I.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===P.current?I.current.focus():e||t!==I.current||P.current.focus()}}}));var j,N,R,M={};void 0!==S&&(M.width=S),void 0!==C&&(M.height=C),u&&(j=n(l).createElement("div",{className:n(hn)("".concat(r,"-footer"),null==E?void 0:E.footer),style:wn({},null==k?void 0:k.footer)},u)),i&&(N=n(l).createElement("div",{className:n(hn)("".concat(r,"-header"),null==E?void 0:E.header),style:wn({},null==k?void 0:k.header)},n(l).createElement("div",{className:"".concat(r,"-title"),id:c},i))),s&&(R=n(l).createElement("button",{type:"button",onClick:f,"aria-label":"Close",className:"".concat(r,"-close")},d||n(l).createElement("span",{className:"".concat(r,"-close-x")})));var _=n(l).createElement("div",{className:n(hn)("".concat(r,"-content"),null==E?void 0:E.content),style:null==k?void 0:k.content},R,N,n(l).createElement("div",eo({className:n(hn)("".concat(r,"-body"),null==E?void 0:E.body),style:wn(wn({},m),null==k?void 0:k.body)},h),p),j);return n(l).createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?c:null,"aria-modal":"true",ref:O,style:wn(wn({},a),M),className:n(hn)(r,o),onMouseDown:g,onMouseUp:y},n(l).createElement("div",{tabIndex:0,ref:I,style:kh,"aria-hidden":"true"}),n(l).createElement(Eh,{shouldUpdate:x||w},v?v(_):_),n(l).createElement("div",{tabIndex:0,ref:P,style:kh,"aria-hidden":"true"}))})),Ih=l.forwardRef((function(e,t){var r=function(){var e,t,n,r,o,a=(e=v.current,t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow,n.left+=Ch(o),n.top+=Ch(o,!0),n);b(h?"".concat(h.x-a.left,"px ").concat(h.y-a.top,"px"):"")},o=e.prefixCls,a=e.title,i=e.style,c=e.className,u=e.visible,s=e.forceRender,d=e.destroyOnClose,f=e.motionName,p=e.ariaId,m=e.onVisibleChanged,h=e.mousePosition,v=(0,l.useRef)(),g=Sr(l.useState(),2),y=g[0],b=g[1],x={};return y&&(x.transformOrigin=y),l.createElement(ul,{visible:u,onVisibleChanged:m,onAppearPrepare:r,onEnterPrepare:r,forceRender:s,motionName:f,removeOnLeave:d,ref:v},(function(r,u){var s=r.className,d=r.style;return l.createElement(Oh,eo({},e,{ref:t,title:a,ariaId:p,prefixCls:o,holderRef:u,style:wn(wn(wn({},d),i),x),className:n(hn)(c,s)}))}))}));Ih.displayName="Content";var Ph=Ih;l=a("8SyCD");function jh(e){var t=e.prefixCls,r=e.style,o=e.visible,a=e.maskProps,i=e.motionName,c=e.className;return l.createElement(ul,{key:"mask",visible:o,motionName:i,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,o){var i=e.className,u=e.style;return l.createElement("div",eo({ref:o,style:wn(wn({},u),r),className:n(hn)("".concat(t,"-mask"),i,c)},a))}))}function Nh(e){var t=function(e){null==v||v(e)},r=e.prefixCls,o=void 0===r?"rc-dialog":r,a=e.zIndex,i=e.visible,c=void 0!==i&&i,u=e.keyboard,s=void 0===u||u,d=e.focusTriggerAfterClose,f=void 0===d||d,p=e.wrapStyle,m=e.wrapClassName,h=e.wrapProps,v=e.onClose,g=e.afterOpenChange,y=e.afterClose,b=e.transitionName,x=e.animation,w=e.closable,S=void 0===w||w,C=e.mask,E=void 0===C||C,k=e.maskTransitionName,O=e.maskAnimation,I=e.maskClosable,P=void 0===I||I,j=e.maskStyle,N=e.maskProps,R=e.rootClassName,M=e.classNames,_=e.styles,D=(0,l.useRef)(),T=(0,l.useRef)(),z=(0,l.useRef)(),A=Sr(l.useState(c),2),L=A[0],B=A[1],F=mh(),H=(0,l.useRef)(!1),W=(0,l.useRef)(),V=null;return P&&(V=function(e){H.current?H.current=!1:T.current===e.target&&t(e)}),(0,l.useEffect)((function(){c&&(B(!0),cr(T.current,document.activeElement)||(D.current=document.activeElement))}),[c]),(0,l.useEffect)((function(){return function(){clearTimeout(W.current)}}),[]),l.createElement("div",eo({className:n(hn)("".concat(o,"-root"),R)},wh(e,{data:!0})),l.createElement(jh,{prefixCls:o,visible:E&&c,motionName:Sh(o,k,O),style:wn(wn({zIndex:a},j),null==_?void 0:_.mask),maskProps:N,className:null==M?void 0:M.mask}),l.createElement("div",eo({tabIndex:-1,onKeyDown:function(e){if(s&&e.keyCode===vh.ESC)return e.stopPropagation(),void t(e);c&&e.keyCode===vh.TAB&&z.current.changeActive(!e.shiftKey)},className:n(hn)("".concat(o,"-wrap"),m,null==M?void 0:M.wrapper),ref:T,onClick:V,style:wn(wn(wn({zIndex:a},p),null==_?void 0:_.wrapper),{},{display:L?null:"none"})},h),l.createElement(Ph,eo({},e,{onMouseDown:function(){clearTimeout(W.current),H.current=!0},onMouseUp:function(){W.current=setTimeout((function(){H.current=!1}))},ref:z,closable:S,ariaId:F,prefixCls:o,visible:c&&L,onClose:t,onVisibleChanged:function(e){if(e)cr(T.current,document.activeElement)||null===(t=z.current)||void 0===t||t.focus();else{if(B(!1),E&&D.current&&f){try{D.current.focus({preventScroll:!0})}catch(e){}D.current=null}L&&(null==y||y())}var t;null==g||g(e)},motionName:Sh(o,b,x)}))))}var Rh=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,a=void 0!==o&&o,i=e.afterClose,c=e.panelRef,u=Sr(l.useState(t),2),s=u[0],d=u[1],f=l.useMemo((function(){return{panel:c}}),[c]);return l.useEffect((function(){t&&d(!0)}),[t]),r||!a||s?l.createElement(dh.Provider,{value:f},l.createElement(sh,{open:t||r||s,autoDestroy:!1,getContainer:n,autoLock:t||s},l.createElement(Nh,eo({},e,{destroyOnClose:a,afterClose:function(){null==i||i(),d(!1)}})))):null};Rh.displayName="Dialog";var Mh=Rh;l=a("8SyCD");function _h(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n(l).createElement(Jm,null),a=function(e,t,n){return"boolean"==typeof e?e:void 0===t?!!n:!1!==t&&null!==t}(e,t,arguments.length>4&&void 0!==arguments[4]&&arguments[4]);if(!a)return[!1,null];var i="boolean"==typeof t||null==t?o:t;return[!0,r?r(i):i]}var Dh=function(e){if(ir()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1};function Th(e,t){return Array.isArray(e)||void 0===t?Dh(e):function(e,t){if(!Dh(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}(e,t)}function zh(){}var Ah=(l=a("8SyCD")).createContext({add:zh,remove:zh});l=a("8SyCD"),l=a("8SyCD");var Lh=function(){var e=(0,l.useContext)(Km),t=e.cancelButtonProps,r=e.cancelTextLocale,o=e.onCancel;return n(l).createElement(qs,Object.assign({onClick:o},t),r)},Bh=(l=a("8SyCD"),function(){var e=(0,l.useContext)(Km),t=e.confirmLoading,r=e.okButtonProps,o=e.okType,a=e.okTextLocale,i=e.onOk;return n(l).createElement(qs,Object.assign({},qu(o),{loading:t,onClick:i},r),a)});function Fh(e,t){return n(l).createElement("span",{className:"".concat(e,"-close-x")},t||n(l).createElement(Jm,{className:"".concat(e,"-close-icon")}))}var Hh=function(e){var t,r=e.okText,o=e.okType,a=void 0===o?"primary":o,i=e.cancelText,c=e.confirmLoading,u=e.onOk,s=e.onCancel,d=e.okButtonProps,f=e.cancelButtonProps,p=e.footer,m=y(Ra("Modal",ja()),1)[0],h={confirmLoading:c,okButtonProps:d,cancelButtonProps:f,okTextLocale:r||(null==m?void 0:m.okText),cancelTextLocale:i||(null==m?void 0:m.cancelText),okType:a,onOk:u,onCancel:s},v=n(l).useMemo((function(){return h}),zn(Object.values(h)));return"function"==typeof p||void 0===p?(t=n(l).createElement(n(l).Fragment,null,n(l).createElement(Lh,null),n(l).createElement(Bh,null)),"function"==typeof p&&(t=p(t,{OkBtn:Bh,CancelBtn:Lh})),t=n(l).createElement(Gm,{value:v},t)):t=p,n(l).createElement(Wi,{disabled:!1},t)},Wh=function(e,t,n,r){var o,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return I(o={},"\n ".concat(a).concat(e,"-enter,\n ").concat(a).concat(e,"-appear\n "),Object.assign(Object.assign({},function(e){return{animationDuration:e,animationFillMode:"both"}}(r)),{animationPlayState:"paused"})),I(o,"".concat(a).concat(e,"-leave"),Object.assign(Object.assign({},function(e){return{animationDuration:e,animationFillMode:"both"}}(r)),{animationPlayState:"paused"})),I(o,"\n ".concat(a).concat(e,"-enter").concat(e,"-enter-active,\n ").concat(a).concat(e,"-appear").concat(e,"-appear-active\n "),{animationName:t,animationPlayState:"running"}),I(o,"".concat(a).concat(e,"-leave").concat(e,"-leave-active"),{animationName:n,animationPlayState:"running",pointerEvents:"none"}),o},Vh=new aa("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Uh=new aa("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),Kh=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.antCls,o="".concat(r,"-fade"),a=n?"&":"";return[Wh(o,Vh,Uh,e.motionDurationMid,n),(t={},I(t,"\n ".concat(a).concat(o,"-enter,\n ").concat(a).concat(o,"-appear\n "),{opacity:0,animationTimingFunction:"linear"}),I(t,"".concat(a).concat(o,"-leave"),{animationTimingFunction:"linear"}),t)]},Gh=new aa("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Xh=new aa("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),qh=new aa("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),$h=new aa("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Yh=new aa("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Qh=new aa("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Jh={zoom:{inKeyframes:Gh,outKeyframes:Xh},"zoom-big":{inKeyframes:qh,outKeyframes:$h},"zoom-big-fast":{inKeyframes:qh,outKeyframes:$h},"zoom-left":{inKeyframes:new aa("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),outKeyframes:new aa("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}})},"zoom-right":{inKeyframes:new aa("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),outKeyframes:new aa("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:Yh,outKeyframes:Qh},"zoom-down":{inKeyframes:new aa("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new aa("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},Zh=function(e,t){var n,r=e.antCls,o="".concat(r,"-").concat(t),a=Jh[t],i=a.inKeyframes,c=a.outKeyframes;return[Wh(o,i,c,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),(n={},I(n,"\n ".concat(o,"-enter,\n ").concat(o,"-appear\n "),{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}}),I(n,"".concat(o,"-leave"),{animationTimingFunction:e.motionEaseInOutCirc}),n)]};function ev(e){return{position:e,inset:0}}var tv,nv=function(e){var t,n=e.componentCls,r=e.antCls;return[I({},"".concat(n,"-root"),(t={},I(t,"".concat(n).concat(r,"-zoom-enter, ").concat(n).concat(r,"-zoom-appear"),{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"}),I(t,"".concat(n).concat(r,"-zoom-leave ").concat(n,"-content"),{pointerEvents:"none"}),I(t,"".concat(n,"-mask"),Object.assign(Object.assign({},ev("fixed")),I({zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none"},"".concat(n,"-hidden"),{display:"none"}))),I(t,"".concat(n,"-wrap"),Object.assign(Object.assign({},ev("fixed")),I({zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},"&:has(".concat(n).concat(r,"-zoom-enter), &:has(").concat(n).concat(r,"-zoom-appear)"),{pointerEvents:"none"}))),t)),I({},"".concat(n,"-root"),Kh(e))]},rv=function(e){var t,n,r,o,a=e.componentCls;return[I({},"".concat(a,"-root"),(n={},I(n,"".concat(a,"-wrap-rtl"),{direction:"rtl"}),I(n,"".concat(a,"-centered"),I({textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'}},a,{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"})),I(n,"@media (max-width: ".concat(e.screenSMMax,")"),(t={},I(t,a,{maxWidth:"calc(100vw - 16px)",margin:"".concat(e.marginXS," auto")}),I(t,"".concat(a,"-centered"),I({},a,{flex:1})),t)),n)),I({},a,Object.assign(Object.assign({},Il(e)),(r={pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:"calc(100vw - ".concat(2*e.margin,"px)"),margin:"0 auto",paddingBottom:e.paddingLG},I(r,"".concat(a,"-title"),{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"}),I(r,"".concat(a,"-content"),{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:"".concat(e.paddingMD,"px ").concat(e.paddingContentHorizontalLG,"px")}),I(r,"".concat(a,"-close"),Object.assign({position:"absolute",top:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:"color ".concat(e.motionDurationMid,", background-color ").concat(e.motionDurationMid),"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:"".concat(e.modalCloseBtnSize,"px"),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},Rl(e))),I(r,"".concat(a,"-header"),{color:e.colorText,background:e.headerBg,borderRadius:"".concat(e.borderRadiusLG,"px ").concat(e.borderRadiusLG,"px 0 0"),marginBottom:e.marginXS}),I(r,"".concat(a,"-body"),{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"}),I(r,"".concat(a,"-footer"),I({textAlign:"end",background:e.footerBg,marginTop:e.marginSM},"".concat(e.antCls,"-btn + ").concat(e.antCls,"-btn:not(").concat(e.antCls,"-dropdown-trigger)"),{marginBottom:0,marginInlineStart:e.marginXS})),I(r,"".concat(a,"-open"),{overflow:"hidden"}),r))),I({},"".concat(a,"-pure-panel"),(o={top:"auto",padding:0,display:"flex",flexDirection:"column"},I(o,"".concat(a,"-content,\n ").concat(a,"-body,\n ").concat(a,"-confirm-body-wrapper"),{display:"flex",flexDirection:"column",flex:"auto"}),I(o,"".concat(a,"-confirm-body"),{marginBottom:"auto"}),o))]},ov=function(e){var t,n,r,o=e.componentCls,a=e.antCls,i="".concat(o,"-confirm");return I(r={},o,(I(t={},"".concat(o,"-content"),{padding:0}),I(t,"".concat(o,"-header"),{padding:e.modalHeaderPadding,borderBottom:"".concat(e.modalHeaderBorderWidth,"px ").concat(e.modalHeaderBorderStyle," ").concat(e.modalHeaderBorderColorSplit),marginBottom:0}),I(t,"".concat(o,"-body"),{padding:e.modalBodyPadding}),I(t,"".concat(o,"-footer"),{padding:"".concat(e.modalFooterPaddingVertical,"px ").concat(e.modalFooterPaddingHorizontal,"px"),borderTop:"".concat(e.modalFooterBorderWidth,"px ").concat(e.modalFooterBorderStyle," ").concat(e.modalFooterBorderColorSplit),borderRadius:"0 0 ".concat(e.borderRadiusLG,"px ").concat(e.borderRadiusLG,"px"),marginTop:0}),t)),I(r,i,(I(n={},"".concat(a,"-modal-body"),{padding:"".concat(2*e.padding,"px ").concat(2*e.padding,"px ").concat(e.paddingLG,"px")}),I(n,"".concat(i,"-body > ").concat(e.iconCls),{marginInlineEnd:e.margin}),I(n,"".concat(i,"-btns"),{marginTop:e.marginLG}),n)),r},av=function(e){var t=e.componentCls;return I({},"".concat(t,"-root"),I({},"".concat(t,"-wrap-rtl"),I({direction:"rtl"},"".concat(t,"-confirm-body"),{direction:"rtl"})))},iv=function(e){var t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Jl(e,{modalBodyPadding:e.paddingLG,modalHeaderPadding:"".concat(t,"px ").concat(e.paddingLG,"px"),modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderHeight:r*n+2*t,modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontSize*e.lineHeight,modalConfirmIconSize:e.fontSize*e.lineHeight})},cv=function(e){return{footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading}},lv=nu("Modal",(function(e){var t=iv(e);return[rv(t),av(t),nv(t),e.wireframe&&ov(t),Zh(t,"zoom")]}),cv),uv=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o ".concat(e.iconCls),{flex:"none",fontSize:c,marginInlineEnd:e.marginSM,marginTop:(f-c)/2}),I(t,"&-has-title > ".concat(e.iconCls),{marginTop:(d-c)/2}),t)),I(n,"".concat(s,"-paragraph"),{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:"calc(100% - ".concat(e.modalConfirmIconSize+e.marginSM,"px)")}),I(n,"".concat(s,"-title"),{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:a,lineHeight:i}),I(n,"".concat(s,"-content"),{color:e.colorText,fontSize:l,lineHeight:u}),I(n,"".concat(s,"-btns"),I({textAlign:"end",marginTop:e.marginSM},"".concat(e.antCls,"-btn + ").concat(e.antCls,"-btn"),{marginBottom:0,marginInlineStart:e.marginXS})),n)),I(r,"".concat(s,"-error ").concat(s,"-body > ").concat(e.iconCls),{color:e.colorError}),I(r,"".concat(s,"-warning ").concat(s,"-body > ").concat(e.iconCls,",\n ").concat(s,"-confirm ").concat(s,"-body > ").concat(e.iconCls),{color:e.colorWarning}),I(r,"".concat(s,"-info ").concat(s,"-body > ").concat(e.iconCls),{color:e.colorInfo}),I(r,"".concat(s,"-success ").concat(s,"-body > ").concat(e.iconCls),{color:e.colorSuccess}),r},fv=ru(["Modal","confirm"],(function(e){var t=iv(e);return[dv(t)]}),cv,{order:-1e3}),pv=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=3){if(!("transaction"in e))throw new TypeError("Invalid arguments to usePermission(db, table, obj): 1st arg must be a Dexie instance");if("string"!=typeof n)throw new TypeError("Invalid arguments to usePermission(db, table, obj): 2nd arg must be string");if(!o||"object"!=typeof o)throw new TypeError("Invalid arguments to usePermission(db, table, obj): 3rd arg must be an object");a=e}else{if(e instanceof t.Dexie)throw new TypeError("Invalid arguments to usePermission(db, table, obj): Missing table and obj arguments.");if("function"!=typeof e.table||"object"!=typeof e.db)throw new TypeError("Invalid arguments to usePermissions(). Expected usePermissions(entity: DexieCloudEntity) or usePermissions(db: Dexie, table: string, obj: DexieCloudObject)");a=e.db,o=e,n=e.table()}if(!("cloud"in a))throw new Error("usePermissions() is only for Dexie Cloud but there's no dexie-cloud-addon active in given db.");if(!("permissions"in a.cloud))throw new Error("usePermissions() requires a newer version of dexie-cloud-addon. Please upgrade it.");return r((function(){return a.cloud.permissions(o,n)}),[o.realmId,o.owner,n])},i=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(n);e.useLiveQuery=o,e.useObservable=r,e.usePermissions=a,Object.defineProperty(e,"__esModule",{value:!0})}(Wv,a("hYzT4"),a("8SyCD"));l=a("8SyCD"),l=a("8SyCD");var Vv=function(e){"use strict";j(n,e);var t=L(n);function n(){var e;return f(this,n),(e=t.call(this,"musicpal")).version(1).stores({rhythms:"++id, name, createdTime, updatedTime, preparatoryBeats, order, tempo, measures"}),e}return O(n,[{key:"init",value:function(){}}]),n}(a("hYzT4").default),Uv=(0,l.createContext)({dexie:null});function Kv(e){var t=e.dexie,n=e.children;return(0,i.jsx)(Uv.Provider,{value:{dexie:t},children:n})}function Gv(){var e=(0,l.useContext)(Uv).dexie;if(!e)throw new Error("unable to get dexie storage");return{dexie:e}}var Xv={};e(Xv,"default",(function(){return mw}),(function(e){return mw=e}));l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD");var qv=function(e){var t,r,o=e.prefixCls,a=e.className,i=e.style,c=e.size,u=e.shape,s=n(hn)((I(t={},"".concat(o,"-lg"),"large"===c),I(t,"".concat(o,"-sm"),"small"===c),t)),d=n(hn)((I(r={},"".concat(o,"-circle"),"circle"===u),I(r,"".concat(o,"-square"),"square"===u),I(r,"".concat(o,"-round"),"round"===u),r)),f=l.useMemo((function(){return"number"==typeof c?{width:c,height:c,lineHeight:"".concat(c,"px")}:{}}),[c]);return l.createElement("span",{className:n(hn)(o,s,d,a),style:Object.assign(Object.assign({},f),i)})},$v=new aa("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Yv=function(e){return{height:e,lineHeight:"".concat(e,"px")}},Qv=function(e){return Object.assign({width:e},Yv(e))},Jv=function(e){return Object.assign({width:5*e,minWidth:5*e},Yv(e))},Zv=function(e){return Object.assign({width:e},Yv(e))},eg=function(e,t,n){var r,o=e.skeletonButtonCls;return I(r={},"".concat(n).concat(o,"-circle"),{width:t,minWidth:t,borderRadius:"50%"}),I(r,"".concat(n).concat(o,"-round"),{borderRadius:t}),r},tg=function(e){return Object.assign({width:2*e,minWidth:2*e},Yv(e))},ng=function(e){var t,n,r,o,a,i=e.componentCls,c=e.skeletonAvatarCls,l=e.skeletonTitleCls,u=e.skeletonParagraphCls,s=e.skeletonButtonCls,d=e.skeletonInputCls,f=e.skeletonImageCls,p=e.controlHeight,m=e.controlHeightLG,h=e.controlHeightSM,v=e.gradientFromColor,g=e.padding,y=e.marginSM,b=e.borderRadius,x=e.titleHeight,w=e.blockRadius,S=e.paragraphLiHeight,C=e.controlHeightXS,E=e.paragraphMarginTop;return I(a={},"".concat(i),(I(r={display:"table",width:"100%"},"".concat(i,"-header"),(I(t={display:"table-cell",paddingInlineEnd:g,verticalAlign:"top"},"".concat(c),Object.assign({display:"inline-block",verticalAlign:"top",background:v},Qv(p))),I(t,"".concat(c,"-circle"),{borderRadius:"50%"}),I(t,"".concat(c,"-lg"),Object.assign({},Qv(m))),I(t,"".concat(c,"-sm"),Object.assign({},Qv(h))),t)),I(r,"".concat(i,"-content"),(I(n={display:"table-cell",width:"100%",verticalAlign:"top"},"".concat(l),I({width:"100%",height:x,background:v,borderRadius:w},"+ ".concat(u),{marginBlockStart:h})),I(n,"".concat(u),{padding:0,"> li":{width:"100%",height:S,listStyle:"none",background:v,borderRadius:w,"+ li":{marginBlockStart:C}}}),I(n,"".concat(u,"> li:last-child:not(:first-child):not(:nth-child(2))"),{width:"61%"}),n)),I(r,"&-round ".concat(i,"-content"),I({},"".concat(l,", ").concat(u," > li"),{borderRadius:b})),r)),I(a,"".concat(i,"-with-avatar ").concat(i,"-content"),I({},"".concat(l),I({marginBlockStart:y},"+ ".concat(u),{marginBlockStart:E}))),I(a,"".concat(i).concat(i,"-element"),Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},function(e){var t=e.borderRadiusSM,n=e.skeletonButtonCls,r=e.controlHeight,o=e.controlHeightLG,a=e.controlHeightSM,i=e.gradientFromColor;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(I({},"".concat(n),Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:2*r,minWidth:2*r},tg(r))),eg(e,r,n)),I({},"".concat(n,"-lg"),Object.assign({},tg(o)))),eg(e,o,"".concat(n,"-lg"))),I({},"".concat(n,"-sm"),Object.assign({},tg(a)))),eg(e,a,"".concat(n,"-sm")))}(e)),function(e){var t,n=e.skeletonAvatarCls,r=e.gradientFromColor,o=e.controlHeight,a=e.controlHeightLG,i=e.controlHeightSM;return I(t={},"".concat(n),Object.assign({display:"inline-block",verticalAlign:"top",background:r},Qv(o))),I(t,"".concat(n).concat(n,"-circle"),{borderRadius:"50%"}),I(t,"".concat(n).concat(n,"-lg"),Object.assign({},Qv(a))),I(t,"".concat(n).concat(n,"-sm"),Object.assign({},Qv(i))),t}(e)),function(e){var t,n=e.controlHeight,r=e.borderRadiusSM,o=e.skeletonInputCls,a=e.controlHeightLG,i=e.controlHeightSM,c=e.gradientFromColor;return I(t={},"".concat(o),Object.assign({display:"inline-block",verticalAlign:"top",background:c,borderRadius:r},Jv(n))),I(t,"".concat(o,"-lg"),Object.assign({},Jv(a))),I(t,"".concat(o,"-sm"),Object.assign({},Jv(i))),t}(e)),function(e){var t,n,r=e.skeletonImageCls,o=e.imageSizeBase,a=e.gradientFromColor,i=e.borderRadiusSM;return I(n={},"".concat(r),Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:a,borderRadius:i},Zv(2*o)),(I(t={},"".concat(r,"-path"),{fill:"#bfbfbf"}),I(t,"".concat(r,"-svg"),Object.assign(Object.assign({},Zv(o)),{maxWidth:4*o,maxHeight:4*o})),I(t,"".concat(r,"-svg").concat(r,"-svg-circle"),{borderRadius:"50%"}),t))),I(n,"".concat(r).concat(r,"-circle"),{borderRadius:"50%"}),n}(e))),I(a,"".concat(i).concat(i,"-block"),(I(o={width:"100%"},"".concat(s),{width:"100%"}),I(o,"".concat(d),{width:"100%"}),o)),I(a,"".concat(i).concat(i,"-active"),I({},"\n ".concat(l,",\n ").concat(u," > li,\n ").concat(c,",\n ").concat(s,",\n ").concat(d,",\n ").concat(f,"\n "),Object.assign({},function(e){return{background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:$v,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}}(e)))),a},rg=nu("Skeleton",(function(e){var t=e.componentCls,n=Jl(e,{skeletonAvatarCls:"".concat(t,"-avatar"),skeletonTitleCls:"".concat(t,"-title"),skeletonParagraphCls:"".concat(t,"-paragraph"),skeletonButtonCls:"".concat(t,"-button"),skeletonInputCls:"".concat(t,"-input"),skeletonImageCls:"".concat(t,"-image"),imageSizeBase:1.5*e.controlHeight,borderRadius:100,skeletonLoadingBackground:"linear-gradient(90deg, ".concat(e.gradientFromColor," 25%, ").concat(e.gradientToColor," 37%, ").concat(e.gradientFromColor," 63%)"),skeletonLoadingMotionDuration:"1.4s"});return[ng(n)]}),(function(e){var t=e.colorFillContent,n=e.colorFill;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),og=function(e){var t=e.prefixCls,r=e.className,o=e.rootClassName,a=e.active,i=e.shape,c=void 0===i?"circle":i,u=e.size,s=void 0===u?"default":u,d=(0,l.useContext(Li).getPrefixCls)("skeleton",t),f=y(rg(d),2),p=f[0],m=f[1],h=Sn(e,["prefixCls","className"]),v=n(hn)(d,"".concat(d,"-element"),I({},"".concat(d,"-active"),a),r,o,m);return p(l.createElement("div",{className:v},l.createElement(qv,Object.assign({prefixCls:"".concat(d,"-avatar"),shape:c,size:s},h))))},ag=(l=a("8SyCD"),function(e){var t,r=e.prefixCls,o=e.className,a=e.rootClassName,i=e.active,c=e.block,u=void 0!==c&&c,s=e.size,d=void 0===s?"default":s,f=(0,l.useContext(Li).getPrefixCls)("skeleton",r),p=y(rg(f),2),m=p[0],h=p[1],v=Sn(e,["prefixCls"]),g=n(hn)(f,"".concat(f,"-element"),(I(t={},"".concat(f,"-active"),i),I(t,"".concat(f,"-block"),u),t),o,a,h);return m(l.createElement("div",{className:g},l.createElement(qv,Object.assign({prefixCls:"".concat(f,"-button"),size:d},v))))}),ig=(l=a("8SyCD"),function(e){var t=e.prefixCls,r=e.className,o=e.rootClassName,a=e.style,i=e.active,c=(0,l.useContext(Li).getPrefixCls)("skeleton",t),u=y(rg(c),2),s=u[0],d=u[1],f=n(hn)(c,"".concat(c,"-element"),I({},"".concat(c,"-active"),i),r,o,d);return s(l.createElement("div",{className:f},l.createElement("div",{className:n(hn)("".concat(c,"-image"),r),style:a},l.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(c,"-image-svg")},l.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(c,"-image-path")})))))}),cg=(l=a("8SyCD"),function(e){var t,r=e.prefixCls,o=e.className,a=e.rootClassName,i=e.active,c=e.block,u=e.size,s=void 0===u?"default":u,d=(0,l.useContext(Li).getPrefixCls)("skeleton",r),f=y(rg(d),2),p=f[0],m=f[1],h=Sn(e,["prefixCls"]),v=n(hn)(d,"".concat(d,"-element"),(I(t={},"".concat(d,"-active"),i),I(t,"".concat(d,"-block"),c),t),o,a,m);return p(l.createElement("div",{className:v},l.createElement(qv,Object.assign({prefixCls:"".concat(d,"-input"),size:s},h))))}),lg=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"}),ug=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:lg}))},sg=l.forwardRef(ug),dg=(l=a("8SyCD"),function(e){var t=e.prefixCls,r=e.className,o=e.rootClassName,a=e.style,i=e.active,c=e.children,u=(0,l.useContext(Li).getPrefixCls)("skeleton",t),s=y(rg(u),2),d=s[0],f=s[1],p=n(hn)(u,"".concat(u,"-element"),I({},"".concat(u,"-active"),i),f,r,o),m=null!=c?c:l.createElement(sg,null);return d(l.createElement("div",{className:p},l.createElement("div",{className:n(hn)("".concat(u,"-image"),r),style:a},m)))}),fg=(l=a("8SyCD"),function(e){var t=function(t){var n=e.width,r=e.rows,o=void 0===r?2:r;return Array.isArray(n)?n[t]:o-1===t?n:void 0},r=e.prefixCls,o=e.className,a=e.style,i=e.rows,c=zn(Array(i)).map((function(e,n){return l.createElement("li",{key:n,style:{width:t(n)}})}));return l.createElement("ul",{className:n(hn)(r,o),style:a},c)}),pg=(l=a("8SyCD"),function(e){var t=e.prefixCls,r=e.className,o=e.width,a=e.style;return l.createElement("h3",{className:n(hn)(t,r),style:Object.assign({width:o},a)})});function mg(e){return e&&"object"==typeof e?e:{}}var hg=function(e){var t=e.prefixCls,r=e.loading,o=e.className,a=e.rootClassName,i=e.style,c=e.children,u=e.avatar,s=void 0!==u&&u,d=e.title,f=void 0===d||d,p=e.paragraph,m=void 0===p||p,h=e.active,v=e.round,g=l.useContext(Li),b=g.getPrefixCls,x=g.direction,w=g.skeleton,S=b("skeleton",t),C=y(rg(S),2),E=C[0],k=C[1];if(r||!("loading"in e)){var O,P,j,N=!!s,R=!!f,M=!!m;if(N){var _=Object.assign(Object.assign({prefixCls:"".concat(S,"-avatar")},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(R,M)),mg(s));O=l.createElement("div",{className:"".concat(S,"-header")},l.createElement(qv,Object.assign({},_)))}if(R||M){var D,T;if(R){var z=Object.assign(Object.assign({prefixCls:"".concat(S,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(N,M)),mg(f));D=l.createElement(pg,Object.assign({},z))}if(M){var A=Object.assign(Object.assign({prefixCls:"".concat(S,"-paragraph")},function(e,t){var n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(N,R)),mg(m));T=l.createElement(fg,Object.assign({},A))}P=l.createElement("div",{className:"".concat(S,"-content")},D,T)}var L=n(hn)(S,(I(j={},"".concat(S,"-with-avatar"),N),I(j,"".concat(S,"-active"),h),I(j,"".concat(S,"-rtl"),"rtl"===x),I(j,"".concat(S,"-round"),v),j),null==w?void 0:w.className,o,a,k);return E(l.createElement("div",{className:L,style:Object.assign(Object.assign({},null==w?void 0:w.style),i)},O,P))}return void 0!==c?c:null};hg.Button=ag,hg.Avatar=og,hg.Input=cg,hg.Image=ig,hg.Node=dg;var vg=hg,gg={};e(gg,"default",(function(){return iw}),(function(e){return iw=e}));l=a("8SyCD"),l=a("8SyCD");var yg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},bg=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:yg}))},xg=l.forwardRef(bg),wg=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"}),Sg=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:wg}))},Cg=l.forwardRef(Sg),Eg=(l=a("8SyCD"),l=a("8SyCD"),function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}),kg=(l=a("8SyCD"),(0,(l=a("8SyCD")).createContext)(null)),Og=(l=a("8SyCD")).forwardRef((function(e,t){var r=e.prefixCls,o=e.className,a=e.style,i=e.id,c=e.active,u=e.tabKey,s=e.children;return l.createElement("div",{id:i&&"".concat(i,"-panel-").concat(u),role:"tabpanel",tabIndex:c?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(u),"aria-hidden":!c,style:a,className:n(hn)(r,c&&"".concat(r,"-active"),o),ref:t},s)})),Ig=["key","forceRender","style","className"];function Pg(e){var t=e.id,r=e.activeKey,o=e.animated,a=e.tabPosition,i=e.destroyInactiveTabPane,c=l.useContext(kg),u=c.prefixCls,s=c.tabs,d=o.tabPane,f="".concat(u,"-tabpane");return l.createElement("div",{className:n(hn)("".concat(u,"-content-holder"))},l.createElement("div",{className:n(hn)("".concat(u,"-content"),"".concat(u,"-content-").concat(a),bn({},"".concat(u,"-content-animated"),d))},s.map((function(e){var a=e.key,c=e.forceRender,u=e.style,s=e.className,p=Bn(e,Ig),m=a===r;return l.createElement(ul,eo({key:a,visible:m,forceRender:c,removeOnLeave:!!i,leavedClassName:"".concat(f,"-hidden")},o.tabPaneMotion),(function(e,r){var o=e.style,i=e.className;return l.createElement(Og,eo({},p,{prefixCls:f,id:t,tabKey:a,animated:d,active:m,style:wn(wn({},u),o),className:n(hn)(s,i),ref:r}))}))}))))}l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD");var jg={width:0,height:0,left:0,top:0};function Ng(e,t,n){return(0,l.useMemo)((function(){for(var n,r=new Map,o=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||jg,a=o.left+o.width,i=0;ii?(o=n,v.current="x"):(o=r,v.current="y"),t(-o,-o)&&e.preventDefault()}},l.useEffect((function(){var t=function(e){g.current.onTouchMove(e)},n=function(e){g.current.onTouchEnd(e)};return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){g.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){g.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}l=a("8SyCD");function Ag(e){var t=Sr((0,l.useState)(0),2),n=t[0],r=t[1],o=(0,l.useRef)(0),a=(0,l.useRef)();return a.current=e,Fr((function(){var e;null===(e=a.current)||void 0===e||e.call(a)}),[n]),function(){o.current===n&&(o.current+=1,r(o.current))}}l=a("8SyCD");var Lg={width:0,height:0,left:0,top:0,right:0};function Bg(e,t,n,r,o,a,i){var c,u,s,d=i.tabs,f=i.tabPosition,p=i.rtl;return["top","bottom"].includes(f)?(c="width",u=p?"right":"left",s=Math.abs(n)):(c="height",u="top",s=-n),(0,l.useMemo)((function(){if(!d.length)return[0,0];for(var n=d.length,r=n,o=0;os+t){r=o-1;break}}for(var i=0,l=n-1;l>=0;l-=1){if((e.get(d[l].key)||Lg)[u]=r?[0,0]:[i,r]}),[e,t,r,o,a,s,f,d.map((function(e){return e.key})).join("_"),p])}function Fg(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}var Hg="TABS_DQ";function Wg(e){return String(e).replace(/"/g,Hg)}function Vg(e,t,n,r){return!(!n||r||!1===e||void 0===e&&(!1===t||null===t))}function Ug(e,t){var n=e.prefixCls,r=e.editable,o=e.locale,a=e.style;return r&&!1!==r.showAdd?l.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:a,"aria-label":(null==o?void 0:o.addAriaLabel)||"Add tab",onClick:function(e){r.onEdit("add",{event:e})}},r.addIcon||"+"):null}var Kg=(l=a("8SyCD")).forwardRef(Ug),Gg=(l=a("8SyCD")).forwardRef((function(e,t){var n,r=e.position,o=e.prefixCls,a=e.extra;if(!a)return null;var i={};return"object"!==vn(a)||l.isValidElement(a)?i.right=a:i=a,"right"===r&&(n=i.right),"left"===r&&(n=i.left),n?l.createElement("div",{className:"".concat(o,"-extra-content"),ref:t},n):null})),Xg=(l=a("8SyCD"),(l=a("8SyCD")).createContext(null));l=a("8SyCD");function qg(e){return e?Array.isArray(e)?e:[e]:[]}function $g(e,t,n,r){return l.useMemo((function(){var o=qg(null!=n?n:t),a=qg(null!=r?r:t),i=new Set(o),c=new Set(a);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),c.has("hover")&&(c.delete("hover"),c.add("click"))),[i,c]}),[e,t,n,r])}l=a("8SyCD");function Yg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function Qg(e,t,n,r){for(var o=n.points,a=Object.keys(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function ny(e){return ty(parseFloat(e),0)}function ry(e,t){var n=wn({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=Zg(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,a=t.borderTopWidth,i=t.borderBottomWidth,c=t.borderLeftWidth,l=t.borderRightWidth,u=e.getBoundingClientRect(),s=e.offsetHeight,d=e.clientHeight,f=e.offsetWidth,p=e.clientWidth,m=ny(a),h=ny(i),v=ny(c),g=ny(l),y=ty(Math.round(u.width/f*1e3)/1e3),b=ty(Math.round(u.height/s*1e3)/1e3),x=(f-p-v-g)*y,w=(s-d-m-h)*b,S=m*b,C=h*b,E=v*y,k=g*y,O=0,I=0;if("clip"===r){var P=ny(o);O=P*y,I=P*b}var j=u.x+E-O,N=u.y+S-I,R=j+u.width+2*O-E-k-x,M=N+u.height+2*I-S-C-w;n.left=Math.max(n.left,j),n.top=Math.max(n.top,N),n.right=Math.min(n.right,R),n.bottom=Math.min(n.bottom,M)}})),n}function oy(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function ay(e,t){var n=Sr(t||[],2),r=n[0],o=n[1];return[oy(e.width,r),oy(e.height,o)]}function iy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function cy(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function ly(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}function uy(e,t,n,r,o,a,i){var c=Sr(l.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),2),u=c[0],s=c[1],d=l.useRef(0),f=l.useMemo((function(){return t?ey(t):[]}),[t]),p=l.useRef({});e||(p.current={});var m=Xl((function(){if(t&&n&&e){var c,l,u,d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:q,r=P.x+e,o=P.y+t,a=r+A,i=o+z,c=Math.max(r,n.left),l=Math.max(o,n.top),u=Math.min(a,n.right),s=Math.min(i,n.bottom);return Math.max(0,(u-c)*(s-l))},m=function(){ce=P.y+be,le=ce+z,ue=P.x+ye,se=ue+A},h=t,v=h.ownerDocument,g=Zg(h).getComputedStyle(h),y=g.width,b=g.height,x=g.position,w=h.style.left,S=h.style.top,C=h.style.right,E=h.style.bottom,k=wn(wn({},o[r]),a),O=v.createElement("div");if(null===(c=h.parentElement)||void 0===c||c.appendChild(O),O.style.left="".concat(h.offsetLeft,"px"),O.style.top="".concat(h.offsetTop,"px"),O.style.position=x,O.style.height="".concat(h.offsetHeight,"px"),O.style.width="".concat(h.offsetWidth,"px"),h.style.left="0",h.style.top="0",h.style.right="auto",h.style.bottom="auto",Array.isArray(n))u={x:n[0],y:n[1],width:0,height:0};else{var I=n.getBoundingClientRect();u={x:I.x,y:I.y,width:I.width,height:I.height}}var P=h.getBoundingClientRect(),j=v.documentElement,N=j.clientWidth,R=j.clientHeight,M=j.scrollWidth,_=j.scrollHeight,D=j.scrollTop,T=j.scrollLeft,z=P.height,A=P.width,L=u.height,B=u.width,F={left:0,top:0,right:N,bottom:R},H={left:-T,top:-D,right:M-T,bottom:_-D},W=k.htmlRegion,V="visible",U="visibleFirst";"scroll"!==W&&W!==U&&(W=V);var K=W===U,G=ry(H,f),X=ry(F,f),q=W===V?X:G,$=K?X:q;h.style.left="auto",h.style.top="auto",h.style.right="0",h.style.bottom="0";var Y=h.getBoundingClientRect();h.style.left=w,h.style.top=S,h.style.right=C,h.style.bottom=E,null===(l=h.parentElement)||void 0===l||l.removeChild(O);var Q=ty(Math.round(A/parseFloat(y)*1e3)/1e3),J=ty(Math.round(z/parseFloat(b)*1e3)/1e3);if(0===Q||0===J||$i(n)&&!jn(n))return;var Z=k.offset,ee=k.targetOffset,te=Sr(ay(P,Z),2),ne=te[0],re=te[1],oe=Sr(ay(u,ee),2),ae=oe[0],ie=oe[1];u.x-=ae,u.y-=ie;var ce,le,ue,se,de=Sr(k.points||[],2),fe=de[0],pe=iy(de[1]),me=iy(fe),he=cy(u,pe),ve=cy(P,me),ge=wn({},k),ye=he.x-ve.x+ne,be=he.y-ve.y+re,xe=d(ye,be),we=d(ye,be,X),Se=cy(u,["t","l"]),Ce=cy(P,["t","l"]),Ee=cy(u,["b","r"]),ke=cy(P,["b","r"]),Oe=k.overflow||{},Ie=Oe.adjustX,Pe=Oe.adjustY,je=Oe.shiftX,Ne=Oe.shiftY,Re=function(e){return"boolean"==typeof e?e:e>=0};m();var Me=Re(Pe),_e=me[0]===pe[0];if(Me&&"t"===me[0]&&(le>$.bottom||p.current.bt)){var De=be;_e?De-=z-L:De=Se.y-ke.y-re;var Te=d(ye,De),ze=d(ye,De,X);Te>xe||Te===xe&&(!K||ze>=we)?(p.current.bt=!0,be=De,re=-re,ge.points=[ly(me,0),ly(pe,0)]):p.current.bt=!1}if(Me&&"b"===me[0]&&(ce<$.top||p.current.tb)){var Ae=be;_e?Ae+=z-L:Ae=Ee.y-Ce.y-re;var Le=d(ye,Ae),Be=d(ye,Ae,X);Le>xe||Le===xe&&(!K||Be>=we)?(p.current.tb=!0,be=Ae,re=-re,ge.points=[ly(me,0),ly(pe,0)]):p.current.tb=!1}var Fe=Re(Ie),He=me[1]===pe[1];if(Fe&&"l"===me[1]&&(se>$.right||p.current.rl)){var We=ye;He?We-=A-B:We=Se.x-ke.x-ne;var Ve=d(We,be),Ue=d(We,be,X);Ve>xe||Ve===xe&&(!K||Ue>=we)?(p.current.rl=!0,ye=We,ne=-ne,ge.points=[ly(me,1),ly(pe,1)]):p.current.rl=!1}if(Fe&&"r"===me[1]&&(ue<$.left||p.current.lr)){var Ke=ye;He?Ke+=A-B:Ke=Ee.x-Ce.x-ne;var Ge=d(Ke,be),Xe=d(Ke,be,X);Ge>xe||Ge===xe&&(!K||Xe>=we)?(p.current.lr=!0,ye=Ke,ne=-ne,ge.points=[ly(me,1),ly(pe,1)]):p.current.lr=!1}m();var qe=!0===je?0:je;"number"==typeof qe&&(ueX.right&&(ye-=se-X.right-ne,u.x>X.right-qe&&(ye+=u.x-X.right+qe)));var $e=!0===Ne?0:Ne;"number"==typeof $e&&(ceX.bottom&&(be-=le-X.bottom-re,u.y>X.bottom-$e&&(be+=u.y-X.bottom+$e)));var Ye=P.x+ye,Qe=Ye+A,Je=P.y+be,Ze=Je+z,et=u.x,tt=et+B,nt=u.y,rt=nt+L,ot=(Math.max(Ye,et)+Math.min(Qe,tt))/2-Ye,at=(Math.max(Je,nt)+Math.min(Ze,rt))/2-Je;null==i||i(t,ge);var it=Y.right-P.x-(ye+P.width),ct=Y.bottom-P.y-(be+P.height);s({ready:!0,offsetX:ye/Q,offsetY:be/J,offsetR:it/Q,offsetB:ct/J,arrowX:ot/Q,arrowY:at/J,scaleX:Q,scaleY:J,align:ge})}})),h=function(){s((function(e){return wn(wn({},e),{},{ready:!1})}))};return Hr(h,[r]),Hr((function(){e||h()}),[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,function(){d.current+=1;var e=d.current;Promise.resolve().then((function(){d.current===e&&m()}))}]}function sy(e,t,n,r,o){Hr((function(){if(e&&t&&n){var a=function(){r(),o()},i=n,c=ey(t),l=ey(i),u=Zg(i),s=new Set([u].concat(zn(c),zn(l)));return s.forEach((function(e){e.addEventListener("scroll",a,{passive:!0})})),u.addEventListener("resize",a,{passive:!0}),r(),function(){s.forEach((function(e){e.removeEventListener("scroll",a),u.removeEventListener("resize",a)}))}}}),[e,t,n])}l=a("8SyCD");function dy(e,t,n,r,o,a,i,c){var u=l.useRef(e),s=l.useRef(!1);u.current!==e&&(s.current=!0,u.current=e),l.useEffect((function(){var e=Vc((function(){s.current=!1}));return function(){Vc.cancel(e)}}),[e]),l.useEffect((function(){if(t&&r&&(!o||a)){var e=function(){var e=!1;return[function(t){var n=t.target;e=i(n)},function(t){var n=t.target;s.current||!u.current||e||i(n)||c(!1)}]},l=Sr(e(),2),d=l[0],f=l[1],p=Sr(e(),2),m=p[0],h=p[1],v=Zg(r);v.addEventListener("mousedown",d,!0),v.addEventListener("click",f,!0),v.addEventListener("contextmenu",f,!0);var g=ts(n);return g&&(g.addEventListener("mousedown",m,!0),g.addEventListener("click",h,!0),g.addEventListener("contextmenu",h,!0)),function(){v.removeEventListener("mousedown",d,!0),v.removeEventListener("click",f,!0),v.removeEventListener("contextmenu",f,!0),g&&(g.removeEventListener("mousedown",m,!0),g.removeEventListener("click",h,!0),g.removeEventListener("contextmenu",h,!0))}}}),[t,n,r,o,a])}l=a("8SyCD"),l=a("8SyCD");function fy(e){var t=e.prefixCls,r=e.align,o=e.arrow,a=e.arrowPos,i=o||{},c=i.className,u=i.content,s=a.x,d=void 0===s?0:s,f=a.y,p=void 0===f?0:f,m=l.useRef();if(!r||!r.points)return null;var h={position:"absolute"};if(!1!==r.autoArrow){var v=r.points[0],g=r.points[1],y=v[0],b=v[1],x=g[0],w=g[1];y!==x&&["t","b"].includes(y)?"t"===y?h.top=0:h.bottom=0:h.top=p,b!==w&&["l","r"].includes(b)?"l"===b?h.left=0:h.right=0:h.left=d}return l.createElement("div",{ref:m,className:n(hn)("".concat(t,"-arrow"),c),style:h},u)}l=a("8SyCD");function py(e){var t=e.prefixCls,r=e.open,o=e.zIndex,a=e.mask,i=e.motion;return a?l.createElement(ul,eo({},i,{motionAppear:!0,visible:r,removeOnLeave:!0}),(function(e){var r=e.className;return l.createElement("div",{style:{zIndex:o},className:n(hn)("".concat(t,"-mask"),r)})})):null}var my=(l=a("8SyCD")).memo((function(e){return e.children}),(function(e,t){return t.cache})),hy=l.forwardRef((function(e,t){var r=e.popup,o=e.className,a=e.prefixCls,i=e.style,c=e.target,u=e.onVisibleChanged,s=e.open,d=e.keepDom,f=e.fresh,p=e.onClick,m=e.mask,h=e.arrow,v=e.arrowPos,g=e.align,y=e.motion,b=e.maskMotion,x=e.forceRender,w=e.getPopupContainer,S=e.autoDestroy,C=e.portal,E=e.zIndex,k=e.onMouseEnter,O=e.onMouseLeave,I=e.onPointerEnter,P=e.ready,j=e.offsetX,N=e.offsetY,R=e.offsetR,M=e.offsetB,_=e.onAlign,D=e.onPrepare,T=e.stretch,z=e.targetWidth,A=e.targetHeight,L="function"==typeof r?r():r,B=s||d,F=(null==w?void 0:w.length)>0,H=Sr(l.useState(!w||!F),2),W=H[0],V=H[1];if(Hr((function(){!W&&F&&c&&V(!0)}),[W,F,c]),!W)return null;var U="auto",K={left:"-1000vw",top:"-1000vh",right:U,bottom:U};if(P||!s){var G,X=g.points,q=g.dynamicInset||(null===(G=g._experimental)||void 0===G?void 0:G.dynamicInset),$=q&&"r"===X[0][1],Y=q&&"b"===X[0][0];$?(K.right=R,K.left=U):(K.left=j,K.right=U),Y?(K.bottom=M,K.top=U):(K.top=N,K.bottom=U)}var Q={};return T&&(T.includes("height")&&A?Q.height=A:T.includes("minHeight")&&A&&(Q.minHeight=A),T.includes("width")&&z?Q.width=z:T.includes("minWidth")&&z&&(Q.minWidth=z)),s||(Q.pointerEvents="none"),l.createElement(C,{open:x||B,getContainer:w&&function(){return w(c)},autoDestroy:S},l.createElement(py,{prefixCls:a,open:s,zIndex:E,mask:m,motion:b}),l.createElement(fm,{onResize:_,disabled:!s},(function(e){return l.createElement(ul,eo({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:x,leavedClassName:"".concat(a,"-hidden")},y,{onAppearPrepare:D,onEnterPrepare:D,visible:s,onVisibleChanged:function(e){var t;null==y||null===(t=y.onVisibleChanged)||void 0===t||t.call(y,e),u(e)}}),(function(r,c){var u=r.className,d=r.style,m=n(hn)(a,u,o);return l.createElement("div",{ref:On(e,t,c),className:m,style:wn(wn(wn(wn({"--arrow-x":"".concat(v.x||0,"px"),"--arrow-y":"".concat(v.y||0,"px")},K),Q),d),{},{boxSizing:"border-box",zIndex:E},i),onMouseEnter:k,onMouseLeave:O,onPointerEnter:I,onClick:p},h&&l.createElement(fy,{prefixCls:a,arrow:h,arrowPos:v,align:g}),l.createElement(my,{cache:!s&&!f},L))}))})))})),vy=(l=a("8SyCD")).forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=Pn(n),a=In(l.useCallback((function(e){kn(t,r?r(e):e)}),[r]),n.ref);return o?l.cloneElement(n,{ref:a}):n})),gy=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];var yy=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sh,t=l.forwardRef((function(t,r){var o=function(e,t,n,r){ye[e]=function(o){var a;null==r||r(o),Re(t,n);for(var i=arguments.length,c=new Array(i>1?i-1:0),l=1;l1&&void 0!==arguments[1]?arguments[1]:0;Ne(),0===t?Pe(e):je.current=setTimeout((function(){Pe(e)}),1e3*t)};l.useEffect((function(){return Ne}),[]);var Me=Sr(l.useState(!1),2),_e=Me[0],De=Me[1];Hr((function(e){e&&!ke||De(!0)}),[ke]);var Te=Sr(l.useState(null),2),ze=Te[0],Ae=Te[1],Le=Sr(l.useState([0,0]),2),Be=Le[0],Fe=Le[1],He=function(e){Fe([e.clientX,e.clientY])},We=Sr(uy(ke,ue,H?Be:pe,_,T,z,V),11),Ve=We[0],Ue=We[1],Ke=We[2],Ge=We[3],Xe=We[4],qe=We[5],$e=We[6],Ye=We[7],Qe=We[8],Je=We[9],Ze=We[10],et=Sr($g(ne,d,f,p),2),tt=et[0],nt=et[1],rt=tt.has("click"),ot=nt.has("click")||nt.has("contextMenu"),at=Xl((function(){_e||Ze()}));sy(ke,pe,ue,at,(function(){Ie.current&&H&&ot&&Re(!1)})),Hr((function(){at()}),[Be,_]),Hr((function(){!ke||null!=T&&T[_]||at()}),[JSON.stringify(z)]);var it=l.useMemo((function(){var e=Qg(T,i,Je,H);return n(hn)(e,null==B?void 0:B(Je))}),[Je,B,T,i,H]);l.useImperativeHandle(r,(function(){return{forceAlign:at}}));var ct=Sr(l.useState(0),2),lt=ct[0],ut=ct[1],st=Sr(l.useState(0),2),dt=st[0],ft=st[1],pt=function(){if(L&&pe){var e=pe.getBoundingClientRect();ut(e.width),ft(e.height)}};Hr((function(){ze&&(Ze(),ze(),Ae(null))}),[ze]),(rt||ot)&&(ye.onClick=function(e){var t;Ie.current&&ot?Re(!1):!Ie.current&&rt&&(He(e),Re(!0));for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1?n-1:0),o=1;ob,le=(0,l.useMemo)((function(){var e=s;return ae?e=null===R&&P?s:s.slice(0,Math.min(s.length,_/h)):"number"==typeof b&&(e=s.slice(0,b)),e}),[s,h,R,b,ae]),ue=(0,l.useMemo)((function(){return ae?s.slice(J+1):s.slice(le.length)}),[s,le,ae,J]),se=(0,l.useCallback)((function(e,t){var n;return"function"==typeof p?p(e):null!==(n=p&&(null==e?void 0:e[p]))&&void 0!==n?n:t}),[p]),de=(0,l.useCallback)(d||function(e){return e},[d]);Hr((function(){if(_&&"number"==typeof re&&le){var e=U,t=le.length,n=t-1;if(!t)return void r(0,null);for(var o=0;o_){r(o-1,e-i-U+H);break}}S&&a(0)+U>_&&q(null)}}),[_,T,H,U,se,le]);var fe=ee&&!!ue.length,pe={};null!==X&&ae&&(pe={position:"absolute",left:X,top:0});var me,he={prefixCls:ne,responsive:ae,component:k,invalidate:ie},ve=f?function(e,t){var n=se(e,t);return l.createElement(Ay.Provider,{key:n,value:wn(wn({},he),{},{order:t,item:e,itemKey:n,registerSize:o,display:t<=J})},f(e,t))}:function(e,t){var n=se(e,t);return l.createElement(_y,eo({},he,{order:t,key:n,item:e,renderItem:de,itemKey:n,registerSize:o,display:t<=J}))},ge={order:fe?J:Number.MAX_SAFE_INTEGER,className:"".concat(ne,"-rest"),registerSize:function(e,t){W(t),B(H)},display:fe};if(w)w&&(me=l.createElement(Ay.Provider,{value:wn(wn({},he),ge)},w(ue)));else{var ye=x||Xy;me=l.createElement(_y,eo({},he,ge),"function"==typeof ye?ye(ue):ye)}var be=l.createElement(E,eo({className:n(hn)(!ie&&c,y),style:g,ref:t},I),le.map(ve),ce?me:null,S&&l.createElement(_y,eo({},he,{responsive:oe,responsiveDisabled:!ae,order:J,className:"".concat(ne,"-suffix"),registerSize:function(e,t){K(t)},display:!0,style:pe}),S));return oe&&(be=l.createElement(fm,{onResize:function(e,t){M(t.clientWidth)},disabled:!ae},be)),be}var $y=l.forwardRef(qy);$y.displayName="Overflow",$y.Item=Vy,$y.RESPONSIVE=Ky,$y.INVALIDATE=Gy;var Yy=$y,Qy=(l=a("8SyCD"),l=a("8SyCD"),(l=a("8SyCD")).createContext(null));function Jy(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function Zy(e){return Jy(l.useContext(Qy),e)}l=a("8SyCD");var eb=["children","locked"],tb=l.createContext(null);function nb(e){var t=e.children,n=e.locked,r=Bn(e,eb),o=l.useContext(tb),a=En((function(){return e=r,t=wn({},o),Object.keys(e).forEach((function(n){var r=e[n];void 0!==r&&(t[n]=r)})),t;var e,t}),[o,r],(function(e,t){return!(n||e[0]===t[0]&&$n(e[1],t[1],!0))}));return l.createElement(tb.Provider,{value:a},t)}var rb=[],ob=(l=a("8SyCD")).createContext(null);function ab(){return l.useContext(ob)}var ib=l.createContext(rb);function cb(e){var t=l.useContext(ib);return l.useMemo((function(){return void 0!==e?[].concat(zn(t),[e]):t}),[t,e])}var lb=l.createContext(null),ub=(l=a("8SyCD")).createContext({});l=a("8SyCD");function sb(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(jn(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),a=Number(o),i=null;return o&&!Number.isNaN(a)?i=a:r&&null===i&&(i=0),r&&e.disabled&&(i=null),null!==i&&(i>=0||t&&i<0)}return!1}function db(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=zn(e.querySelectorAll("*")).filter((function(e){return sb(e,t)}));return sb(e,t)&&n.unshift(e),n}var fb=vh.LEFT,pb=vh.RIGHT,mb=vh.UP,hb=vh.DOWN,vb=vh.ENTER,gb=vh.ESC,yb=vh.HOME,bb=vh.END,xb=[mb,hb,fb,pb];function wb(e,t){return db(e,!0).filter((function(e){return t.has(e)}))}function Sb(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=wb(e,t),a=o.length,i=o.findIndex((function(e){return n===e}));return r<0?-1===i?i=a-1:i-=1:r>0&&(i+=1),o[i=(i+a)%a]}function Cb(e,t,n,r,o,a,i,c,u,s){var d=l.useRef(),f=l.useRef();f.current=t;var p=function(){Vc.cancel(d.current)};return l.useEffect((function(){return function(){p()}}),[]),function(l){var m=l.which;if([].concat(xb,[vb,gb,yb,bb]).includes(m)){var h,v,g,y=function(){return h=new Set,v=new Map,g=new Map,a().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(Jy(r,e),"']"));t&&(h.add(t),g.set(t,e),v.set(e,t))})),h};y();var b=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(v.get(t),h),x=g.get(b),w=function(e,t,n,r){var o,a,i,c,l="prev",u="next",s="children",d="parent";if("inline"===e&&r===vb)return{inlineTrigger:!0};var f=(bn(o={},mb,l),bn(o,hb,u),o),p=(bn(a={},fb,n?u:l),bn(a,pb,n?l:u),bn(a,hb,s),bn(a,vb,s),a),m=(bn(i={},mb,l),bn(i,hb,u),bn(i,vb,s),bn(i,gb,d),bn(i,fb,n?s:d),bn(i,pb,n?d:s),i);switch(null===(c={inline:f,horizontal:p,vertical:m,inlineSub:f,horizontalSub:m,verticalSub:m}["".concat(e).concat(t?"":"Sub")])||void 0===c?void 0:c[r]){case l:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}(e,1===i(x,!0).length,n,m);if(!w&&m!==yb&&m!==bb)return;(xb.includes(m)||[yb,bb].includes(m))&&l.preventDefault();var S=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=g.get(e);c(r),p(),d.current=Vc((function(){f.current===r&&t.focus()}))}};if([yb,bb].includes(m)||w.sibling||!b){var C,E,k=wb(C=b&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(b):o.current,h);E=m===yb?k[0]:m===bb?k[k.length-1]:Sb(C,h,b,w.offset),S(E)}else if(w.inlineTrigger)u(x);else if(w.offset>0)u(x,!0),p(),d.current=Vc((function(){y();var e=b.getAttribute("aria-controls"),t=Sb(document.getElementById(e),h);S(t)}),5);else if(w.offset<0){var O=i(x,!0),I=O[O.length-2],P=v.get(I);u(I,!1),S(P)}}null==s||s(l)}}l=a("8SyCD"),l=a("8SyCD");var Eb="__RC_UTIL_PATH_SPLIT__",kb=function(e){return e.join(Eb)},Ob="rc-menu-more";function Ib(){var e=Sr(l.useState({}),2)[1],t=(0,l.useRef)(new Map),n=(0,l.useRef)(new Map),r=Sr(l.useState([]),2),o=r[0],a=r[1],i=(0,l.useRef)(0),c=(0,l.useRef)(!1),u=(0,l.useCallback)((function(r,o){var a=kb(o);n.current.set(a,r),t.current.set(r,a),i.current+=1;var l,u=i.current;l=function(){u===i.current&&(c.current||e({}))},Promise.resolve().then(l)}),[]),s=(0,l.useCallback)((function(e,r){var o=kb(r);n.current.delete(o),t.current.delete(e)}),[]),d=(0,l.useCallback)((function(e){a(e)}),[]),f=(0,l.useCallback)((function(e,n){var r=t.current.get(e)||"",a=r.split(Eb);return n&&o.includes(a[0])&&a.unshift(Ob),a}),[o]),p=(0,l.useCallback)((function(e,t){return e.some((function(e){return f(e,!0).includes(t)}))}),[f]),m=(0,l.useCallback)((function(e){var r="".concat(t.current.get(e)).concat(Eb),o=new Set;return zn(n.current.keys()).forEach((function(e){e.startsWith(r)&&o.add(n.current.get(e))})),o}),[]);return l.useEffect((function(){return function(){c.current=!0}}),[]),{registerPath:u,unregisterPath:s,refreshOverflowKeys:d,isSubPathKey:p,getKeyPath:f,getKeys:function(){var e=zn(t.current.keys());return o.length&&e.push(Ob),e},getSubPathKeys:m}}l=a("8SyCD");function Pb(e){var t=l.useRef(e);t.current=e;var n=l.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o1&&(y.motionAppear=!1);var b=y.onVisibleChanged;return y.onVisibleChanged=function(e){return p.current||e||v(!0),null==b?void 0:b(e)},h?null:l.createElement(nb,{mode:a,locked:!p.current},l.createElement(ul,eo({visible:g},y,{forceRender:u,removeOnLeave:!1,leavedClassName:"".concat(c,"-hidden")}),(function(e){var n=e.className,r=e.style;return l.createElement(Xb,{id:t,className:n,style:r},o)})))}var nx=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],rx=["active"],ox=function(e){var t,r=e.style,o=e.className,a=e.title,i=e.eventKey,c=(e.warnKey,e.disabled),u=e.internalPopupClose,s=e.children,d=e.itemIcon,f=e.expandIcon,p=e.popupClassName,m=e.popupOffset,h=e.popupStyle,v=e.onClick,g=e.onMouseEnter,y=e.onMouseLeave,b=e.onTitleClick,x=e.onTitleMouseEnter,w=e.onTitleMouseLeave,S=Bn(e,nx),C=Zy(i),E=l.useContext(tb),k=E.prefixCls,O=E.mode,I=E.openKeys,P=E.disabled,j=E.overflowDisabled,N=E.activeKey,R=E.selectedKeys,M=E.itemIcon,_=E.expandIcon,D=E.onItemClick,T=E.onOpenChange,z=E.onActive,A=l.useContext(ub)._internalRenderSubMenuItem,L=l.useContext(lb).isSubPathKey,B=cb(),F="".concat(k,"-submenu"),H=P||c,W=l.useRef(),V=l.useRef(),U=null!=d?d:M,K=null!=f?f:_,G=I.includes(i),X=!j&&G,q=L(R,i),$=Mb(i,H,x,w),Y=$.active,Q=Bn($,rx),J=Sr(l.useState(!1),2),Z=J[0],ee=J[1],te=function(e){H||ee(e)},ne=l.useMemo((function(){return Y||"inline"!==O&&(Z||L([N],i))}),[O,Y,N,Z,i,L]),re=_b(B.length),oe=Pb((function(e){null==v||v(zb(e)),D(e)})),ae=C&&"".concat(C,"-popup"),ie=l.createElement("div",eo({role:"menuitem",style:re,className:"".concat(F,"-title"),tabIndex:H?null:-1,ref:W,title:"string"==typeof a?a:null,"data-menu-id":j&&C?null:C,"aria-expanded":X,"aria-haspopup":!0,"aria-controls":ae,"aria-disabled":H,onClick:function(e){H||(null==b||b({key:i,domEvent:e}),"inline"===O&&T(i,!G))},onFocus:function(){z(i)}},Q),a,l.createElement(Db,{icon:"horizontal"!==O?K:void 0,props:wn(wn({},e),{},{isOpen:X,isSubMenu:!0})},l.createElement("i",{className:"".concat(F,"-arrow")}))),ce=l.useRef(O);if("inline"!==O&&B.length>1?ce.current="vertical":ce.current=O,!j){var le=ce.current;ie=l.createElement(ex,{mode:le,prefixCls:F,visible:!u&&X&&"inline"!==O,popupClassName:p,popupOffset:m,popupStyle:h,popup:l.createElement(nb,{mode:"horizontal"===le?"vertical":le},l.createElement(Xb,{id:ae,ref:V},s)),disabled:H,onVisibleChange:function(e){"inline"!==O&&T(i,e)}},ie)}var ue=l.createElement(Yy.Item,eo({role:"none"},S,{component:"li",style:r,className:n(hn)(F,"".concat(F,"-").concat(O),o,(t={},bn(t,"".concat(F,"-open"),X),bn(t,"".concat(F,"-active"),ne),bn(t,"".concat(F,"-selected"),q),bn(t,"".concat(F,"-disabled"),H),t)),onMouseEnter:function(e){te(!0),null==g||g({key:i,domEvent:e})},onMouseLeave:function(e){te(!1),null==y||y({key:i,domEvent:e})}}),ie,!j&&l.createElement(tx,{id:ae,open:X,keyPath:B},s));return A&&(ue=A(ue,e,{selected:q,active:ne,open:X,disabled:H})),l.createElement(nb,{onItemClick:oe,mode:"horizontal"===O?"vertical":O,itemIcon:U,expandIcon:K},ue)};function ax(e){var t,n=e.eventKey,r=e.children,o=cb(n),a=qb(r,o),i=ab();return l.useEffect((function(){if(i)return i.registerPath(n,o),function(){i.unregisterPath(n,o)}}),[o]),t=i?a:l.createElement(ox,e,a),l.createElement(ib.Provider,{value:o},t)}l=a("8SyCD"),l=a("8SyCD");var ix=["className","title","eventKey","children"],cx=["children"],lx=function(e){var t=e.className,r=e.title,o=(e.eventKey,e.children),a=Bn(e,ix),i=l.useContext(tb).prefixCls,c="".concat(i,"-item-group");return l.createElement("li",eo({role:"presentation"},a,{onClick:function(e){return e.stopPropagation()},className:n(hn)(c,t)}),l.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof r?r:void 0},r),l.createElement("ul",{role:"group",className:"".concat(c,"-list")},o))};function ux(e){var t=e.children,n=Bn(e,cx),r=qb(t,cb(n.eventKey));return ab()?r:l.createElement(lx,Sn(n,["warnKey"]),r)}l=a("8SyCD");function sx(e){var t=e.className,r=e.style,o=l.useContext(tb).prefixCls;return ab()?null:l.createElement("li",{role:"separator",className:n(hn)("".concat(o,"-item-divider"),t),style:r})}var dx=["label","children","key","type"];function fx(e){return(e||[]).map((function(e,t){if(e&&"object"===vn(e)){var n=e,r=n.label,o=n.children,a=n.key,i=n.type,c=Bn(n,dx),u=null!=a?a:"tmp-".concat(t);return o||"group"===i?"group"===i?l.createElement(ux,eo({key:u},c,{title:r}),fx(o)):l.createElement(ax,eo({key:u},c,{title:r}),fx(o)):"divider"===i?l.createElement(sx,eo({key:u},c)):l.createElement(Vb,eo({key:u},c),r)}return null})).filter((function(e){return e}))}function px(e,t,n){var r=e;return t&&(r=fx(t)),qb(r,n)}var mx=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],hx=[],vx=l.forwardRef((function(e,t){var r,o,a=e,i=a.prefixCls,c=void 0===i?"rc-menu":i,s=a.rootClassName,d=a.style,f=a.className,p=a.tabIndex,m=void 0===p?0:p,h=a.items,v=a.children,g=a.direction,y=a.id,b=a.mode,x=void 0===b?"vertical":b,w=a.inlineCollapsed,S=a.disabled,C=a.disabledOverflow,E=a.subMenuOpenDelay,k=void 0===E?.1:E,O=a.subMenuCloseDelay,I=void 0===O?.1:O,P=a.forceSubMenuRender,j=a.defaultOpenKeys,N=a.openKeys,R=a.activeKey,M=a.defaultActiveFirst,_=a.selectable,D=void 0===_||_,T=a.multiple,z=void 0!==T&&T,A=a.defaultSelectedKeys,L=a.selectedKeys,B=a.onSelect,F=a.onDeselect,H=a.inlineIndent,W=void 0===H?24:H,V=a.motion,U=a.defaultMotions,K=a.triggerSubMenuAction,G=void 0===K?"hover":K,X=a.builtinPlacements,q=a.itemIcon,$=a.expandIcon,Y=a.overflowedIndicator,Q=void 0===Y?"...":Y,J=a.overflowedIndicatorPopupClassName,Z=a.getPopupContainer,ee=a.onClick,te=a.onOpenChange,ne=a.onKeyDown,re=(a.openAnimation,a.openTransitionName,a._internalRenderMenuItem),oe=a._internalRenderSubMenuItem,ae=Bn(a,mx),ie=l.useMemo((function(){return px(v,h,hx)}),[v,h]),ce=Sr(l.useState(!1),2),le=ce[0],ue=ce[1],se=l.useRef(),de=Rb(y),fe="rtl"===g,pe=Sr($l(j,{value:N,postState:function(e){return e||hx}}),2),me=pe[0],he=pe[1],ve=function(e){var t=function(){he(e),null==te||te(e)};arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(0,u.flushSync)(t):t()},ge=Sr(l.useState(me),2),ye=ge[0],be=ge[1],xe=l.useRef(!1),we=Sr(l.useMemo((function(){return"inline"!==x&&"vertical"!==x||!w?[x,!1]:["vertical",w]}),[x,w]),2),Se=we[0],Ce=we[1],Ee="inline"===Se,ke=Sr(l.useState(Se),2),Oe=ke[0],Ie=ke[1],Pe=Sr(l.useState(Ce),2),je=Pe[0],Ne=Pe[1];l.useEffect((function(){Ie(Se),Ne(Ce),xe.current&&(Ee?he(ye):ve(hx))}),[Se,Ce]);var Re=Sr(l.useState(0),2),Me=Re[0],_e=Re[1],De=Me>=ie.length-1||"horizontal"!==Oe||C;l.useEffect((function(){Ee&&be(me)}),[me]),l.useEffect((function(){return xe.current=!0,function(){xe.current=!1}}),[]);var Te=Ib(),ze=Te.registerPath,Ae=Te.unregisterPath,Le=Te.refreshOverflowKeys,Be=Te.isSubPathKey,Fe=Te.getKeyPath,He=Te.getKeys,We=Te.getSubPathKeys,Ve=l.useMemo((function(){return{registerPath:ze,unregisterPath:Ae}}),[ze,Ae]),Ue=l.useMemo((function(){return{isSubPathKey:Be}}),[Be]);l.useEffect((function(){Le(De?hx:ie.slice(Me+1).map((function(e){return e.key})))}),[Me,De]);var Ke=Sr($l(R||M&&(null===(r=ie[0])||void 0===r?void 0:r.key),{value:R}),2),Ge=Ke[0],Xe=Ke[1],qe=Pb((function(e){Xe(e)})),$e=Pb((function(){Xe(void 0)}));(0,l.useImperativeHandle)(t,(function(){return{list:se.current,focus:function(e){var t,n,r,o,a=null!=Ge?Ge:null===(t=ie.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;a&&(null===(n=se.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(Jy(de,a),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}}));var Ye=Sr($l(A||[],{value:L,postState:function(e){return Array.isArray(e)?e:null==e?hx:[e]}}),2),Qe=Ye[0],Je=Ye[1],Ze=Pb((function(e){null==ee||ee(zb(e)),function(e){if(D){var t,n=e.key,r=Qe.includes(n);t=z?r?Qe.filter((function(e){return e!==n})):[].concat(zn(Qe),[n]):[n],Je(t);var o=wn(wn({},e),{},{selectedKeys:t});r?null==F||F(o):null==B||B(o)}!z&&me.length&&"inline"!==Oe&&ve(hx)}(e)})),et=Pb((function(e,t){var n=me.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Oe){var r=We(e);n=n.filter((function(e){return!r.has(e)}))}$n(me,n,!0)||ve(n,!0)})),tt=Cb(Oe,Ge,fe,de,se,He,Fe,Xe,(function(e,t){var n=null!=t?t:!me.includes(e);et(e,n)}),ne);l.useEffect((function(){ue(!0)}),[]);var nt=l.useMemo((function(){return{_internalRenderMenuItem:re,_internalRenderSubMenuItem:oe}}),[re,oe]),rt="horizontal"!==Oe||C?ie:ie.map((function(e,t){return l.createElement(nb,{key:e.key,overflowDisabled:t>Me},e)})),ot=l.createElement(Yy,eo({id:y,ref:se,prefixCls:"".concat(c,"-overflow"),component:"ul",itemComponent:Vb,className:n(hn)(c,"".concat(c,"-root"),"".concat(c,"-").concat(Oe),f,(o={},bn(o,"".concat(c,"-inline-collapsed"),je),bn(o,"".concat(c,"-rtl"),fe),o),s),dir:g,style:d,role:"menu",tabIndex:m,data:rt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?ie.slice(-t):null;return l.createElement(ax,{eventKey:Ob,title:Q,disabled:De,internalPopupClose:0===t,popupClassName:J},n)},maxCount:"horizontal"!==Oe||C?Yy.INVALIDATE:Yy.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){_e(e)},onKeyDown:tt},ae));return l.createElement(ub.Provider,{value:nt},l.createElement(Qy.Provider,{value:de},l.createElement(nb,{prefixCls:c,rootClassName:s,mode:Oe,openKeys:me,rtl:fe,disabled:S,motion:le?V:null,defaultMotions:le?U:null,activeKey:Ge,onActive:qe,onInactive:$e,selectedKeys:Qe,inlineIndent:W,subMenuOpenDelay:k,subMenuCloseDelay:I,forceSubMenuRender:P,builtinPlacements:X,triggerSubMenuAction:G,getPopupContainer:Z,itemIcon:q,expandIcon:$,onItemClick:Ze,onOpenChange:et},l.createElement(lb.Provider,{value:Ue},ot),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(ob.Provider,{value:Ve},ie)))))})),gx=vx;gx.Item=Vb,gx.SubMenu=ax,gx.ItemGroup=ux,gx.Divider=sx;var yx=gx;l=a("8SyCD");function bx(e,t){var r=function(e){for(var t=i.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===O}))||0,r=t.length,o=0;ove?ve:e},d=function(){xe(Date.now())},f=function(){window.clearTimeout(ge.current)},p=l.useContext(kg),m=p.prefixCls,h=p.tabs,v=e.className,g=e.style,y=e.id,b=e.animated,x=e.activeKey,w=e.rtl,S=e.extra,C=e.editable,E=e.locale,k=e.tabPosition,O=e.tabBarGutter,I=e.children,P=e.onTabClick,j=e.onTabScroll,N=e.indicatorSize,R=(0,l.useRef)(),M=(0,l.useRef)(),_=(0,l.useRef)(),D=(0,l.useRef)(),T=(0,l.useRef)(),z=(0,l.useRef)(),A=(0,l.useRef)(),L="top"===k||"bottom"===k,B=Sr(Rg(0,(function(e,t){L&&j&&j({direction:e>t?"left":"right"})})),2),F=B[0],H=B[1],W=Sr(Rg(0,(function(e,t){!L&&j&&j({direction:e>t?"top":"bottom"})})),2),V=W[0],U=W[1],K=Sr((0,l.useState)([0,0]),2),G=K[0],X=K[1],q=Sr((0,l.useState)([0,0]),2),$=q[0],Y=q[1],Q=Sr((0,l.useState)([0,0]),2),J=Q[0],Z=Q[1],ee=Sr((0,l.useState)([0,0]),2),te=ee[0],ne=ee[1],re=(o=new Map,a=(0,l.useRef)([]),i=Sr((0,l.useState)({}),2)[1],c=(0,l.useRef)("function"==typeof o?o():o),u=Ag((function(){var e=c.current;a.current.forEach((function(t){e=t(e)})),a.current=[],c.current=e,i({})})),[c.current,function(e){a.current.push(e),u()}]),oe=Sr(re,2),ae=oe[0],ie=oe[1],ce=Ng(h,ae,$[0]),le=Ex(G,L),ue=Ex($,L),se=Ex(J,L),de=Ex(te,L),fe=le0&&void 0!==arguments[0]?arguments[0]:x,t=ce.get(e)||{width:0,height:0,left:0,right:0,top:0};if(L){var n=F;w?t.rightF+pe&&(n=t.right+t.width-pe):t.left<-F?n=-t.left:t.left+t.width>-F+pe&&(n=-(t.left+t.width-pe)),U(0),H(s(n))}else{var r=V;t.top<-V?r=-t.top:t.top+t.height>-V+pe&&(r=-(t.top+t.height-pe)),H(0),U(s(r))}})),ke={};"top"===k||"bottom"===k?ke[w?"marginRight":"marginLeft"]=O:ke.marginTop=O;var Oe=h.map((function(e,t){var n=e.key;return l.createElement(wx,{id:y,prefixCls:m,key:n,tab:e,style:0===t?void 0:ke,closable:e.closable,editable:C,active:n===x,renderWrapper:I,removeAriaLabel:null==E?void 0:E.removeAriaLabel,onClick:function(e){P(n,e)},onFocus:function(){Ee(n),d(),D.current&&(w||(D.current.scrollLeft=0),D.current.scrollTop=0)}})})),Ie=function(){return ie((function(){var e=new Map;return h.forEach((function(t){var n,r=t.key,o=null===(n=T.current)||void 0===n?void 0:n.querySelector('[data-node-key="'.concat(Wg(r),'"]'));o&&e.set(r,{width:o.offsetWidth,height:o.offsetHeight,left:o.offsetLeft,top:o.offsetTop})})),e}))};(0,l.useEffect)((function(){Ie()}),[h.map((function(e){return e.key})).join("_")]);var Pe=Ag((function(){var e=Cx(R),t=Cx(M),n=Cx(_);X([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var r=Cx(A);Z(r);var o=Cx(z);ne(o);var a=Cx(T);Y([a[0]-r[0],a[1]-r[1]]),Ie()})),je=h.slice(0,Se),Ne=h.slice(Ce+1),Re=[].concat(zn(je),zn(Ne)),Me=ce.get(x),_e=Sx({activeTabOffset:Me,horizontal:L,rtl:w,indicatorSize:N}).style;(0,l.useEffect)((function(){Ee()}),[x,he,ve,Fg(Me),Fg(ce),L]),(0,l.useEffect)((function(){Pe()}),[w]);var De,Te,ze,Ae,Le=!!Re.length,Be="".concat(m,"-nav-wrap");return L?w?(Te=F>0,De=F!==ve):(De=F<0,Te=F!==he):(ze=V<0,Ae=V!==he),l.createElement(fm,{onResize:Pe},l.createElement("div",{ref:In(t,R),role:"tablist",className:n(hn)("".concat(m,"-nav"),v),style:g,onKeyDown:function(){d()}},l.createElement(Gg,{ref:M,position:"left",extra:S,prefixCls:m}),l.createElement(fm,{onResize:Pe},l.createElement("div",{className:n(hn)(Be,(r={},bn(r,"".concat(Be,"-ping-left"),De),bn(r,"".concat(Be,"-ping-right"),Te),bn(r,"".concat(Be,"-ping-top"),ze),bn(r,"".concat(Be,"-ping-bottom"),Ae),r)),ref:D},l.createElement(fm,{onResize:Pe},l.createElement("div",{ref:T,className:"".concat(m,"-nav-list"),style:{transform:"translate(".concat(F,"px, ").concat(V,"px)"),transition:be?"none":void 0}},Oe,l.createElement(Kg,{ref:A,prefixCls:m,locale:E,editable:C,style:wn(wn({},0===Oe.length?void 0:ke),{},{visibility:Le?"hidden":null})}),l.createElement("div",{className:n(hn)("".concat(m,"-ink-bar"),bn({},"".concat(m,"-ink-bar-animated"),b.inkBar)),style:_e}))))),l.createElement(xx,eo({},e,{removeAriaLabel:null==E?void 0:E.removeAriaLabel,ref:z,prefixCls:m,tabs:Re,className:!Le&&me,tabMoving:!!be})),l.createElement(Gg,{ref:_,position:"right",extra:S,prefixCls:m})))}var Ox=l.forwardRef(kx),Ix=["renderTabBar"],Px=["label","key"];function jx(e){var t=e.renderTabBar,n=Bn(e,Ix),r=l.useContext(kg).tabs;return t?t(wn(wn({},n),{},{panes:r.map((function(e){var t=e.label,n=e.key,r=Bn(e,Px);return l.createElement(Og,eo({tab:t,key:n,tabKey:n},r))}))}),Ox):l.createElement(Ox,n)}function Nx(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:wn({inkBar:!0},"object"===vn(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}var Rx=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],Mx=0;function _x(e,t){var r,o=e.id,a=e.prefixCls,i=void 0===a?"rc-tabs":a,c=e.className,u=e.items,s=e.direction,d=e.activeKey,f=e.defaultActiveKey,p=e.editable,m=e.animated,h=e.tabPosition,v=void 0===h?"top":h,g=e.tabBarGutter,y=e.tabBarStyle,b=e.tabBarExtraContent,x=e.locale,w=e.moreIcon,S=e.moreTransitionName,C=e.destroyInactiveTabPane,E=e.renderTabBar,k=e.onChange,O=e.onTabClick,I=e.onTabScroll,P=e.getPopupContainer,j=e.popupClassName,N=e.indicatorSize,R=Bn(e,Rx),M=l.useMemo((function(){return(u||[]).filter((function(e){return e&&"object"===vn(e)&&"key"in e}))}),[u]),_="rtl"===s,D=Nx(m),T=Sr((0,l.useState)(!1),2),z=T[0],A=T[1];(0,l.useEffect)((function(){A(Eg())}),[]);var L=Sr($l((function(){var e;return null===(e=M[0])||void 0===e?void 0:e.key}),{value:d,defaultValue:f}),2),B=L[0],F=L[1],H=Sr((0,l.useState)((function(){return M.findIndex((function(e){return e.key===B}))})),2),W=H[0],V=H[1];(0,l.useEffect)((function(){var e,t=M.findIndex((function(e){return e.key===B}));-1===t&&(t=Math.max(0,Math.min(W,M.length-1)),F(null===(e=M[t])||void 0===e?void 0:e.key));V(t)}),[M.map((function(e){return e.key})).join("_"),B,W]);var U=Sr($l(null,{value:o}),2),K=U[0],G=U[1];(0,l.useEffect)((function(){o||(G("rc-tabs-".concat(Mx)),Mx+=1)}),[]);var X={id:K,activeKey:B,animated:D,tabPosition:v,rtl:_,mobile:z},q=wn(wn({},X),{},{editable:p,locale:x,moreIcon:w,moreTransitionName:S,tabBarGutter:g,onTabClick:function(e,t){null==O||O(e,t);var n=e!==B;F(e),n&&(null==k||k(e))},onTabScroll:I,extra:b,style:y,panes:null,getPopupContainer:P,popupClassName:j,indicatorSize:N});return l.createElement(kg.Provider,{value:{tabs:M,prefixCls:i}},l.createElement("div",eo({ref:t,id:o,className:n(hn)(i,"".concat(i,"-").concat(v),(r={},bn(r,"".concat(i,"-mobile"),z),bn(r,"".concat(i,"-editable"),p),bn(r,"".concat(i,"-rtl"),_),r),c)},R),l.createElement(jx,eo({},q,{renderTabBar:E})),l.createElement(Pg,eo({destroyInactiveTabPane:C},X,{animated:D}))))}var Dx=l.forwardRef(_x),Tx={motionAppear:!1,motionEnter:!0,motionLeave:!0};function zx(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},Tx),{motionName:Hm(e,"switch")})),t}var Ax={};e(Ax,"default",(function(){return Bx}),(function(e){return Bx=e}));l=a("8SyCD");var Lx=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o ".concat(c,"-nav, > div > ").concat(c,"-nav"),(I(t={},"".concat(c,"-tab"),{margin:0,padding:l,background:u,border:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(d),transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut)}),I(t,"".concat(c,"-tab-active"),{color:f,background:e.colorBgContainer}),I(t,"".concat(c,"-ink-bar"),{visibility:"hidden"}),t)),I(i,"&".concat(c,"-top, &").concat(c,"-bottom"),I({},"> ".concat(c,"-nav, > div > ").concat(c,"-nav"),I({},"".concat(c,"-tab + ").concat(c,"-tab"),{marginLeft:{_skip_check_:!0,value:"".concat(s,"px")}}))),I(i,"&".concat(c,"-top"),I({},"> ".concat(c,"-nav, > div > ").concat(c,"-nav"),(I(n={},"".concat(c,"-tab"),{borderRadius:"".concat(e.borderRadiusLG,"px ").concat(e.borderRadiusLG,"px 0 0")}),I(n,"".concat(c,"-tab-active"),{borderBottomColor:e.colorBgContainer}),n))),I(i,"&".concat(c,"-bottom"),I({},"> ".concat(c,"-nav, > div > ").concat(c,"-nav"),(I(r={},"".concat(c,"-tab"),{borderRadius:"0 0 ".concat(e.borderRadiusLG,"px ").concat(e.borderRadiusLG,"px")}),I(r,"".concat(c,"-tab-active"),{borderTopColor:e.colorBgContainer}),r))),I(i,"&".concat(c,"-left, &").concat(c,"-right"),I({},"> ".concat(c,"-nav, > div > ").concat(c,"-nav"),I({},"".concat(c,"-tab + ").concat(c,"-tab"),{marginTop:"".concat(s,"px")}))),I(i,"&".concat(c,"-left"),I({},"> ".concat(c,"-nav, > div > ").concat(c,"-nav"),(I(o={},"".concat(c,"-tab"),{borderRadius:{_skip_check_:!0,value:"".concat(e.borderRadiusLG,"px 0 0 ").concat(e.borderRadiusLG,"px")}}),I(o,"".concat(c,"-tab-active"),{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}),o))),I(i,"&".concat(c,"-right"),I({},"> ".concat(c,"-nav, > div > ").concat(c,"-nav"),(I(a={},"".concat(c,"-tab"),{borderRadius:{_skip_check_:!0,value:"0 ".concat(e.borderRadiusLG,"px ").concat(e.borderRadiusLG,"px 0")}}),I(a,"".concat(c,"-tab-active"),{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}),a))),i))},Jx=function(e){var t=e.componentCls,n=e.itemHoverColor,r=e.dropdownEdgeChildVerticalPadding;return I({},"".concat(t,"-dropdown"),Object.assign(Object.assign({},Il(e)),I({position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"}},"".concat(t,"-dropdown-menu"),{maxHeight:e.tabsDropdownHeight,margin:0,padding:"".concat(r,"px 0"),overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Ol),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:"".concat(e.paddingXXS,"px ").concat(e.paddingSM,"px"),color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})})))},Zx=function(e){var t,n,r,o,a,i,c,l,u=e.componentCls,s=e.margin,d=e.colorBorderSecondary,f=e.horizontalMargin,p=e.verticalItemPadding,m=e.verticalItemMargin;return I(l={},"".concat(u,"-top, ").concat(u,"-bottom"),I({flexDirection:"column"},"> ".concat(u,"-nav, > div > ").concat(u,"-nav"),(I(n={margin:f,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(d),content:"''"}},"".concat(u,"-ink-bar"),{height:e.lineWidthBold,"&-animated":{transition:"width ".concat(e.motionDurationSlow,", left ").concat(e.motionDurationSlow,",\n right ").concat(e.motionDurationSlow)}}),I(n,"".concat(u,"-nav-wrap"),(I(t={"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight}},"&".concat(u,"-nav-wrap-ping-left::before"),{opacity:1}),I(t,"&".concat(u,"-nav-wrap-ping-right::after"),{opacity:1}),t)),n))),I(l,"".concat(u,"-top"),I({},"> ".concat(u,"-nav,\n > div > ").concat(u,"-nav"),I({"&::before":{bottom:0}},"".concat(u,"-ink-bar"),{bottom:0}))),I(l,"".concat(u,"-bottom"),(I(r={},"> ".concat(u,"-nav, > div > ").concat(u,"-nav"),I({order:1,marginTop:"".concat(s,"px"),marginBottom:0,"&::before":{top:0}},"".concat(u,"-ink-bar"),{top:0})),I(r,"> ".concat(u,"-content-holder, > div > ").concat(u,"-content-holder"),{order:0}),r)),I(l,"".concat(u,"-left, ").concat(u,"-right"),I({},"> ".concat(u,"-nav, > div > ").concat(u,"-nav"),(I(a={flexDirection:"column",minWidth:1.25*e.controlHeight},"".concat(u,"-tab"),{padding:p,textAlign:"center"}),I(a,"".concat(u,"-tab + ").concat(u,"-tab"),{margin:m}),I(a,"".concat(u,"-nav-wrap"),(I(o={flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom}},"&".concat(u,"-nav-wrap-ping-top::before"),{opacity:1}),I(o,"&".concat(u,"-nav-wrap-ping-bottom::after"),{opacity:1}),o)),I(a,"".concat(u,"-ink-bar"),{width:e.lineWidthBold,"&-animated":{transition:"height ".concat(e.motionDurationSlow,", top ").concat(e.motionDurationSlow)}}),I(a,"".concat(u,"-nav-list, ").concat(u,"-nav-operations"),{flex:"1 0 auto",flexDirection:"column"}),a))),I(l,"".concat(u,"-left"),(I(i={},"> ".concat(u,"-nav, > div > ").concat(u,"-nav"),I({},"".concat(u,"-ink-bar"),{right:{_skip_check_:!0,value:0}})),I(i,"> ".concat(u,"-content-holder, > div > ").concat(u,"-content-holder"),I({marginLeft:{_skip_check_:!0,value:"-".concat(e.lineWidth,"px")},borderLeft:{_skip_check_:!0,value:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.colorBorder)}},"> ".concat(u,"-content > ").concat(u,"-tabpane"),{paddingLeft:{_skip_check_:!0,value:e.paddingLG}})),i)),I(l,"".concat(u,"-right"),(I(c={},"> ".concat(u,"-nav, > div > ").concat(u,"-nav"),I({order:1},"".concat(u,"-ink-bar"),{left:{_skip_check_:!0,value:0}})),I(c,"> ".concat(u,"-content-holder, > div > ").concat(u,"-content-holder"),I({order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.colorBorder)}},"> ".concat(u,"-content > ").concat(u,"-tabpane"),{paddingRight:{_skip_check_:!0,value:e.paddingLG}})),c)),l},ew=function(e){var t,n,r,o=e.componentCls,a=e.cardPaddingSM,i=e.cardPaddingLG,c=e.horizontalItemPaddingSM,l=e.horizontalItemPaddingLG;return I(r={},o,{"&-small":I({},"> ".concat(o,"-nav"),I({},"".concat(o,"-tab"),{padding:c,fontSize:e.titleFontSizeSM})),"&-large":I({},"> ".concat(o,"-nav"),I({},"".concat(o,"-tab"),{padding:l,fontSize:e.titleFontSizeLG}))}),I(r,"".concat(o,"-card"),(I(n={},"&".concat(o,"-small"),(I(t={},"> ".concat(o,"-nav"),I({},"".concat(o,"-tab"),{padding:a})),I(t,"&".concat(o,"-bottom"),I({},"> ".concat(o,"-nav ").concat(o,"-tab"),{borderRadius:"0 0 ".concat(e.borderRadius,"px ").concat(e.borderRadius,"px")})),I(t,"&".concat(o,"-top"),I({},"> ".concat(o,"-nav ").concat(o,"-tab"),{borderRadius:"".concat(e.borderRadius,"px ").concat(e.borderRadius,"px 0 0")})),I(t,"&".concat(o,"-right"),I({},"> ".concat(o,"-nav ").concat(o,"-tab"),{borderRadius:{_skip_check_:!0,value:"0 ".concat(e.borderRadius,"px ").concat(e.borderRadius,"px 0")}})),I(t,"&".concat(o,"-left"),I({},"> ".concat(o,"-nav ").concat(o,"-tab"),{borderRadius:{_skip_check_:!0,value:"".concat(e.borderRadius,"px 0 0 ").concat(e.borderRadius,"px")}})),t)),I(n,"&".concat(o,"-large"),I({},"> ".concat(o,"-nav"),I({},"".concat(o,"-tab"),{padding:i}))),n)),r},tw=function(e){var t,n,r,o,a,i=e.componentCls,c=e.tabsHorizontalItemMarginRTL,l=e.iconCls,u=e.cardGutter;return I(a={},"".concat(i,"-rtl"),(I(o={direction:"rtl"},"".concat(i,"-nav"),I({},"".concat(i,"-tab"),(I(t={margin:{_skip_check_:!0,value:c}},"".concat(i,"-tab:last-of-type"),{marginLeft:{_skip_check_:!0,value:0}}),I(t,l,{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:"".concat(e.marginSM,"px")}}),I(t,"".concat(i,"-tab-remove"),I({marginRight:{_skip_check_:!0,value:"".concat(e.marginXS,"px")},marginLeft:{_skip_check_:!0,value:"-".concat(e.marginXXS,"px")}},l,{margin:0})),t))),I(o,"&".concat(i,"-left"),(I(n={},"> ".concat(i,"-nav"),{order:1}),I(n,"> ".concat(i,"-content-holder"),{order:0}),n)),I(o,"&".concat(i,"-right"),(I(r={},"> ".concat(i,"-nav"),{order:0}),I(r,"> ".concat(i,"-content-holder"),{order:1}),r)),I(o,"&".concat(i,"-card").concat(i,"-top, &").concat(i,"-card").concat(i,"-bottom"),I({},"> ".concat(i,"-nav, > div > ").concat(i,"-nav"),I({},"".concat(i,"-tab + ").concat(i,"-tab"),{marginRight:{_skip_check_:!0,value:u},marginLeft:{_skip_check_:!0,value:0}}))),o)),I(a,"".concat(i,"-dropdown-rtl"),{direction:"rtl"}),I(a,"".concat(i,"-menu-item"),I({},"".concat(i,"-dropdown-rtl"),{textAlign:{_skip_check_:!0,value:"right"}})),a},nw=function(e){var t,n,r,o,a=e.componentCls,i=e.tabsCardPadding,c=e.cardHeight,l=e.cardGutter,u=e.itemHoverColor,s=e.itemActiveColor,d=e.colorBorderSecondary;return I(o={},a,Object.assign(Object.assign(Object.assign(Object.assign({},Il(e)),(I(n={display:"flex"},"> ".concat(a,"-nav, > div > ").concat(a,"-nav"),(I(t={position:"relative",display:"flex",flex:"none",alignItems:"center"},"".concat(a,"-nav-wrap"),{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:"opacity ".concat(e.motionDurationSlow),content:"''",pointerEvents:"none"}}),I(t,"".concat(a,"-nav-list"),{position:"relative",display:"flex",transition:"opacity ".concat(e.motionDurationSlow)}),I(t,"".concat(a,"-nav-operations"),{display:"flex",alignSelf:"stretch"}),I(t,"".concat(a,"-nav-operations-hidden"),{position:"absolute",visibility:"hidden",pointerEvents:"none"}),I(t,"".concat(a,"-nav-more"),{position:"relative",padding:i,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}}),I(t,"".concat(a,"-nav-add"),Object.assign({minWidth:c,marginLeft:{_skip_check_:!0,value:l},padding:"0 ".concat(e.paddingXS,"px"),background:"transparent",border:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(d),borderRadius:"".concat(e.borderRadiusLG,"px ").concat(e.borderRadiusLG,"px 0 0"),outline:"none",cursor:"pointer",color:e.colorText,transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),"&:hover":{color:u},"&:active, &:focus:not(:focus-visible)":{color:s}},Rl(e))),t)),I(n,"".concat(a,"-extra-content"),{flex:"none"}),I(n,"".concat(a,"-ink-bar"),{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}),n)),function(e){var t,n,r=e.componentCls,o=e.itemActiveColor,a=e.itemHoverColor,i=e.iconCls,c=e.tabsHorizontalItemMargin,l=e.horizontalItemPadding,u=e.itemSelectedColor,s=e.itemColor,d="".concat(r,"-tab");return I(n={},d,(I(t={position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:l,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:o}},Rl(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),"&:hover":{color:e.colorTextHeading}},"&:hover":{color:a}},"&".concat(d,"-active ").concat(d,"-btn"),{color:u,textShadow:e.tabsActiveTextShadow}),I(t,"&".concat(d,"-disabled"),{color:e.colorTextDisabled,cursor:"not-allowed"}),I(t,"&".concat(d,"-disabled ").concat(d,"-btn, &").concat(d,"-disabled ").concat(r,"-remove"),{"&:focus, &:active":{color:e.colorTextDisabled}}),I(t,"& ".concat(d,"-remove ").concat(i),{margin:0}),I(t,i,{marginRight:{_skip_check_:!0,value:e.marginSM}}),t)),I(n,"".concat(d," + ").concat(d),{margin:{_skip_check_:!0,value:c}}),n}(e)),(I(r={},"".concat(a,"-content"),{position:"relative",width:"100%"}),I(r,"".concat(a,"-content-holder"),{flex:"auto",minWidth:0,minHeight:0}),I(r,"".concat(a,"-tabpane"),{outline:"none","&-hidden":{display:"none"}}),r))),I(o,"".concat(a,"-centered"),I({},"> ".concat(a,"-nav, > div > ").concat(a,"-nav"),I({},"".concat(a,"-nav-wrap"),I({},"&:not([class*='".concat(a,"-nav-wrap-ping'])"),{justifyContent:"center"})))),o},rw=nu("Tabs",(function(e){var t=Jl(e,{tabsCardPadding:e.cardPadding||"".concat((e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth,"px ").concat(e.padding,"px"),dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:"0 0 0 ".concat(e.horizontalItemGutter,"px"),tabsHorizontalItemMarginRTL:"0 0 0 ".concat(e.horizontalItemGutter,"px")});return[ew(t),tw(t),Zx(t),Jx(t),Qx(t),nw(t),Yx(t)]}),(function(e){var t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:"",cardPaddingSM:"".concat(1.5*e.paddingXXS,"px ").concat(e.padding,"px"),cardPaddingLG:"".concat(e.paddingXS,"px ").concat(e.padding,"px ").concat(1.5*e.paddingXXS,"px"),titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:"0 0 ".concat(e.margin,"px 0"),horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:"".concat(e.paddingSM,"px 0"),horizontalItemPaddingSM:"".concat(e.paddingXS,"px 0"),horizontalItemPaddingLG:"".concat(e.padding,"px 0"),verticalItemPadding:"".concat(e.paddingXS,"px ").concat(e.paddingLG,"px"),verticalItemMargin:"".concat(e.margin,"px 0 0 0"),itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}})),ow=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o ".concat(n,"-typography,\n > ").concat(n,"-typography-edit-content\n "),{insetInlineStart:0,marginTop:0,marginBottom:0}))},"".concat(t,"-tabs-top"),{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.colorBorderSecondary)}}))}(e)),I(t,"".concat(a,"-extra"),{marginInlineStart:"auto",color:d,fontWeight:"normal",fontSize:e.fontSize}),I(t,"".concat(a,"-body"),Object.assign({padding:s,borderRadius:" 0 0 ".concat(e.borderRadiusLG,"px ").concat(e.borderRadiusLG,"px")},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}})),I(t,"".concat(a,"-grid"),function(e){var t=e.cardPaddingBase,n=e.colorBorderSecondary,r=e.cardShadow,o=e.lineWidth;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:"\n ".concat(o,"px 0 0 0 ").concat(n,",\n 0 ").concat(o,"px 0 0 ").concat(n,",\n ").concat(o,"px ").concat(o,"px 0 0 ").concat(n,",\n ").concat(o,"px 0 0 0 ").concat(n," inset,\n 0 ").concat(o,"px 0 0 ").concat(n," inset;\n "),transition:"all ".concat(e.motionDurationMid),"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}}(e)),I(t,"".concat(a,"-cover"),I({"> *":{display:"block",width:"100%"}},"img, img + ".concat(o,"-image-mask"),{borderRadius:"".concat(e.borderRadiusLG,"px ").concat(e.borderRadiusLG,"px 0 0")})),I(t,"".concat(a,"-actions"),function(e){var t,n=e.componentCls,r=e.iconCls,o=e.actionsLiMargin,a=e.cardActionsIconSize,i=e.colorBorderSecondary,c=e.actionsBg;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:c,borderTop:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(i),display:"flex",borderRadius:"0 0 ".concat(e.borderRadiusLG,"px ").concat(e.borderRadiusLG,"px ")},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"& > li":{margin:o,color:e.colorTextDescription,textAlign:"center","> span":(t={position:"relative",display:"block",minWidth:2*e.cardActionsIconSize,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:"color ".concat(e.motionDurationMid)}},I(t,"a:not(".concat(n,"-btn), > ").concat(r),{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:"".concat(e.fontSize*e.lineHeight,"px"),transition:"color ".concat(e.motionDurationMid),"&:hover":{color:e.colorPrimary}}),I(t,"> ".concat(r),{fontSize:a,lineHeight:"".concat(a*e.lineHeight,"px")}),t),"&:not(:last-child)":{borderInlineEnd:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(i)}}})}(e)),I(t,"".concat(a,"-meta"),function(e){return Object.assign(Object.assign({margin:"-".concat(e.marginXXS,"px 0"),display:"flex"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Ol),"&-description":{color:e.colorTextDescription}})}(e)),t))),I(r,"".concat(a,"-bordered"),I({border:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(l)},"".concat(a,"-cover"),{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1})),I(r,"".concat(a,"-hoverable"),{cursor:"pointer",transition:"box-shadow ".concat(e.motionDurationMid,", border-color ").concat(e.motionDurationMid),"&:hover":{borderColor:"transparent",boxShadow:i}}),I(r,"".concat(a,"-contain-grid"),(I(n={borderRadius:"".concat(e.borderRadiusLG,"px ").concat(e.borderRadiusLG,"px 0 0 ")},"".concat(a,"-body"),{display:"flex",flexWrap:"wrap"}),I(n,"&:not(".concat(a,"-loading) ").concat(a,"-body"),{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}),n)),I(r,"".concat(a,"-contain-tabs"),I({},"> ".concat(a,"-head"),I({minHeight:0},"".concat(a,"-head-title, ").concat(a,"-extra"),{paddingTop:c}))),I(r,"".concat(a,"-type-inner"),function(e){var t,n=e.componentCls,r=e.cardPaddingBase,o=e.colorFillAlter;return I(t={},"".concat(n,"-head"),{padding:"0 ".concat(r,"px"),background:o,"&-title":{fontSize:e.fontSize}}),I(t,"".concat(n,"-body"),{padding:"".concat(e.padding,"px ").concat(r,"px")}),t}(e)),I(r,"".concat(a,"-loading"),function(e){var t=e.componentCls;return I({overflow:"hidden"},"".concat(t,"-body"),{userSelect:"none"})}(e)),I(r,"".concat(a,"-rtl"),{direction:"rtl"}),r},dw=function(e){var t,n,r=e.componentCls,o=e.cardPaddingSM,a=e.headerHeightSM,i=e.headerFontSizeSM;return I(n={},"".concat(r,"-small"),(I(t={},"> ".concat(r,"-head"),I({minHeight:a,padding:"0 ".concat(o,"px"),fontSize:i},"> ".concat(r,"-head-wrapper"),I({},"> ".concat(r,"-extra"),{fontSize:e.fontSize}))),I(t,"> ".concat(r,"-body"),{padding:o}),t)),I(n,"".concat(r,"-small").concat(r,"-contain-tabs"),I({},"> ".concat(r,"-head"),I({},"".concat(r,"-head-title, ").concat(r,"-extra"),{paddingTop:0,display:"flex",alignItems:"center"}))),n},fw=nu("Card",(function(e){var t=Jl(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[sw(t),dw(t)]}),(function(e){return{headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:"".concat(e.paddingSM,"px 0"),tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}})),pw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=1},subscribe:function(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe:function(t){e.delete(t),e.size||this.unregister()},unregister:function(){var n=this;Object.keys(t).forEach((function(e){var r=t[e],o=n.matchHandlers[r];null==o||o.mql.removeListener(null==o?void 0:o.listener)})),e.clear()},register:function(){var e=this;Object.keys(t).forEach((function(n){var o=t[n],a=function(t){var o=t.matches;e.dispatch(Object.assign(Object.assign({},r),I({},n,o)))},i=window.matchMedia(o);i.addListener(a),e.matchHandlers[o]={mql:i,listener:a},a(i)}))},responsiveMap:t}}),[e])}l=a("8SyCD");var zw=function(e){var t=e.componentName,r=(0,(0,l.useContext)(Li).getPrefixCls)("empty");switch(t){case"Table":case"List":return n(l).createElement(xw.default,{image:xw.default.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return n(l).createElement(xw.default,{image:xw.default.PRESENTED_IMAGE_SIMPLE,className:"".concat(r,"-small")});default:return n(l).createElement(xw.default,null)}},Aw={};e(Aw,"default",(function(){return Xw}),(function(e){return Xw=e}));l=a("8SyCD");var Lw=(0,(l=a("8SyCD")).createContext)({}),Bw=function(e){return I({},e.componentCls,{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}})},Fw=function(e){return I({},e.componentCls,{position:"relative",maxWidth:"100%",minHeight:1})},Hw=function(e,t){return function(e,t){for(var n=e.componentCls,r=e.gridColumns,o={},a=r;a>=0;a--)if(0===a)o["".concat(n).concat(t,"-").concat(a)]={display:"none"},o["".concat(n,"-push-").concat(a)]={insetInlineStart:"auto"},o["".concat(n,"-pull-").concat(a)]={insetInlineEnd:"auto"},o["".concat(n).concat(t,"-push-").concat(a)]={insetInlineStart:"auto"},o["".concat(n).concat(t,"-pull-").concat(a)]={insetInlineEnd:"auto"},o["".concat(n).concat(t,"-offset-").concat(a)]={marginInlineStart:0},o["".concat(n).concat(t,"-order-").concat(a)]={order:0};else{var i;o["".concat(n).concat(t,"-").concat(a)]=[(i={},I(i,"--ant-display","block"),I(i,"display","block"),i),{display:"var(--ant-display)",flex:"0 0 ".concat(a/r*100,"%"),maxWidth:"".concat(a/r*100,"%")}],o["".concat(n).concat(t,"-push-").concat(a)]={insetInlineStart:"".concat(a/r*100,"%")},o["".concat(n).concat(t,"-pull-").concat(a)]={insetInlineEnd:"".concat(a/r*100,"%")},o["".concat(n).concat(t,"-offset-").concat(a)]={marginInlineStart:"".concat(a/r*100,"%")},o["".concat(n).concat(t,"-order-").concat(a)]={order:a}}return o}(e,t)},Ww=nu("Grid",(function(e){return[Bw(e)]})),Vw=nu("Grid",(function(e){var t=Jl(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[Fw(t),Hw(t,""),Hw(t,"-xs"),Object.keys(n).map((function(e){return function(e,t,n){return I({},"@media (min-width: ".concat(t,"px)"),Object.assign({},Hw(e,n)))}(t,n[e],e)})).reduce((function(e,t){return Object.assign(Object.assign({},e),t)}),{})]})),Uw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0?z[0]/-2:void 0;B&&(L.marginLeft=B,L.marginRight=B),R=y(z,2),L.rowGap=R[1];var F=y(z,2),H=F[0],W=F[1],V=l.useMemo((function(){return{gutter:[H,W],wrap:f}}),[H,W,f]);return D(l.createElement(Lw.Provider,{value:V},l.createElement("div",Object.assign({},p,{className:A,style:Object.assign(Object.assign({},L),c),ref:t}),u)))})),Xw=Gw;l=a("8SyCD"),l=a("8SyCD");var qw=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=(0,l.useRef)({}),n=y(l.useReducer((function(e){return e+1}),0),2)[1],r=Tw();return Hr((function(){var o=r.subscribe((function(r){t.current=r,e&&n()}));return function(){return r.unsubscribe(o)}}),[]),t.current},$w={};e($w,"default",(function(){return BE}),(function(e){return BE=e}));l=a("8SyCD");var Yw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Qw=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:Yw}))},Jw=l.forwardRef(Qw),Zw=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"}),eS=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:Zw}))},tS=l.forwardRef(eS),nS=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"}),rS=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:nS}))},oS=l.forwardRef(rS),aS=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"}),iS=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:aS}))},cS=l.forwardRef(iS),lS=(l=a("8SyCD"),{ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40}),uS=function(e){tc(r,e);var t=ic(r);function r(){var e;Yn(this,r);for(var n=arguments.length,o=new Array(n),a=0;a=0||t.relatedTarget.className.indexOf("".concat(a,"-item"))>=0)||o(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode!==lS.ENTER&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return Jn(r,[{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))}))}},{key:"render",value:function(){var e=this,t=this.props,r=t.pageSize,o=t.locale,a=t.rootPrefixCls,i=t.changeSize,c=t.quickGo,u=t.goButton,s=t.selectComponentClass,d=t.buildOptionText,f=t.selectPrefixCls,p=t.disabled,m=this.state.goInputText,h="".concat(a,"-options"),v=s,g=null,y=null,b=null;if(!i&&!c)return null;var x=this.getPageSizeOptions();if(i&&v){var w=x.map((function(t,r){return n(l).createElement(v.Option,{key:r,value:t.toString()},(d||e.buildOptionText)(t))}));g=n(l).createElement(v,{disabled:p,prefixCls:f,showSearch:!1,className:"".concat(h,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(r||x[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":o.page_size,defaultOpen:!1},w)}return c&&(u&&(b="boolean"==typeof u?n(l).createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:p,className:"".concat(h,"-quick-jumper-button")},o.jump_to_confirm):n(l).createElement("span",{onClick:this.go,onKeyUp:this.go},u)),y=n(l).createElement("div",{className:"".concat(h,"-quick-jumper")},o.jump_to,n(l).createElement("input",{disabled:p,type:"text",value:m,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":o.page}),o.page,b)),n(l).createElement("li",{className:"".concat(h)},g,y)}}]),r}(n(l=a("8SyCD")).Component);uS.defaultProps={pageSizeOptions:["10","20","50","100"]};var sS=uS,dS=(l=a("8SyCD"),function(e){var t,r=e.rootPrefixCls,o=e.page,a=e.active,i=e.className,c=e.showTitle,u=e.onClick,s=e.onKeyPress,d=e.itemRender,f="".concat(r,"-item"),p=n(hn)(f,"".concat(f,"-").concat(o),(bn(t={},"".concat(f,"-active"),a),bn(t,"".concat(f,"-disabled"),!o),bn(t,e.className,i),t)),m=d(o,"page",n(l).createElement("a",{rel:"nofollow"},o));return m?n(l).createElement("li",{title:c?o.toString():null,className:p,onClick:function(){u(o)},onKeyPress:function(e){s(e,u,o)},tabIndex:0},m):null});function fS(){}function pS(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function mS(e,t,n){var r=void 0===e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var hS=function(e){tc(r,e);var t=ic(r);function r(e){var o;Yn(this,r),(o=t.call(this,e)).paginationNode=n(l).createRef(),o.getJumpPrevPage=function(){return Math.max(1,o.state.current-(o.props.showLessItems?3:5))},o.getJumpNextPage=function(){return Math.min(mS(void 0,o.state,o.props),o.state.current+(o.props.showLessItems?3:5))},o.getItemIcon=function(e,t){var r=o.props.prefixCls,a=e||n(l).createElement("button",{type:"button","aria-label":t,className:"".concat(r,"-item-link")});return"function"==typeof e&&(a=n(l).createElement(e,wn({},o.props))),a},o.isValid=function(e){var t=o.props.total;return pS(e)&&e!==o.state.current&&pS(t)&&t>0},o.shouldDisplayQuickJumper=function(){var e=o.props,t=e.showQuickJumper;return!(e.total<=o.state.pageSize)&&t},o.handleKeyDown=function(e){e.keyCode!==lS.ARROW_UP&&e.keyCode!==lS.ARROW_DOWN||e.preventDefault()},o.handleKeyUp=function(e){var t=o.getValidValue(e);t!==o.state.currentInputValue&&o.setState({currentInputValue:t}),e.keyCode===lS.ENTER?o.handleChange(t):e.keyCode===lS.ARROW_UP?o.handleChange(t-1):e.keyCode===lS.ARROW_DOWN&&o.handleChange(t+1)},o.handleBlur=function(e){var t=o.getValidValue(e);o.handleChange(t)},o.changePageSize=function(e){var t=o.state.current,n=mS(e,o.state,o.props);t=t>n?n:t,0===n&&(t=o.state.current),"number"==typeof e&&("pageSize"in o.props||o.setState({pageSize:e}),"current"in o.props||o.setState({current:t,currentInputValue:t})),o.props.onShowSizeChange(t,e),"onChange"in o.props&&o.props.onChange&&o.props.onChange(t,e)},o.handleChange=function(e){var t=o.props,n=t.disabled,r=t.onChange,a=o.state,i=a.pageSize,c=a.current,l=a.currentInputValue;if(o.isValid(e)&&!n){var u=mS(void 0,o.state,o.props),s=e;return e>u?s=u:e<1&&(s=1),"current"in o.props||o.setState({current:s}),s!==l&&o.setState({currentInputValue:s}),r(s,i),s}return c},o.prev=function(){o.hasPrev()&&o.handleChange(o.state.current-1)},o.next=function(){o.hasNext()&&o.handleChange(o.state.current+1)},o.jumpPrev=function(){o.handleChange(o.getJumpPrevPage())},o.jumpNext=function(){o.handleChange(o.getJumpNextPage())},o.hasPrev=function(){return o.state.current>1},o.hasNext=function(){return o.state.current2?n-2:0),o=2;o=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return void 0!==t?t:n>r}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,r=e.className,o=e.style,a=e.disabled,i=e.hideOnSinglePage,c=e.total,u=e.locale,s=e.showQuickJumper,d=e.showLessItems,f=e.showTitle,p=e.showTotal,m=e.simple,h=e.itemRender,v=e.showPrevNextJumpers,g=e.jumpPrevIcon,y=e.jumpNextIcon,b=e.selectComponentClass,x=e.selectPrefixCls,w=e.pageSizeOptions,S=this.state,C=S.current,E=S.pageSize,k=S.currentInputValue;if(!0===i&&c<=E)return null;var O=mS(void 0,this.state,this.props),I=[],P=null,j=null,N=null,R=null,M=null,_=s&&s.goButton,D=d?1:2,T=C-1>0?C-1:0,z=C+1c?c:C*E]));if(m){_&&(M="boolean"==typeof _?n(l).createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},u.jump_to_confirm):n(l).createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},_),M=n(l).createElement("li",{title:f?"".concat(u.jump_to).concat(C,"/").concat(O):null,className:"".concat(t,"-simple-pager")},M));var B=this.renderPrev(T);return n(l).createElement("ul",eo({className:n(hn)(t,"".concat(t,"-simple"),bn({},"".concat(t,"-disabled"),a),r),style:o,ref:this.paginationNode},A),L,B?n(l).createElement("li",{title:f?u.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:n(hn)("".concat(t,"-prev"),bn({},"".concat(t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},B):null,n(l).createElement("li",{title:f?"".concat(C,"/").concat(O):null,className:"".concat(t,"-simple-pager")},n(l).createElement("input",{type:"text",value:k,disabled:a,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),n(l).createElement("span",{className:"".concat(t,"-slash")},"/"),O),n(l).createElement("li",{title:f?u.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:n(hn)("".concat(t,"-next"),bn({},"".concat(t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(z)),M)}if(O<=3+2*D){var F={locale:u,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:f,itemRender:h};O||I.push(n(l).createElement(dS,eo({},F,{key:"noPager",page:1,className:"".concat(t,"-item-disabled")})));for(var H=1;H<=O;H+=1){var W=C===H;I.push(n(l).createElement(dS,eo({},F,{key:H,page:H,active:W})))}}else{var V=d?u.prev_3:u.prev_5,U=d?u.next_3:u.next_5,K=h(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(g,"prev page")),G=h(this.getJumpNextPage(),"jump-next",this.getItemIcon(y,"next page"));v&&(P=K?n(l).createElement("li",{title:f?V:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:n(hn)("".concat(t,"-jump-prev"),bn({},"".concat(t,"-jump-prev-custom-icon"),!!g))},K):null,j=G?n(l).createElement("li",{title:f?U:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:n(hn)("".concat(t,"-jump-next"),bn({},"".concat(t,"-jump-next-custom-icon"),!!y))},G):null),R=n(l).createElement(dS,{locale:u,last:!0,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:O,page:O,active:!1,showTitle:f,itemRender:h}),N=n(l).createElement(dS,{locale:u,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:f,itemRender:h});var X=Math.max(1,C-D),q=Math.min(C+D,O);C-1<=D&&(q=1+2*D),O-C<=D&&(X=O-2*D);for(var $=X;$<=q;$+=1){var Y=C===$;I.push(n(l).createElement(dS,{locale:u,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:$,page:$,active:Y,showTitle:f,itemRender:h}))}C-1>=2*D&&3!==C&&(I[0]=(0,l.cloneElement)(I[0],{className:"".concat(t,"-item-after-jump-prev")}),I.unshift(P)),O-C>=2*D&&C!==O-2&&(I[I.length-1]=(0,l.cloneElement)(I[I.length-1],{className:"".concat(t,"-item-before-jump-next")}),I.push(j)),1!==X&&I.unshift(N),q!==O&&I.push(R)}var Q=!this.hasPrev()||!O,J=!this.hasNext()||!O,Z=this.renderPrev(T),ee=this.renderNext(z);return n(l).createElement("ul",eo({className:n(hn)(t,r,bn({},"".concat(t,"-disabled"),a)),style:o,ref:this.paginationNode},A),L,Z?n(l).createElement("li",{title:f?u.prev_page:null,onClick:this.prev,tabIndex:Q?null:0,onKeyPress:this.runIfEnterPrev,className:n(hn)("".concat(t,"-prev"),bn({},"".concat(t,"-disabled"),Q)),"aria-disabled":Q},Z):null,I,ee?n(l).createElement("li",{title:f?u.next_page:null,onClick:this.next,tabIndex:J?null:0,onKeyPress:this.runIfEnterNext,className:n(hn)("".concat(t,"-next"),bn({},"".concat(t,"-disabled"),J)),"aria-disabled":J},ee):null,n(l).createElement(sS,{disabled:a,locale:u,rootPrefixCls:t,selectComponentClass:b,selectPrefixCls:x,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:C,pageSize:E,pageSizeOptions:w,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:_}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var r=t.current,o=mS(e.pageSize,t,e);r=r>o?o:r,"current"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),r}(n(l).Component);hS.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:fS,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:fS,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var vS=hS,gS=(l=a("8SyCD"),l=a("8SyCD"),{});e(gS,"default",(function(){return RE}),(function(e){return RE=e}));l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD");var yS=function(e){var t,r=e.className,o=e.customizeIcon,a=e.customizeIconProps,i=e.onMouseDown,c=e.onClick,u=e.children;return t="function"==typeof o?o(a):o,l.createElement("span",{className:r,onMouseDown:function(e){e.preventDefault(),i&&i(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:c,"aria-hidden":!0},void 0!==t?t:l.createElement("span",{className:n(hn)(r.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},u))};l=a("8SyCD");function bS(e,t,r,o,a){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0,s=n(l).useMemo((function(){return"object"===vn(o)?o.clearIcon:a||void 0}),[o,a]);return{allowClear:n(l).useMemo((function(){return!(i||!o||!r.length&&!c||"combobox"===u&&""===c)}),[o,i,r.length,c,u]),clearIcon:n(l).createElement(yS,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:s},"×")}}var xS=(l=a("8SyCD")).createContext(null);l=a("8SyCD");function wS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=Sr(l.useState(!1),2),n=t[0],r=t[1],o=l.useRef(null),a=function(){window.clearTimeout(o.current)};l.useEffect((function(){return a}),[]);return[n,function(t,n){a(),o.current=window.setTimeout((function(){r(t),n&&n()}),e)},a]}l=a("8SyCD");function SS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=l.useRef(null),n=l.useRef(null);return l.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},function(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}]}l=a("8SyCD");function CS(e,t,n,r){var o=l.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},l.useEffect((function(){var t=function(t){var n;if(null===(n=o.current)||void 0===n||!n.customizedTrigger){var r=t.target;r.shadowRoot&&t.composed&&(r=t.composedPath()[0]||r),o.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&o.current.triggerOpen(!1)}};return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD");var ES=function(e,t){var r,o,a=e.prefixCls,i=e.id,c=e.inputElement,u=e.disabled,s=e.tabIndex,d=e.autoFocus,f=e.autoComplete,p=e.editable,m=e.activeDescendantId,h=e.value,v=e.maxLength,g=e.onKeyDown,y=e.onMouseDown,b=e.onChange,x=e.onPaste,w=e.onCompositionStart,S=e.onCompositionEnd,C=e.open,E=e.attrs,k=c||l.createElement("input",null),O=k,I=O.ref,P=O.props,j=P.onKeyDown,N=P.onChange,R=P.onMouseDown,M=P.onCompositionStart,_=P.onCompositionEnd,D=P.style;return k.props,k=l.cloneElement(k,wn(wn(wn({type:"search"},P),{},{id:i,ref:On(t,I),disabled:u,tabIndex:s,autoComplete:f||"off",autoFocus:d,className:n(hn)("".concat(a,"-selection-search-input"),null===(r=k)||void 0===r||null===(o=r.props)||void 0===o?void 0:o.className),role:"combobox","aria-expanded":C||!1,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":C?m:void 0},E),{},{value:p?h:"",maxLength:v,readOnly:!p,unselectable:p?null:"on",style:wn(wn({},D),{},{opacity:p?null:0}),onKeyDown:function(e){g(e),j&&j(e)},onMouseDown:function(e){y(e),R&&R(e)},onChange:function(e){b(e),N&&N(e)},onCompositionStart:function(e){w(e),M&&M(e)},onCompositionEnd:function(e){S(e),_&&_(e)},onPaste:x}))},kS=(l=a("8SyCD")).forwardRef(ES);kS.displayName="Input";var OS=kS;l=a("8SyCD");function IS(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var PS="undefined"!=typeof window&&window.document&&window.document.documentElement;function jS(e){return null!=e}function NS(e){return!e&&0!==e}function RS(e){return["string","number"].includes(vn(e))}function MS(e){var t=void 0;return e&&(RS(e.title)?t=e.title.toString():RS(e.label)&&(t=e.label.toString())),t}function _S(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var DS=function(e){e.preventDefault(),e.stopPropagation()},TS=function(e){var t,r,o=function(e,t,r,o,a){return l.createElement("span",{className:n(hn)("".concat(W,"-item"),bn({},"".concat(W,"-item-disabled"),r)),title:MS(e)},l.createElement("span",{className:"".concat(W,"-item-content")},t),o&&l.createElement(yS,{className:"".concat(W,"-item-remove"),onMouseDown:DS,onClick:a,customizeIcon:w},"×"))},a=e.id,i=e.prefixCls,c=e.values,u=e.open,s=e.searchValue,d=e.autoClearSearchValue,f=e.inputRef,p=e.placeholder,m=e.disabled,h=e.mode,v=e.showSearch,g=e.autoFocus,y=e.autoComplete,b=e.activeDescendantId,x=e.tabIndex,w=e.removeIcon,S=e.maxTagCount,C=e.maxTagTextLength,E=e.maxTagPlaceholder,k=void 0===E?function(e){return"+ ".concat(e.length," ...")}:E,O=e.tagRender,I=e.onToggleOpen,P=e.onRemove,j=e.onInputChange,N=e.onInputPaste,R=e.onInputKeyDown,M=e.onInputMouseDown,_=e.onInputCompositionStart,D=e.onInputCompositionEnd,T=l.useRef(null),z=Sr((0,l.useState)(0),2),A=z[0],L=z[1],B=Sr((0,l.useState)(!1),2),F=B[0],H=B[1],W="".concat(i,"-selection"),V=u||"multiple"===h&&!1===d||"tags"===h?s:"",U="tags"===h||"multiple"===h&&!1===d||v&&(u||F);t=function(){L(T.current.scrollWidth)},r=[V],PS?l.useLayoutEffect(t,r):l.useEffect(t,r);var K=l.createElement("div",{className:"".concat(W,"-search"),style:{width:A},onFocus:function(){H(!0)},onBlur:function(){H(!1)}},l.createElement(OS,{ref:f,open:u,prefixCls:i,id:a,inputElement:null,disabled:m,autoFocus:g,autoComplete:y,editable:U,activeDescendantId:b,value:V,onKeyDown:R,onMouseDown:M,onChange:j,onPaste:N,onCompositionStart:_,onCompositionEnd:D,tabIndex:x,attrs:wh(e,!0)}),l.createElement("span",{ref:T,className:"".concat(W,"-search-mirror"),"aria-hidden":!0},V," ")),G=l.createElement(Yy,{prefixCls:"".concat(W,"-overflow"),data:c,renderItem:function(e){var t=e.disabled,n=e.label,r=e.value,a=!m&&!t,i=n;if("number"==typeof C&&("string"==typeof n||"number"==typeof n)){var c=String(i);c.length>C&&(i="".concat(c.slice(0,C),"..."))}var s=function(t){t&&t.stopPropagation(),P(e)};return"function"==typeof O?function(e,t,n,r,o){return l.createElement("span",{onMouseDown:function(e){DS(e),I(!u)}},O({label:t,value:e,disabled:n,closable:r,onClose:o}))}(r,i,t,a,s):o(e,i,t,a,s)},renderRest:function(e){var t="function"==typeof k?k(e):k;return o({title:t},t,!1)},suffix:K,itemKey:_S,maxCount:S});return l.createElement(l.Fragment,null,G,!c.length&&!V&&l.createElement("span",{className:"".concat(W,"-placeholder")},p))},zS=(l=a("8SyCD"),function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,o=e.inputRef,a=e.disabled,i=e.autoFocus,c=e.autoComplete,u=e.activeDescendantId,s=e.mode,d=e.open,f=e.values,p=e.placeholder,m=e.tabIndex,h=e.showSearch,v=e.searchValue,g=e.activeValue,y=e.maxLength,b=e.onInputKeyDown,x=e.onInputMouseDown,w=e.onInputChange,S=e.onInputPaste,C=e.onInputCompositionStart,E=e.onInputCompositionEnd,k=e.title,O=Sr(l.useState(!1),2),I=O[0],P=O[1],j="combobox"===s,N=j||h,R=f[0],M=v||"";j&&g&&!I&&(M=g),l.useEffect((function(){j&&P(!1)}),[j,g]);var _=!("combobox"!==s&&!d&&!h)&&!!M,D=void 0===k?MS(R):k;return l.createElement(l.Fragment,null,l.createElement("span",{className:"".concat(n,"-selection-search")},l.createElement(OS,{ref:o,prefixCls:n,id:r,open:d,inputElement:t,disabled:a,autoFocus:i,autoComplete:c,editable:N,activeDescendantId:u,value:M,onKeyDown:b,onMouseDown:x,onChange:function(e){P(!0),w(e)},onPaste:S,onCompositionStart:C,onCompositionEnd:E,tabIndex:m,attrs:wh(e,!0),maxLength:j?y:void 0})),!j&&R?l.createElement("span",{className:"".concat(n,"-selection-item"),title:D,style:_?{visibility:"hidden"}:void 0},R.label):null,function(){if(R)return null;var e=_?{visibility:"hidden"}:void 0;return l.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:e},p)}())});var AS=function(e,t){var n=(0,l.useRef)(null),r=(0,l.useRef)(!1),o=e.prefixCls,a=e.open,i=e.mode,c=e.showSearch,u=e.tokenWithEnter,s=e.autoClearSearchValue,d=e.onSearch,f=e.onSearchSubmit,p=e.onToggleOpen,m=e.onInputKeyDown,h=e.domRef;l.useImperativeHandle(t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var v=Sr(SS(0),2),g=v[0],y=v[1],b=(0,l.useRef)(null),x=function(e){!1!==d(e,!0,r.current)&&p(!0)},w={inputRef:n,onInputKeyDown:function(e){var t,n=e.which;n!==vh.UP&&n!==vh.DOWN||e.preventDefault(),m&&m(e),n!==vh.ENTER||"tags"!==i||r.current||a||null==f||f(e.target.value),t=n,[vh.ESC,vh.SHIFT,vh.BACKSPACE,vh.TAB,vh.WIN_KEY,vh.ALT,vh.META,vh.WIN_KEY_RIGHT,vh.CTRL,vh.SEMICOLON,vh.EQUALS,vh.CAPS_LOCK,vh.CONTEXT_MENU,vh.F1,vh.F2,vh.F3,vh.F4,vh.F5,vh.F6,vh.F7,vh.F8,vh.F9,vh.F10,vh.F11,vh.F12].includes(t)||p(!0)},onInputMouseDown:function(){y(!0)},onInputChange:function(e){var t=e.target.value;if(u&&b.current&&/[\r\n]/.test(b.current)){var n=b.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,b.current)}b.current=null,x(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");b.current=t},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==i&&x(e.target.value)}},S="multiple"===i||"tags"===i?l.createElement(TS,eo({},e,w)):l.createElement(zS,eo({},e,w));return l.createElement("div",{ref:h,className:"".concat(o,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){n.current.focus()})):n.current.focus())},onMouseDown:function(e){var t=g();e.target===n.current||t||"combobox"===i||e.preventDefault(),("combobox"===i||c&&t)&&a||(a&&!1!==s&&d("",!0,!1),p())}},S)},LS=l.forwardRef(AS);LS.displayName="Selector";var BS=LS,FS=(l=a("8SyCD"),["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"]),HS=function(e,t){var r=e.prefixCls,o=(e.disabled,e.visible),a=e.children,i=e.popupElement,c=e.animation,u=e.transitionName,s=e.dropdownStyle,d=e.dropdownClassName,f=e.direction,p=void 0===f?"ltr":f,m=e.placement,h=e.builtinPlacements,v=e.dropdownMatchSelectWidth,g=e.dropdownRender,y=e.dropdownAlign,b=e.getPopupContainer,x=e.empty,w=e.getTriggerDOMNode,S=e.onPopupVisibleChange,C=e.onPopupMouseEnter,E=Bn(e,FS),k="".concat(r,"-dropdown"),O=i;g&&(O=g(i));var I=l.useMemo((function(){return h||function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}}(v)}),[h,v]),P=c?"".concat(k,"-").concat(c):u,j="number"==typeof v,N=l.useMemo((function(){return j?null:!1===v?"minWidth":"width"}),[v,j]),R=s;j&&(R=wn(wn({},R),{},{width:v}));var M=l.useRef(null);return l.useImperativeHandle(t,(function(){return{getPopupElement:function(){return M.current}}})),l.createElement(yy,eo({},E,{showAction:S?["click"]:[],hideAction:S?["click"]:[],popupPlacement:m||("rtl"===p?"bottomRight":"bottomLeft"),builtinPlacements:I,prefixCls:k,popupTransitionName:P,popup:l.createElement("div",{ref:M,onMouseEnter:C},O),stretch:N,popupAlign:y,popupVisible:o,getPopupContainer:b,popupClassName:n(hn)(d,bn({},"".concat(k,"-empty"),x)),popupStyle:R,getTriggerDOMNode:w,onPopupVisibleChange:S}),a)},WS=l.forwardRef(HS);WS.displayName="SelectTrigger";var VS=WS;function US(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function KS(e,t){var n=e||{},r=n.label||(t?"children":"label");return{label:r,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||r}}function GS(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],a=KS(n,!1),i=a.label,c=a.value,l=a.options,u=a.groupLabel;return function e(t,n){t.forEach((function(t){if(n||!(l in t)){var a=t[c];o.push({key:US(t,o.length),groupOption:n,data:t,label:t[i],value:a})}else{var s=t[u];void 0===s&&r&&(s=t.label),o.push({key:US(t,o.length),group:!0,data:t,label:s}),e(t[l],!0)}}))}(e,!1),o}function XS(e){var t=wn({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return qn(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function qS(e,t){if(!t||!t.length)return null;var n=!1;var r=function e(t,r){var o=la(r),a=o[0],i=o.slice(1);if(!a)return[t];var c=t.split(a);return n=n||c.length>1,c.reduce((function(t,n){return[].concat(zn(t),zn(e(n,i)))}),[]).filter((function(e){return e}))}(e,t);return n?r:null}var $S=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],YS=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function QS(e){return"tags"===e||"multiple"===e}var JS=l.forwardRef((function(e,t){var r,o,a=e.id,i=e.prefixCls,c=e.className,u=e.showSearch,s=e.tagRender,d=e.direction,f=e.omitDomProps,p=e.displayValues,m=e.onDisplayValuesChange,h=e.emptyOptions,v=e.notFoundContent,g=void 0===v?"Not Found":v,y=e.onClear,b=e.mode,x=e.disabled,w=e.loading,S=e.getInputElement,C=e.getRawInputElement,E=e.open,k=e.defaultOpen,O=e.onDropdownVisibleChange,I=e.activeValue,P=e.onActiveValueChange,j=e.activeDescendantId,N=e.searchValue,R=e.autoClearSearchValue,M=e.onSearch,_=e.onSearchSplit,D=e.tokenSeparators,T=e.allowClear,z=e.suffixIcon,A=e.clearIcon,L=e.OptionList,B=e.animation,F=e.transitionName,H=e.dropdownStyle,W=e.dropdownClassName,V=e.dropdownMatchSelectWidth,U=e.dropdownRender,K=e.dropdownAlign,G=e.placement,X=e.builtinPlacements,q=e.getPopupContainer,$=e.showAction,Y=void 0===$?[]:$,Q=e.onFocus,J=e.onBlur,Z=e.onKeyUp,ee=e.onKeyDown,te=e.onMouseDown,ne=Bn(e,$S),re=QS(b),oe=(void 0!==u?u:re)||"combobox"===b,ae=wn({},ne);YS.forEach((function(e){delete ae[e]})),null==f||f.forEach((function(e){delete ae[e]}));var ie=Sr(l.useState(!1),2),ce=ie[0],le=ie[1];l.useEffect((function(){le(Eg())}),[]);var ue=l.useRef(null),se=l.useRef(null),de=l.useRef(null),fe=l.useRef(null),pe=l.useRef(null),me=l.useRef(!1),he=Sr(wS(),3),ve=he[0],ge=he[1],ye=he[2];l.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=fe.current)||void 0===e?void 0:e.focus,blur:null===(t=fe.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=pe.current)||void 0===t?void 0:t.scrollTo(e)}}}));var be=l.useMemo((function(){var e;if("combobox"!==b)return N;var t=null===(e=p[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""}),[N,b,p]),xe="combobox"===b&&"function"==typeof S&&S()||null,we="function"==typeof C&&C(),Se=In(se,null==we||null===(r=we.props)||void 0===r?void 0:r.ref),Ce=Sr(l.useState(!1),2),Ee=Ce[0],ke=Ce[1];Hr((function(){ke(!0)}),[]);var Oe=Sr($l(!1,{defaultValue:k,value:E}),2),Ie=Oe[0],Pe=Oe[1],je=!!Ee&&Ie,Ne=!g&&h;(x||Ne&&je&&"combobox"===b)&&(je=!1);var Re=!Ne&&je,Me=l.useCallback((function(e){var t=void 0!==e?e:!je;x||(Pe(t),je!==t&&(null==O||O(t)))}),[x,je,Pe,O]),_e=l.useMemo((function(){return(D||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[D]),De=function(e,t,n){var r=!0,o=e;null==P||P(null);var a=n?null:qS(e,D);return"combobox"!==b&&a&&(o="",null==_||_(a),Me(!1),r=!1),M&&be!==o&&M(o,{source:t?"typing":"effect"}),r};l.useEffect((function(){je||re||"combobox"===b||De("",!1,!1)}),[je]),l.useEffect((function(){Ie&&x&&Pe(!1),x&&!me.current&&ge(!1)}),[x]);var Te=Sr(SS(),2),ze=Te[0],Ae=Te[1],Le=l.useRef(!1),Be=[];l.useEffect((function(){return function(){Be.forEach((function(e){return clearTimeout(e)})),Be.splice(0,Be.length)}}),[]);var Fe,He=Sr(l.useState({}),2)[1];we&&(Fe=function(e){Me(e)}),CS((function(){var e;return[ue.current,null===(e=de.current)||void 0===e?void 0:e.getPopupElement()]}),Re,Me,!!we);var We,Ve=l.useMemo((function(){return wn(wn({},e),{},{notFoundContent:g,open:je,triggerOpen:Re,id:a,showSearch:oe,multiple:re,toggleOpen:Me})}),[e,g,Re,je,a,oe,re,Me]),Ue=!!z||w;Ue&&(We=l.createElement(yS,{className:n(hn)("".concat(i,"-arrow"),bn({},"".concat(i,"-arrow-loading"),w)),customizeIcon:z,customizeIconProps:{loading:w,searchValue:be,open:je,focused:ve,showSearch:oe}}));var Ke,Ge=bS(i,(function(){var e;null==y||y(),null===(e=fe.current)||void 0===e||e.focus(),m([],{type:"clear",values:p}),De("",!1,!1)}),p,T,A,x,be,b),Xe=Ge.allowClear,qe=Ge.clearIcon,$e=l.createElement(L,{ref:pe}),Ye=n(hn)(i,c,(bn(o={},"".concat(i,"-focused"),ve),bn(o,"".concat(i,"-multiple"),re),bn(o,"".concat(i,"-single"),!re),bn(o,"".concat(i,"-allow-clear"),T),bn(o,"".concat(i,"-show-arrow"),Ue),bn(o,"".concat(i,"-disabled"),x),bn(o,"".concat(i,"-loading"),w),bn(o,"".concat(i,"-open"),je),bn(o,"".concat(i,"-customize-input"),xe),bn(o,"".concat(i,"-show-search"),oe),o)),Qe=l.createElement(VS,{ref:de,disabled:x,prefixCls:i,visible:Re,popupElement:$e,animation:B,transitionName:F,dropdownStyle:H,dropdownClassName:W,direction:d,dropdownMatchSelectWidth:V,dropdownRender:U,dropdownAlign:K,placement:G,builtinPlacements:X,getPopupContainer:q,empty:h,getTriggerDOMNode:function(){return se.current},onPopupVisibleChange:Fe,onPopupMouseEnter:function(){He({})}},we?l.cloneElement(we,{ref:Se}):l.createElement(BS,eo({},e,{domRef:se,prefixCls:i,inputElement:xe,ref:fe,id:a,showSearch:oe,autoClearSearchValue:R,mode:b,activeDescendantId:j,tagRender:s,values:p,open:je,onToggleOpen:Me,activeValue:I,searchValue:be,onSearch:De,onSearchSubmit:function(e){e&&e.trim()&&M(e,{source:"submit"})},onRemove:function(e){var t=p.filter((function(t){return t!==e}));m(t,{type:"remove",values:[e]})},tokenWithEnter:_e})));return Ke=we?Qe:l.createElement("div",eo({className:Ye},ae,{ref:ue,onMouseDown:function(e){var t,n=e.target,r=null===(t=de.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var o=setTimeout((function(){var e,t=Be.indexOf(o);(-1!==t&&Be.splice(t,1),ye(),ce||r.contains(document.activeElement))||(null===(e=fe.current)||void 0===e||e.focus())}));Be.push(o)}for(var a=arguments.length,i=new Array(a>1?a-1:0),c=1;c=0;i-=1){var c=o[i];if(!c.disabled){o.splice(i,1),a=c;break}}a&&m(o,{type:"remove",values:[a]})}for(var l=arguments.length,u=new Array(l>1?l-1:0),s=1;s1?t-1:0),r=1;r1&&void 0!==arguments[1]&&arguments[1];return Ru(e).map((function(e,n){if(!l.isValidElement(e)||!e.type)return null;var r=e,o=r.type.isSelectOptGroup,a=r.key,i=r.props,c=i.children,u=Bn(i,cC);return t||!o?function(e){var t=e,n=t.key,r=t.props,o=r.children,a=r.value;return wn({key:n,value:void 0!==a?a:n,children:o},Bn(r,iC))}(e):wn(wn({key:"__RC_SELECT_GRP__".concat(null===a?n:a,"__"),label:a},u),{},{options:lC(c)})})).filter((function(e){return e}))}function uC(e,t,n,r,o){return l.useMemo((function(){var a=e;!e&&(a=lC(t));var i=new Map,c=new Map,l=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(t){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],u=0;u0,A=l.useMemo((function(){return 0===i||0===D?0:i/D*T}),[i,D,T]),L=l.useRef({top:A,dragging:y,pageY:w,startTop:E});L.current={top:A,dragging:y,pageY:w,startTop:E};var B=function(e){b(!0),S(gC(e,f)),k(L.current.top),u(),e.stopPropagation(),e.preventDefault()};l.useEffect((function(){var e=function(e){e.preventDefault()},t=I.current,n=P.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",B),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",B)}}),[]);var F=l.useRef();F.current=D;var H=l.useRef();H.current=T,l.useEffect((function(){if(y){var e,t=function(t){var n=L.current,r=n.dragging,o=n.pageY,a=n.startTop;if(Vc.cancel(e),r){var i=gC(t,f)-o,c=a;!O&&f?c-=i:c+=i;var l=F.current,u=H.current,s=u?c/u:0,p=Math.ceil(s*l);p=Math.max(p,0),p=Math.min(p,l),e=Vc((function(){d(p,f)}))}},n=function(){b(!1),s()};return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),Vc.cancel(e)}}}),[y]),l.useEffect((function(){_()}),[i]),l.useImperativeHandle(t,(function(){return{delayHidden:_}}));var W="".concat(o,"-scrollbar"),V={position:"absolute",visibility:N&&z?null:"hidden"},U={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return f?(V.height=8,V.left=0,V.right=0,V.bottom=0,U.height="100%",U.width=p,O?U.left=A:U.right=A):(V.width=8,V.top=0,V.bottom=0,O?V.right=0:V.left=0,U.width="100%",U.height=p,U.top=A),l.createElement("div",{ref:I,className:n(hn)(W,(r={},bn(r,"".concat(W,"-horizontal"),f),bn(r,"".concat(W,"-vertical"),!f),bn(r,"".concat(W,"-visible"),N),r)),style:wn(wn({},V),h),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:_},l.createElement("div",{ref:P,className:n(hn)("".concat(W,"-thumb"),bn({},"".concat(W,"-thumb-moving"),y)),style:wn(wn({},U),v),onMouseDown:B}))}));l=a("8SyCD"),l=a("8SyCD");function bC(e){var t=e.children,n=e.setRef,r=l.useCallback((function(e){n(e)}),[]);return l.cloneElement(t,{ref:r})}function xC(e,t,n,r,o,a,i){var c=i.getKey;return e.slice(t,n+1).map((function(e,n){var i=a(e,t+n,{style:{width:r}}),u=c(e);return l.createElement(bC,{key:u,setRef:function(t){return o(e,t)}},i)}))}l=a("8SyCD"),l=a("8SyCD");var wC=function(){function e(){Yn(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return Jn(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}();function SC(e,t,n){var r=function(){Vc.cancel(d.current)},o=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];r();var t=function(){u.current.forEach((function(e,t){if(e&&e.offsetParent){var n=Yi(e),r=n.offsetHeight;s.current.get(t)!==r&&s.current.set(t,n.offsetHeight)}})),c((function(e){return e+1}))};e?t():d.current=Vc(t)},a=Sr(l.useState(0),2),i=a[0],c=a[1],u=(0,l.useRef)(new Map),s=(0,l.useRef)(new wC),d=(0,l.useRef)();return(0,l.useEffect)((function(){return r}),[]),[function(r,a){var i=e(r),c=u.current.get(i);a?(u.current.set(i,a),o()):u.current.delete(i),!c!=!a&&(a?null==t||t(r):null==n||n(r))},o,s.current,i]}l=a("8SyCD");var CC=10;function EC(e,t,n,r,o,a,i,c){var u=l.useRef(),s=Sr(l.useState(null),2),d=s[0],f=s[1];return Hr((function(){if(d&&d.times=0;O-=1){var I=o(t[O]),P=n.get(I);if(void 0===P){m=!0;break}if((k-=P)<=0)break}switch(g){case"top":v=b-s;break;case"bottom":v=x-p+s;break;default:var j=e.current.scrollTop;bj+p&&(h="bottom")}null!==v&&i(v),v!==d.lastTop&&(m=!0)}m&&f((function(e){return wn(wn({},e),{},{times:e.times+1,targetAlign:h,lastTop:v})}))}}),[d,e.current]),function(e){if(null!=e){if(Vc.cancel(u.current),"number"==typeof e)i(e);else if(e&&"object"===vn(e)){var n,r=e.align;n="index"in e?e.index:t.findIndex((function(t){return o(t)===e.key}));var a=e.offset;f({times:0,index:n,offset:void 0===a?0:a,originAlign:r})}}else c()}}l=a("8SyCD");function kC(e,t,n){var r,o,a=function(e){return void 0!==e?n(e):l},i=e.length,c=t.length;if(0===i&&0===c)return null;i1&&void 0!==arguments[1]&&arguments[1],a=e<0&&o.current.top||e>0&&o.current.bottom;return t&&a?(clearTimeout(r.current),n.current=!1):a&&!n.current||(clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)),!n.current&&a}});function jC(e,t,n,r,o){var a=(0,l.useRef)(0),i=(0,l.useRef)(null),c=(0,l.useRef)(null),u=(0,l.useRef)(!1),s=PC(t,n),d=(0,l.useRef)(null),f=(0,l.useRef)(null);return[function(t){if(e){Vc.cancel(f.current),f.current=Vc((function(){d.current=null}),2);var n=t.deltaX,l=t.deltaY,p=t.shiftKey,m=n,h=l;("sx"===d.current||!d.current&&p&&l&&!n)&&(m=l,h=0,d.current="sx");var v=Math.abs(m),g=Math.abs(h);null===d.current&&(d.current=r&&v>g?"x":"y"),"y"===d.current?function(e,t){Vc.cancel(i.current),a.current+=t,c.current=t,s(t)||(IC||e.preventDefault(),i.current=Vc((function(){var e=u.current?10:1;o(a.current*e),a.current=0})))}(t,h):function(e,t){o(t,!0),IC||e.preventDefault()}(t,m)}},function(t){e&&(u.current=t.detail===c.current)}]}l=a("8SyCD");var NC=14/15;function RC(e,t,n){var r,o=(0,l.useRef)(!1),a=(0,l.useRef)(0),i=(0,l.useRef)(null),c=(0,l.useRef)(null),u=function(e){if(o.current){var t=Math.ceil(e.touches[0].pageY),r=a.current-t;a.current=t,n(r)&&e.preventDefault(),clearInterval(c.current),c.current=setInterval((function(){(!n(r*=NC,!0)||Math.abs(r)<=.1)&&clearInterval(c.current)}),16)}},s=function(){o.current=!1,r()},d=function(e){r(),1!==e.touches.length||o.current||(o.current=!0,a.current=Math.ceil(e.touches[0].pageY),i.current=e.target,i.current.addEventListener("touchmove",u),i.current.addEventListener("touchend",s))};r=function(){i.current&&(i.current.removeEventListener("touchmove",u),i.current.removeEventListener("touchend",s))},Hr((function(){return e&&t.current.addEventListener("touchstart",d),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",d),r(),clearInterval(c.current)}}),[e])}var MC=20;function _C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=e/(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)*100;return isNaN(t)&&(t=0),t=Math.max(t,MC),t=Math.min(t,e/2),Math.floor(t)}l=a("8SyCD");function DC(e,t,n,r){var o=Sr(l.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),2),a=o[0],i=o[1];return function(o){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,l=a.get(o),u=a.get(c);if(void 0===l||void 0===u)for(var s=e.length,d=i.length;dd||!!w),_="rtl"===x,D=n(hn)(c,bn({},"".concat(c,"-rtl"),_),s),T=v||zC,z=(0,l.useRef)(),A=(0,l.useRef)(),L=Sr((0,l.useState)(0),2),B=L[0],F=L[1],H=Sr((0,l.useState)(0),2),W=H[0],V=H[1],U=Sr((0,l.useState)(!1),2),K=U[0],G=U[1],X=function(){G(!0)},q=function(){G(!1)},$=l.useCallback((function(e){return"function"==typeof y?y(e):null==e?void 0:e[y]}),[y]),Y={getKey:$},Q=(0,l.useRef)({start:0,end:T.length}),J=(0,l.useRef)(),Z=Sr(OC(T,$),1)[0];J.current=Z;var ee=Sr(SC($,null,null),4),te=ee[0],ne=ee[1],re=ee[2],oe=ee[3],ae=l.useMemo((function(){if(!R)return{scrollHeight:void 0,start:0,end:T.length-1,offset:void 0};var e;if(!M)return{scrollHeight:(null===(e=A.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:T.length-1,offset:void 0};for(var t,n,r,o=0,a=T.length,i=0;i=B&&void 0===t&&(t=i,n=o),s>B+d&&void 0===r&&(r=i),o=s}return void 0===t&&(t=0,n=0,r=Math.ceil(d/f)),void 0===r&&(r=T.length-1),{scrollHeight:o,start:t,end:r=Math.min(r+1,T.length-1),offset:n}}),[M,R,B,T,oe,d]),ie=ae.scrollHeight,ce=ae.start,le=ae.end,ue=ae.offset;Q.current.start=ce,Q.current.end=le;var se=Sr(l.useState({width:0,height:d}),2),de=se[0],fe=se[1],pe=(0,l.useRef)(),me=(0,l.useRef)(),he=l.useMemo((function(){return _C(de.width,w)}),[de.width,w]),ve=l.useMemo((function(){return _C(de.height,ie)}),[de.height,ie]),ge=ie-d,ye=(0,l.useRef)(ge);ye.current=ge;var be=B<=0,xe=B>=ge,we=PC(be,xe),Se=function(){return{x:_?-W:W,y:B}},Ce=(0,l.useRef)(Se()),Ee=Xl((function(){if(k){var e=Se();Ce.current.x===e.x&&Ce.current.y===e.y||(k(e),Ce.current=e)}})),ke=function(e){var t=e,n=w-de.width;return t=Math.max(t,0),t=Math.min(t,n)},Oe=Xl((function(e,t){t?((0,u.flushSync)((function(){V((function(t){return ke(t+(_?-e:e))}))})),Ee()):r((function(t){return t+e}))})),Ie=Sr(jC(R,be,xe,!!w,Oe),2),Pe=Ie[0],je=Ie[1];RC(R,z,(function(e,t){return!we(e,t)&&(Pe({preventDefault:function(){},deltaY:e}),!0)})),Hr((function(){var e=function(e){R&&e.preventDefault()},t=z.current;return t.addEventListener("wheel",Pe),t.addEventListener("DOMMouseScroll",je),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",Pe),t.removeEventListener("DOMMouseScroll",je),t.removeEventListener("MozMousePixelScroll",e)}}),[R]),Hr((function(){w&&V((function(e){return ke(e)}))}),[de.width,w]);var Ne=function(){var e,t;null===(e=pe.current)||void 0===e||e.delayHidden(),null===(t=me.current)||void 0===t||t.delayHidden()},Re=EC(z,T,re,f,$,(function(){return ne(!0)}),r,Ne);l.useImperativeHandle(t,(function(){return{getScrollInfo:Se,scrollTo:function(e){var t;(t=e)&&"object"===vn(t)&&("left"in t||"top"in t)?(void 0!==e.left&&V(ke(e.left)),Re(e.top)):Re(e)}}})),Hr((function(){if(O){var e=T.slice(ce,le+1);O(e,T)}}),[ce,le,T]);var Me=DC(T,$,re,f),_e=null==P?void 0:P({start:ce,end:le,virtual:M,offsetX:W,offsetY:ue,rtl:_,getSize:Me}),De=xC(T,ce,le,w,te,g,Y),Te=null;d&&(Te=wn(bn({},m?"height":"maxHeight",d),AC),R&&(Te.overflowY="hidden",w&&(Te.overflowX="hidden"),K&&(Te.pointerEvents="none")));var ze={};return _&&(ze.dir="rtl"),l.createElement("div",eo({style:wn(wn({},h),{},{position:"relative"}),className:D},ze,N),l.createElement(fm,{onResize:function(e){fe({width:e.width||e.offsetWidth,height:e.height||e.offsetHeight})}},l.createElement(C,{className:"".concat(c,"-holder"),style:Te,ref:z,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==B&&r(t),null==E||E(e),Ee()},onMouseEnter:Ne},l.createElement(vC,{prefixCls:c,height:ie,offsetX:W,offsetY:ue,scrollWidth:w,onInnerResize:ne,ref:A,innerProps:I,rtl:_,extra:_e},De))),M&&ie>d&&l.createElement(yC,{ref:pe,prefixCls:c,scrollOffset:B,scrollRange:ie,rtl:_,onScroll:a,onStartMove:X,onStopMove:q,spinSize:ve,containerSize:de.height,style:null==j?void 0:j.verticalScrollBar,thumbStyle:null==j?void 0:j.verticalScrollBarThumb}),M&&w&&l.createElement(yC,{ref:me,prefixCls:c,scrollOffset:W,scrollRange:w,rtl:_,onScroll:a,onStartMove:X,onStopMove:q,spinSize:he,containerSize:de.width,horizontal:!0,style:null==j?void 0:j.horizontalScrollBar,thumbStyle:null==j?void 0:j.horizontalScrollBarThumb}))}var BC=l.forwardRef(LC);BC.displayName="List";var FC=BC,HC=(l=a("8SyCD"),l=a("8SyCD"),(l=a("8SyCD")).createContext(null));var WC=["disabled","title","children","style","className"];function VC(e){return"string"==typeof e||"number"==typeof e}var UC=function(e,t){var r=function(e,t){return{role:e.group?"presentation":"option",id:"".concat(i,"_list_").concat(t)}},o=l.useContext(xS),a=o.prefixCls,i=o.id,c=o.open,u=o.multiple,s=o.mode,d=o.searchValue,f=o.toggleOpen,p=o.notFoundContent,m=o.onPopupScroll,h=l.useContext(HC),v=h.flattenOptions,g=h.onActiveValue,y=h.defaultActiveFirstOption,b=h.onSelect,x=h.menuItemSelectedIcon,w=h.rawValues,S=h.fieldNames,C=h.virtual,E=h.direction,k=h.listHeight,O=h.listItemHeight,I="".concat(a,"-item"),P=En((function(){return v}),[c,v],(function(e,t){return t[0]&&e[1]!==t[1]})),j=l.useRef(null),N=function(e){e.preventDefault()},R=function(e){j.current&&j.current.scrollTo("number"==typeof e?{index:e}:e)},M=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=P.length,r=0;r1&&void 0!==arguments[1]&&arguments[1];T(e);var n={source:t?"keyboard":"mouse"},r=P[e];r?g(r.value,e,n):g(null,-1,n)};(0,l.useEffect)((function(){z(!1!==y?M(0):-1)}),[P.length,d]);var A=l.useCallback((function(e){return w.has(e)&&"combobox"!==s}),[s,zn(w).toString(),w.size]);(0,l.useEffect)((function(){var e,t=setTimeout((function(){if(!u&&c&&1===w.size){var e=Array.from(w)[0],t=P.findIndex((function(t){return t.data.value===e}));-1!==t&&(z(t),R(t))}}));c&&(null===(e=j.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[c,d,v.length]);var L=function(e){void 0!==e&&b(e,{selected:!w.has(e)}),u||f(!1)};if(l.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case vh.N:case vh.P:case vh.UP:case vh.DOWN:var r=0;if(t===vh.UP?r=-1:t===vh.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===vh.N?r=1:t===vh.P&&(r=-1)),0!==r){var o=M(D+r,r);R(o),z(o,!0)}break;case vh.ENTER:var a=P[D];a&&!a.data.disabled?L(a.value):L(void 0),c&&e.preventDefault();break;case vh.ESC:f(!1),c&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){R(e)}}})),0===P.length)return l.createElement("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat(I,"-empty"),onMouseDown:N},p);var B=Object.keys(S).map((function(e){return S[e]})),F=function(e){return e.label},H=function(e){var t=P[e];if(!t)return null;var n=t.data||{},o=n.value,a=t.group,i=wh(n,!0),c=F(t);return t?l.createElement("div",eo({"aria-label":"string"!=typeof c||a?null:c},i,{key:e},r(t,e),{"aria-selected":A(o)}),o):null},W={role:"listbox",id:"".concat(i,"_list")};return l.createElement(l.Fragment,null,C&&l.createElement("div",eo({},W,{style:{height:0,width:0,overflow:"hidden"}}),H(D-1),H(D),H(D+1)),l.createElement(FC,{itemKey:"key",ref:j,data:P,height:k,itemHeight:O,fullHeight:!1,onMouseDown:N,onScroll:m,virtual:C,direction:E,innerProps:C?null:W},(function(e,t){var o,a=e.group,i=e.groupOption,c=e.data,u=e.label,s=e.value,d=c.key;if(a){var f,p=null!==(f=c.title)&&void 0!==f?f:VC(u)?u.toString():void 0;return l.createElement("div",{className:n(hn)(I,"".concat(I,"-group")),title:p},void 0!==u?u:d)}var m=c.disabled,h=c.title,v=(c.children,c.style),g=c.className,y=Sn(Bn(c,WC),B),b=A(s),w="".concat(I,"-option"),S=n(hn)(I,w,g,(bn(o={},"".concat(w,"-grouped"),i),bn(o,"".concat(w,"-active"),D===t&&!m),bn(o,"".concat(w,"-disabled"),m),bn(o,"".concat(w,"-selected"),b),o)),E=F(e),k=!x||"function"==typeof x||b,O="number"==typeof E?E:E||s,P=VC(O)?O.toString():void 0;return void 0!==h&&(P=h),l.createElement("div",eo({},wh(y),C?{}:r(e,t),{"aria-selected":b,className:S,title:P,onMouseMove:function(){D===t||m||z(t)},onClick:function(){m||L(s)},style:v}),l.createElement("div",{className:"".concat(w,"-content")},O),l.isValidElement(x)||b,k&&l.createElement(yS,{className:"".concat(I,"-option-state"),customizeIcon:x,customizeIconProps:{value:s,disabled:m,isSelected:b}},b?"✓":null))})))},KC=l.forwardRef(UC);KC.displayName="OptionList";var GC=KC;l=a("8SyCD");var XC=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],qC=["inputValue"];var $C=l.forwardRef((function(e,t){var n=e.id,r=e.mode,o=e.prefixCls,a=void 0===o?"rc-select":o,i=e.backfill,c=e.fieldNames,u=e.inputValue,s=e.searchValue,d=e.onSearch,f=e.autoClearSearchValue,p=void 0===f||f,m=e.onSelect,h=e.onDeselect,v=e.dropdownMatchSelectWidth,g=void 0===v||v,y=e.filterOption,b=e.filterSort,x=e.optionFilterProp,w=e.optionLabelProp,S=e.options,C=e.children,E=e.defaultActiveFirstOption,k=e.menuItemSelectedIcon,O=e.virtual,I=e.direction,P=e.listHeight,j=void 0===P?200:P,N=e.listItemHeight,R=void 0===N?20:N,M=e.value,_=e.defaultValue,D=e.labelInValue,T=e.onChange,z=Bn(e,XC),A=aC(n),L=QS(r),B=!(S||!C),F=l.useMemo((function(){return(void 0!==y||"combobox"!==r)&&y}),[y,r]),H=l.useMemo((function(){return KS(c,B)}),[JSON.stringify(c),B]),W=Sr($l("",{value:void 0!==s?s:u,postState:function(e){return e||""}}),2),V=W[0],U=W[1],K=uC(S,C,H,x,w),G=K.valueOptions,X=K.labelOptions,q=K.options,$=l.useCallback((function(e){return IS(e).map((function(e){var t,n,r,o,a,i;(function(e){return!e||"object"!==vn(e)})(e)?t=e:(r=e.key,n=e.label,t=null!==(i=e.value)&&void 0!==i?i:r);var c,l=G.get(t);l&&(void 0===n&&(n=null==l?void 0:l[w||H.label]),void 0===r&&(r=null!==(c=null==l?void 0:l.key)&&void 0!==c?c:t),o=null==l?void 0:l.disabled,a=null==l?void 0:l.title);return{label:n,value:t,key:r,disabled:o,title:a}}))}),[H,w,G]),Y=Sr($l(_,{value:M}),2),Q=Y[0],J=Y[1],Z=l.useMemo((function(){var e,t=$(Q);return"combobox"===r&&NS(null===(e=t[0])||void 0===e?void 0:e.value)?[]:t}),[Q,$,r]),ee=Sr(eC(Z,G),2),te=ee[0],ne=ee[1],re=l.useMemo((function(){if(!r&&1===te.length){var e=te[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return te.map((function(e){var t;return wn(wn({},e),{},{label:null!==(t=e.label)&&void 0!==t?t:e.value})}))}),[r,te]),oe=l.useMemo((function(){return new Set(te.map((function(e){return e.value})))}),[te]);l.useEffect((function(){if("combobox"===r){var e,t=null===(e=te[0])||void 0===e?void 0:e.value;U(jS(t)?String(t):"")}}),[te]);var ae=sC((function(e,t){var n,r=null!=t?t:e;return bn(n={},H.value,e),bn(n,H.label,r),n})),ie=l.useMemo((function(){if("tags"!==r)return q;var e=zn(q);return zn(te).sort((function(e,t){return e.value2&&void 0!==arguments[2]?arguments[2]:{}).source,o=void 0===n?"keyboard":n;ge(t),i&&"combobox"===r&&null!==e&&"keyboard"===o&&me(String(e))}),[i,r]),xe=function(e,t,n){var r=function(){var t,n=ne(e);return[D?{label:null==n?void 0:n[H.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,XS(n)]};if(t&&m){var o=Sr(r(),2),a=o[0],i=o[1];m(a,i)}else if(!t&&h&&"clear"!==n){var c=Sr(r(),2),l=c[0],u=c[1];h(l,u)}},we=sC((function(e,t){var n,o=!L||t.selected;n=o?L?[].concat(zn(te),[e]):[e]:te.filter((function(t){return t.value!==e})),de(n),xe(e,o),"combobox"===r?me(""):QS&&!p||(U(""),me(""))})),Se=l.useMemo((function(){var e=!1!==O&&!1!==g;return wn(wn({},K),{},{flattenOptions:se,onActiveValue:be,defaultActiveFirstOption:ye,onSelect:we,menuItemSelectedIcon:k,rawValues:oe,fieldNames:H,virtual:e,direction:I,listHeight:j,listItemHeight:R,childrenAsData:B})}),[K,se,be,ye,we,k,oe,H,O,g,j,R,B]);return l.createElement(HC.Provider,{value:Se},l.createElement(ZS,eo({},z,{id:A,prefixCls:a,ref:t,omitDomProps:qC,mode:r,displayValues:re,onDisplayValuesChange:function(e,t){de(e);var n=t.type,r=t.values;"remove"!==n&&"clear"!==n||r.forEach((function(e){xe(e.value,!1,n)}))},direction:I,searchValue:V,onSearch:function(e,t){if(U(e),me(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===r&&de(e),null==d||d(e));else{var n=(e||"").trim();if(n){var o=Array.from(new Set([].concat(zn(oe),[n])));de(o),xe(n,!0),U("")}}},autoClearSearchValue:p,onSearchSplit:function(e){var t=e;"tags"!==r&&(t=e.map((function(e){var t=X.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat(zn(oe),zn(t))));de(n),n.forEach((function(e){xe(e,!0)}))},dropdownMatchSelectWidth:g,OptionList:GC,emptyOptions:!se.length,activeValue:pe,activeDescendantId:"".concat(A,"_list_").concat(ve)})))})),YC=$C;YC.Option=mC,YC.OptGroup=fC;var QC=YC,JC=new aa("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ZC=new aa("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),eE=new aa("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),tE=new aa("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),nE=new aa("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),rE=new aa("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),oE={"move-up":{inKeyframes:new aa("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new aa("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:JC,outKeyframes:ZC},"move-left":{inKeyframes:eE,outKeyframes:tE},"move-right":{inKeyframes:nE,outKeyframes:rE}},aE=function(e,t){var n,r=e.antCls,o="".concat(r,"-").concat(t),a=oE[t],i=a.inKeyframes,c=a.outKeyframes;return[Wh(o,i,c,e.motionDurationMid),(n={},I(n,"\n ".concat(o,"-enter,\n ").concat(o,"-appear\n "),{opacity:0,animationTimingFunction:e.motionEaseOutCirc}),I(n,"".concat(o,"-leave"),{animationTimingFunction:e.motionEaseInOutCirc}),n)]},iE=function(e){var t=e.optionHeight,n=e.optionFontSize,r=e.optionLineHeight;return{position:"relative",display:"block",minHeight:t,padding:e.optionPadding,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},cE=function(e){var t,n,r,o=e.antCls,a=e.componentCls,i="".concat(a,"-item"),c="&".concat(o,"-slide-up-enter").concat(o,"-slide-up-enter-active"),l="&".concat(o,"-slide-up-appear").concat(o,"-slide-up-appear-active"),u="&".concat(o,"-slide-up-leave").concat(o,"-slide-up-leave-active"),s="".concat(a,"-dropdown-placement-");return[I({},"".concat(a,"-dropdown"),Object.assign(Object.assign({},Il(e)),(r={position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},I(r,"\n ".concat(c).concat(s,"bottomLeft,\n ").concat(l).concat(s,"bottomLeft\n "),{animationName:Fx}),I(r,"\n ".concat(c).concat(s,"topLeft,\n ").concat(l).concat(s,"topLeft,\n ").concat(c).concat(s,"topRight,\n ").concat(l).concat(s,"topRight\n "),{animationName:Wx}),I(r,"".concat(u).concat(s,"bottomLeft"),{animationName:Hx}),I(r,"\n ".concat(u).concat(s,"topLeft,\n ").concat(u).concat(s,"topRight\n "),{animationName:Vx}),I(r,"&-hidden",{display:"none"}),I(r,"".concat(i),Object.assign(Object.assign({},iE(e)),{cursor:"pointer",transition:"background ".concat(e.motionDurationSlow," ease"),borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":(n={display:"flex","&-content":Object.assign({flex:"auto"},Ol),"&-state":{flex:"none",display:"flex",alignItems:"center"}},I(n,"&-active:not(".concat(i,"-option-disabled)"),{backgroundColor:e.optionActiveBg}),I(n,"&-selected:not(".concat(i,"-option-disabled)"),I({color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg},"".concat(i,"-option-state"),{color:e.colorPrimary})),I(n,"&-disabled",(t={},I(t,"&".concat(i,"-option-selected"),{backgroundColor:e.colorBgContainerDisabled}),I(t,"color",e.colorTextDisabled),I(t,"cursor","not-allowed"),t)),I(n,"&-grouped",{paddingInlineStart:2*e.controlPaddingHorizontal}),n)})),I(r,"&-rtl",{direction:"rtl"}),r))),$x(e,"slide-up"),$x(e,"slide-down"),aE(e,"move-up"),aE(e,"move-down")]},lE=function(e){var t=e.multipleSelectItemHeight,n=(e.selectHeight-t)/2-e.lineWidth;return[n,Math.ceil(n/2)]};function uE(e,t){var n,r,o,a,i,c=e.componentCls,l=e.iconCls,u="".concat(c,"-selection-overflow"),s=e.multipleSelectItemHeight,d=y(lE(e),1)[0],f=t?"".concat(c,"-").concat(t):"";return I({},"".concat(c,"-multiple").concat(f),(I(i={fontSize:e.fontSize},u,{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}}),I(i,"".concat(c,"-selector"),(I(n={display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",padding:"".concat(d-2,"px ").concat(4,"px"),borderRadius:e.borderRadius},"".concat(c,"-show-search&"),{cursor:"text"}),I(n,"".concat(c,"-disabled&"),{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"}),I(n,"&:after",{display:"inline-block",width:0,margin:"".concat(2,"px 0"),lineHeight:"".concat(s,"px"),visibility:"hidden",content:'"\\a0"'}),n)),I(i,"\n &".concat(c,"-show-arrow ").concat(c,"-selector,\n &").concat(c,"-allow-clear ").concat(c,"-selector\n "),{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal}),I(i,"".concat(c,"-selection-item"),(I(o={display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:s,marginTop:2,marginBottom:2,lineHeight:"".concat(s-2*e.lineWidth,"px"),background:e.multipleItemBg,border:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.multipleItemBorderColor),borderRadius:e.borderRadiusSM,cursor:"default",transition:"font-size ".concat(e.motionDurationSlow,", line-height ").concat(e.motionDurationSlow,", height ").concat(e.motionDurationSlow),marginInlineEnd:4,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2},"".concat(c,"-disabled&"),{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"}),I(o,"&-content",{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"}),I(o,"&-remove",Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),(I(r={display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer"},"> ".concat(l),{verticalAlign:"-0.2em"}),I(r,"&:hover",{color:e.colorIconHover}),r))),o)),I(i,"".concat(u,"-item + ").concat(u,"-item"),I({},"".concat(c,"-selection-search"),{marginInlineStart:0})),I(i,"".concat(u,"-item-suffix"),{height:"100%"}),I(i,"".concat(c,"-selection-search"),(I(a={display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-d},"\n &-input,\n &-mirror\n ",{height:s,fontFamily:e.fontFamily,lineHeight:"".concat(s,"px"),transition:"all ".concat(e.motionDurationSlow)}),I(a,"&-input",{width:"100%",minWidth:4.1}),I(a,"&-mirror",{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}),a)),I(i,"".concat(c,"-selection-placeholder"),{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:"all ".concat(e.motionDurationSlow)}),i))}var sE=function(e){var t,n=e.componentCls,r=Jl(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=Jl(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),a=y(lE(e),2)[1];return[uE(e),uE(r,"sm"),I({},"".concat(n,"-multiple").concat(n,"-sm"),(t={},I(t,"".concat(n,"-selection-placeholder"),{insetInline:e.controlPaddingHorizontalSM-e.lineWidth}),I(t,"".concat(n,"-selection-search"),{marginInlineStart:a}),t)),uE(o,"lg")]};function dE(e,t){var n,r,o,a,i=e.componentCls,c=e.inputPaddingHorizontalBase,l=e.borderRadius,u=e.controlHeight-2*e.lineWidth,s=Math.ceil(1.25*e.fontSize),d=t?"".concat(i,"-").concat(t):"";return I({},"".concat(i,"-single").concat(d),(I(a={fontSize:e.fontSize,height:e.controlHeight},"".concat(i,"-selector"),Object.assign(Object.assign({},Il(e,!0)),(I(n={display:"flex",borderRadius:l},"".concat(i,"-selection-search"),{position:"absolute",top:0,insetInlineStart:c,insetInlineEnd:c,bottom:0,"&-input":{width:"100%"}}),I(n,"\n ".concat(i,"-selection-item,\n ").concat(i,"-selection-placeholder\n "),{padding:0,lineHeight:"".concat(u,"px"),transition:"all ".concat(e.motionDurationSlow,", visibility 0s"),alignSelf:"center"}),I(n,"".concat(i,"-selection-placeholder"),{transition:"none",pointerEvents:"none"}),I(n,["&:after","".concat(i,"-selection-item:empty:after"),"".concat(i,"-selection-placeholder:empty:after")].join(","),{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}),n))),I(a,"\n &".concat(i,"-show-arrow ").concat(i,"-selection-item,\n &").concat(i,"-show-arrow ").concat(i,"-selection-placeholder\n "),{paddingInlineEnd:s}),I(a,"&".concat(i,"-open ").concat(i,"-selection-item"),{color:e.colorTextPlaceholder}),I(a,"&:not(".concat(i,"-customize-input)"),I({},"".concat(i,"-selector"),(I(r={width:"100%",height:"100%",padding:"0 ".concat(c,"px")},"".concat(i,"-selection-search-input"),{height:u}),I(r,"&:after",{lineHeight:"".concat(u,"px")}),r))),I(a,"&".concat(i,"-customize-input"),I({},"".concat(i,"-selector"),(I(o={"&:after":{display:"none"}},"".concat(i,"-selection-search"),{position:"static",width:"100%"}),I(o,"".concat(i,"-selection-placeholder"),{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:"0 ".concat(c,"px"),"&:after":{display:"none"}}),o))),a))}function fE(e){var t,n=e.componentCls,r=e.controlPaddingHorizontalSM-e.lineWidth;return[dE(e),dE(Jl(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),I({},"".concat(n,"-single").concat(n,"-sm"),I({},"&:not(".concat(n,"-customize-input)"),(t={},I(t,"".concat(n,"-selection-search"),{insetInlineStart:r,insetInlineEnd:r}),I(t,"".concat(n,"-selector"),{padding:"0 ".concat(r,"px")}),I(t,"&".concat(n,"-show-arrow ").concat(n,"-selection-search"),{insetInlineEnd:r+1.5*e.fontSize}),I(t,"\n &".concat(n,"-show-arrow ").concat(n,"-selection-item,\n &").concat(n,"-show-arrow ").concat(n,"-selection-placeholder\n "),{paddingInlineEnd:1.5*e.fontSize}),t))),dE(Jl(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}var pE=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=t.componentCls,a=t.borderHoverColor,i=t.antCls,c=t.borderActiveColor,l=t.outlineColor,u=t.controlOutlineWidth,s=r?I({},"".concat(o,"-selector"),{borderColor:c}):{};return I({},e,I({},"&:not(".concat(o,"-disabled):not(").concat(o,"-customize-input):not(").concat(i,"-pagination-size-changer)"),Object.assign(Object.assign({},s),(I(n={},"&:hover ".concat(o,"-selector"),{borderColor:a}),I(n,"".concat(o,"-focused& ").concat(o,"-selector"),{borderColor:c,boxShadow:"0 0 0 ".concat(u,"px ").concat(l),outline:0}),n))))},mE=function(e){var t,n,r,o=e.antCls,a=e.componentCls,i=e.inputPaddingHorizontalBase,c=e.iconCls;return I(r={},a,Object.assign(Object.assign({},Il(e)),(I(n={position:"relative",display:"inline-block",cursor:"pointer"},"&:not(".concat(a,"-customize-input) ").concat(a,"-selector"),Object.assign(Object.assign({},function(e){var t,n,r=e.componentCls;return I(n={position:"relative",backgroundColor:e.selectorBg,border:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.colorBorder),transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut),input:{cursor:"pointer"}},"".concat(r,"-show-search&"),{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}}),I(n,"".concat(r,"-disabled&"),(I(t={color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed"},"".concat(r,"-multiple&"),{background:e.multipleSelectorBgDisabled}),I(t,"input",{cursor:"not-allowed"}),t)),n}(e)),function(e){var t=e.componentCls;return I({},"".concat(t,"-selection-search-input"),{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}})}(e))),I(n,"".concat(a,"-selection-item"),Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},Ol),I({},"> ".concat(o,"-typography"),{display:"inline"}))),I(n,"".concat(a,"-selection-placeholder"),Object.assign(Object.assign({},Ol),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"})),I(n,"".concat(a,"-arrow"),Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),(I(t={position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:i,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center"},c,I({verticalAlign:"top",transition:"transform ".concat(e.motionDurationSlow),"> svg":{verticalAlign:"top"}},"&:not(".concat(a,"-suffix)"),{pointerEvents:"auto"})),I(t,"".concat(a,"-disabled &"),{cursor:"not-allowed"}),I(t,"> *:not(:last-child)",{marginInlineEnd:8}),t))),I(n,"".concat(a,"-clear"),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:i,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.clearBg,cursor:"pointer",opacity:0,transition:"color ".concat(e.motionDurationMid," ease, opacity ").concat(e.motionDurationSlow," ease"),textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}}),I(n,"&:hover",I({},"".concat(a,"-clear"),{opacity:1})),n))),I(r,"".concat(a,"-has-feedback"),I({},"".concat(a,"-clear"),{insetInlineEnd:i+e.fontSize+e.paddingXS})),r},hE=function(e){var t,n=e.componentCls;return[I({},n,(t={},I(t,"&-borderless ".concat(n,"-selector"),{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"}),I(t,"&".concat(n,"-in-form-item"),{width:"100%"}),t)),mE(e),fE(e),sE(e),cE(e),I({},"".concat(n,"-rtl"),{direction:"rtl"}),pE(n,Jl(e,{borderHoverColor:e.colorPrimaryHover,borderActiveColor:e.colorPrimary,outlineColor:e.controlOutline})),pE("".concat(n,"-status-error"),Jl(e,{borderHoverColor:e.colorErrorHover,borderActiveColor:e.colorError,outlineColor:e.colorErrorOutline}),!0),pE("".concat(n,"-status-warning"),Jl(e,{borderHoverColor:e.colorWarningHover,borderActiveColor:e.colorWarning,outlineColor:e.colorWarningOutline}),!0),Hs(e,{borderElCls:"".concat(n,"-selector"),focusElCls:"".concat(n,"-focused")})]},vE=nu("Select",(function(e,t){var n=Jl(e,{rootPrefixCls:t.rootPrefixCls,inputPaddingHorizontalBase:e.paddingSM-1,multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[hE(n)]}),(function(e){var t=e.fontSize,n=e.lineHeight,r=e.controlHeight,o=e.controlPaddingHorizontal,a=e.zIndexPopupBase,i=e.colorText,c=e.fontWeightStrong,l=e.controlItemBgActive,u=e.controlItemBgHover,s=e.colorBgContainer,d=e.colorFillSecondary,f=e.controlHeightLG,p=e.controlHeightSM,m=e.colorBgContainerDisabled,h=e.colorTextDisabled;return{zIndexPopup:a+50,optionSelectedColor:i,optionSelectedFontWeight:c,optionSelectedBg:l,optionActiveBg:u,optionPadding:"".concat((r-t*n)/2,"px ").concat(o,"px"),optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:s,clearBg:s,singleItemHeightLG:f,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:p,multipleItemHeightLG:r,multipleSelectorBgDisabled:m,multipleItemColorDisabled:h,multipleItemBorderColorDisabled:"transparent"}}));function gE(e,t){return e||function(e){var t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}}(t)}function yE(e,t){return void 0!==t?t:null!==e}l=a("8SyCD"),l=a("8SyCD");var bE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},xE=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:bE}))},wE=l.forwardRef(xE),SE=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"}),CE=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:SE}))},EE=l.forwardRef(CE);function kE(e){var t=e.suffixIcon,n=e.clearIcon,r=e.menuItemSelectedIcon,o=e.removeIcon,a=e.loading,i=e.multiple,c=e.hasFeedback,u=e.prefixCls,s=e.showSuffixIcon,d=e.feedbackIcon,f=e.showArrow,p=(e.componentName,null!=n?n:l.createElement($f,null)),m=function(e){return null!==t||c||f?l.createElement(l.Fragment,null,!1!==s&&e,c&&d):null},h=null;if(void 0!==t)h=m(t);else if(a)h=m(l.createElement(vs,{spin:!0}));else{var v="".concat(u,"-suffix");h=function(e){var t=e.open,n=e.showSearch;return m(t&&n?l.createElement(kp,{className:v}):l.createElement(EE,{className:v}))}}return{clearIcon:p,suffixIcon:h,itemIcon:void 0!==r?r:i?l.createElement(wE,null):null,removeIcon:void 0!==o?o:l.createElement(Jm,null)}}var OE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);oe?s?(m=Date.now(),l||(r=setTimeout(f?h:d,e))):d():!0!==l&&(r=setTimeout(f?h:d,void 0===f?e-u:e)))},i=n||{},c=i.noTrailing,l=void 0!==c&&c,u=i.noLeading,s=void 0!==u&&u,d=i.debounceMode,f=void 0===d?void 0:d,p=!1,m=0;return a.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;o(),p=!n},a}(e,t,{debounceMode:!1!==(void 0!==r&&r)})}var VE=new aa("antSpinMove",{to:{opacity:1}}),UE=new aa("antRotate",{to:{transform:"rotate(405deg)"}}),KE=function(e){var t,n,r,o,a;return I({},"".concat(e.componentCls),Object.assign(Object.assign({},Il(e)),(a={position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:"transform ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOutCirc),"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":(o={position:"relative"},I(o,"> div > ".concat(e.componentCls),(r={position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight},I(r,"".concat(e.componentCls,"-dot"),{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.dotSize/2}),I(r,"".concat(e.componentCls,"-text"),{position:"absolute",top:"50%",width:"100%",paddingTop:(e.dotSize-e.fontSize)/2+2,textShadow:"0 1px 2px ".concat(e.colorBgContainer),fontSize:e.fontSize}),I(r,"&".concat(e.componentCls,"-show-text ").concat(e.componentCls,"-dot"),{marginTop:-e.dotSize/2-10}),I(r,"&-sm",(t={},I(t,"".concat(e.componentCls,"-dot"),{margin:-e.dotSizeSM/2}),I(t,"".concat(e.componentCls,"-text"),{paddingTop:(e.dotSizeSM-e.fontSize)/2+2}),I(t,"&".concat(e.componentCls,"-show-text ").concat(e.componentCls,"-dot"),{marginTop:-e.dotSizeSM/2-10}),t)),I(r,"&-lg",(n={},I(n,"".concat(e.componentCls,"-dot"),{margin:-e.dotSizeLG/2}),I(n,"".concat(e.componentCls,"-text"),{paddingTop:(e.dotSizeLG-e.fontSize)/2+2}),I(n,"&".concat(e.componentCls,"-show-text ").concat(e.componentCls,"-dot"),{marginTop:-e.dotSizeLG/2-10}),n)),r)),I(o,"".concat(e.componentCls,"-container"),{position:"relative",transition:"opacity ".concat(e.motionDurationSlow),"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:"all ".concat(e.motionDurationSlow),content:'""',pointerEvents:"none"}}),I(o,"".concat(e.componentCls,"-blur"),I({clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none"},"&::after",{opacity:.4,pointerEvents:"auto"})),o)},I(a,"&-tip",{color:e.spinDotDefault}),I(a,"".concat(e.componentCls,"-dot"),{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.dotSize-e.marginXXS/2)/2,height:(e.dotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:VE,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:UE,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}}),I(a,"&-sm ".concat(e.componentCls,"-dot"),{fontSize:e.dotSizeSM,i:{width:(e.dotSizeSM-e.marginXXS/2)/2,height:(e.dotSizeSM-e.marginXXS/2)/2}}),I(a,"&-lg ".concat(e.componentCls,"-dot"),{fontSize:e.dotSizeLG,i:{width:(e.dotSizeLG-e.marginXXS)/2,height:(e.dotSizeLG-e.marginXXS)/2}}),I(a,"&".concat(e.componentCls,"-show-text ").concat(e.componentCls,"-text"),{display:"block"}),a)))},GE=nu("Spin",(function(e){var t=Jl(e,{spinDotDefault:e.colorTextDescription});return[KE(t)]}),(function(e){return{contentHeight:400,dotSize:e.controlHeightLG/2,dotSizeSM:.35*e.controlHeightLG,dotSizeLG:e.controlHeight}})),XE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0){var R=u[0]/2;N.paddingLeft=R,N.paddingRight=R}return x&&(N.flex=function(e){return"number"==typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(x),!1!==s||N.minWidth||(N.minWidth=0)),k(l.createElement("div",Object.assign({},S,{style:Object.assign(Object.assign({},N),w),className:j,ref:t}),b))})),rk=n(l=a("8SyCD")).createContext({}),ok=(rk.Consumer,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&n(l).createElement("ul",{className:"".concat(v,"-item-action"),key:"actions"},i.map((function(e,t){return n(l).createElement("li",{key:"".concat(v,"-item-action-").concat(t)},e,t!==i.length-1&&n(l).createElement("em",{className:"".concat(v,"-item-action-split")}))}))),y=p?"div":"li",b=n(l).createElement(y,Object.assign({},d,p?{}:{ref:t},{className:n(hn)("".concat(v,"-item"),I({},"".concat(v,"-item-no-flex"),!("vertical"===m?c:(l.Children.forEach(a,(function(e){"string"==typeof e&&(r=!0)})),!(r&&l.Children.count(a)>1)))),u)}),"vertical"===m&&c?[n(l).createElement("div",{className:"".concat(v,"-item-main"),key:"content"},a,g),n(l).createElement("div",{className:"".concat(v,"-item-extra"),key:"extra"},c)]:[a,g,Gl(c,{key:"extra"})]);return p?n(l).createElement(ZE.default,{ref:t,flex:1,style:s},b):b},ck=(0,l.forwardRef)(ik);ck.Meta=ak;var lk=ck,uk=function(e){var t,n,r=e.listBorderedCls,o=e.componentCls,a=e.paddingLG,i=e.margin,c=e.itemPaddingSM,l=e.itemPaddingLG,u=e.marginLG,s=e.borderRadiusLG;return I(n={},"".concat(r),(I(t={border:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:s},"".concat(o,"-header,").concat(o,"-footer,").concat(o,"-item"),{paddingInline:a}),I(t,"".concat(o,"-pagination"),{margin:"".concat(i,"px ").concat(u,"px")}),t)),I(n,"".concat(r).concat(o,"-sm"),I({},"".concat(o,"-item,").concat(o,"-header,").concat(o,"-footer"),{padding:c})),I(n,"".concat(r).concat(o,"-lg"),I({},"".concat(o,"-item,").concat(o,"-header,").concat(o,"-footer"),{padding:l})),n},sk=function(e){var t,n,r,o,a=e.componentCls,i=e.screenSM,c=e.screenMD,l=e.marginLG,u=e.marginSM,s=e.margin;return I(o={},"@media screen and (max-width:".concat(c,")"),(I(t={},"".concat(a),I({},"".concat(a,"-item"),I({},"".concat(a,"-item-action"),{marginInlineStart:l}))),I(t,"".concat(a,"-vertical"),I({},"".concat(a,"-item"),I({},"".concat(a,"-item-extra"),{marginInlineStart:l}))),t)),I(o,"@media screen and (max-width: ".concat(i,")"),(I(r={},"".concat(a),I({},"".concat(a,"-item"),I({flexWrap:"wrap"},"".concat(a,"-action"),{marginInlineStart:u}))),I(r,"".concat(a,"-vertical"),I({},"".concat(a,"-item"),(I(n={flexWrap:"wrap-reverse"},"".concat(a,"-item-main"),{minWidth:e.contentWidth}),I(n,"".concat(a,"-item-extra"),{margin:"auto auto ".concat(s,"px")}),n))),r)),o},dk=function(e){var t,n,r,o,a,i,c=e.componentCls,l=e.antCls,u=e.controlHeight,s=e.minHeight,d=e.paddingSM,f=e.marginLG,p=e.padding,m=e.itemPadding,h=e.colorPrimary,v=e.itemPaddingSM,g=e.itemPaddingLG,y=e.paddingXS,b=e.margin,x=e.colorText,w=e.colorTextDescription,S=e.motionDurationSlow,C=e.lineWidth,E=e.headerBg,k=e.footerBg,O=e.emptyTextPadding,P=e.metaMarginBottom,j=e.avatarMarginRight,N=e.titleMarginBottom,R=e.descriptionFontSize,M={};return["start","center","end"].forEach((function(e){M["&-align-".concat(e)]={textAlign:e}})),I(i={},"".concat(c),Object.assign(Object.assign({},Il(e)),(I(o={position:"relative","*":{outline:"none"}},"".concat(c,"-header"),{background:E}),I(o,"".concat(c,"-footer"),{background:k}),I(o,"".concat(c,"-header, ").concat(c,"-footer"),{paddingBlock:d}),I(o,"".concat(c,"-pagination"),Object.assign(Object.assign({marginBlockStart:f},M),I({},"".concat(l,"-pagination-options"),{textAlign:"start"}))),I(o,"".concat(c,"-spin"),{minHeight:s,textAlign:"center"}),I(o,"".concat(c,"-items"),{margin:0,padding:0,listStyle:"none"}),I(o,"".concat(c,"-item"),(I(r={display:"flex",alignItems:"center",justifyContent:"space-between",padding:m,color:x},"".concat(c,"-item-meta"),(I(t={display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%"},"".concat(c,"-item-meta-avatar"),{marginInlineEnd:j}),I(t,"".concat(c,"-item-meta-content"),{flex:"1 0",width:0,color:x}),I(t,"".concat(c,"-item-meta-title"),{margin:"0 0 ".concat(e.marginXXS,"px 0"),color:x,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":I({color:x,transition:"all ".concat(S)},"&:hover",{color:h})}),I(t,"".concat(c,"-item-meta-description"),{color:w,fontSize:R,lineHeight:e.lineHeight}),t)),I(r,"".concat(c,"-item-action"),(I(n={flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none"},"& > li",I({position:"relative",display:"inline-block",padding:"0 ".concat(y,"px"),color:w,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center"},"&:first-child",{paddingInlineStart:0})),I(n,"".concat(c,"-item-action-split"),{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:C,height:Math.ceil(e.fontSize*e.lineHeight)-2*e.marginXXS,transform:"translateY(-50%)",backgroundColor:e.colorSplit}),n)),r)),I(o,"".concat(c,"-empty"),{padding:"".concat(p,"px 0"),color:w,fontSize:e.fontSizeSM,textAlign:"center"}),I(o,"".concat(c,"-empty-text"),{padding:O,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"}),I(o,"".concat(c,"-item-no-flex"),{display:"block"}),o))),I(i,"".concat(c,"-grid ").concat(l,"-col > ").concat(c,"-item"),{display:"block",maxWidth:"100%",marginBlockEnd:b,paddingBlock:0,borderBlockEnd:"none"}),I(i,"".concat(c,"-vertical ").concat(c,"-item"),(I(a={alignItems:"initial"},"".concat(c,"-item-main"),{display:"block",flex:1}),I(a,"".concat(c,"-item-extra"),{marginInlineStart:f}),I(a,"".concat(c,"-item-meta"),I({marginBlockEnd:P},"".concat(c,"-item-meta-title"),{marginBlockStart:0,marginBlockEnd:N,color:x,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG})),I(a,"".concat(c,"-item-action"),{marginBlockStart:p,marginInlineStart:"auto","> li":I({padding:"0 ".concat(p,"px")},"&:first-child",{paddingInlineStart:0})}),a)),I(i,"".concat(c,"-split ").concat(c,"-item"),I({borderBlockEnd:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.colorSplit)},"&:last-child",{borderBlockEnd:"none"})),I(i,"".concat(c,"-split ").concat(c,"-header"),{borderBlockEnd:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.colorSplit)}),I(i,"".concat(c,"-split").concat(c,"-empty ").concat(c,"-footer"),{borderTop:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.colorSplit)}),I(i,"".concat(c,"-loading ").concat(c,"-spin-nested-loading"),{minHeight:u}),I(i,"".concat(c,"-split").concat(c,"-something-after-last-item ").concat(l,"-spin-container > ").concat(c,"-items > ").concat(c,"-item:last-child"),{borderBlockEnd:"".concat(e.lineWidth,"px ").concat(e.lineType," ").concat(e.colorSplit)}),I(i,"".concat(c,"-lg ").concat(c,"-item"),{padding:g}),I(i,"".concat(c,"-sm ").concat(c,"-item"),{padding:v}),I(i,"".concat(c,":not(").concat(c,"-vertical)"),I({},"".concat(c,"-item-no-flex"),I({},"".concat(c,"-item-action"),{float:"right"}))),i},fk=nu("List",(function(e){var t=Jl(e,{listBorderedCls:"".concat(e.componentCls,"-bordered"),minHeight:e.controlHeightLG});return[dk(t),uk(t),sk(t)]}),(function(e){return{contentWidth:220,itemPadding:"".concat(e.paddingContentVertical,"px 0"),itemPaddingSM:"".concat(e.paddingContentVerticalSM,"px ").concat(e.paddingContentHorizontal,"px"),itemPaddingLG:"".concat(e.paddingContentVerticalLG,"px ").concat(e.paddingContentHorizontalLG,"px"),headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}})),pk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);one&&(te.current=ne);var re=o?l.createElement("div",{className:n(hn)("".concat(G,"-pagination"),"".concat(G,"-pagination-align-").concat(null!==(t=null==te?void 0:te.align)&&void 0!==t?t:"end"))},l.createElement(FE,Object.assign({},te,{onChange:U,onShowSizeChange:K}))):null,oe=zn(x);o&&x.length>(te.current-1)*te.pageSize&&(oe=zn(x).splice((te.current-1)*te.pageSize,te.pageSize));var ae=Object.keys(g||{}).some((function(e){return["xs","sm","md","lg","xl","xxl"].includes(e)})),ie=qw(ae),ce=l.useMemo((function(){for(var e=0;e0){var se=oe.map((function(e,t){return function(e,t){return P?((n="function"==typeof O?O(e):O?e[O]:e.key)||(n="list-item-".concat(t)),l.createElement(l.Fragment,{key:n},P(e,t))):null;var n}(e,t)}));ue=g?l.createElement(Aw.default,{gutter:g.gutter},l.Children.map(se,(function(e){return l.createElement("div",{key:null==e?void 0:e.key,style:le},e)}))):l.createElement("ul",{className:"".concat(G,"-items")},se)}else m||J||(ue=l.createElement("div",{className:"".concat(G,"-empty-text")},j&&j.emptyText||(null==F?void 0:F("List"))||l.createElement(zw,{componentName:"List"})));var de=te.position||"bottom",fe=l.useMemo((function(){return{grid:g,itemLayout:h}}),[JSON.stringify(g),h]);return q(l.createElement(rk.Provider,{value:fe},l.createElement("div",Object.assign({style:Object.assign(Object.assign({},null==W?void 0:W.style),p),className:ee},N),("top"===de||"both"===de)&&re,S&&l.createElement("div",{className:"".concat(G,"-header")},S),l.createElement(HE.default,Object.assign({},Y),ue,m),C&&l.createElement("div",{className:"".concat(G,"-footer")},C),v||("bottom"===de||"both"===de)&&re)))}mk.Item=JE.default;var hk=mk;function vk(e,t){var n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value;if(c.hasMessage(t))return c}}catch(e){r=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}return null}l=a("8SyCD");var gk,yk=function(e){"use strict";j(n,e);var t=L(n);function n(){return f(this,n),t.apply(this,arguments)}return O(n,null,[{key:"from",value:function(e){return e instanceof this?e:new this(e)}}]),n}(_(Array)),bk=function(e){"use strict";j(n,e);var t=L(n);function n(e){var r;if(f(this,n),r=t.call(this),!(Symbol.iterator in Object(e)))throw new TypeError("Argument must implement the iteration protocol.");return r.iterator=e[Symbol.iterator](),r}return O(n,[{key:Symbol.iterator,value:function(){var e=this,t=0;return{next:function(){return e.length<=t&&e.push(e.iterator.next()),e[t++]}}}},{key:"touchNext",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=0;t++1&&void 0!==arguments[1]?arguments[1]:xk(),r=arguments.length>2?arguments[2]:void 0;f(this,e),this.bundles=bk.from(t),this.parseMarkup=n,this.reportError=r||Ek}return O(e,[{key:"getBundle",value:function(e){return t=this.bundles,n=e,Array.isArray(n)?n.map((function(e){return vk(t,e)})):vk(t,n);var t,n}},{key:"areBundlesEmpty",value:function(){return Boolean(this.bundles[Symbol.iterator]().next().done)}},{key:"getString",value:function(e,t,n){var r=this.getBundle(e);if(r){var o=r.getMessage(e);if(o&&o.value){var a=[],i=r.formatPattern(o.value,t,a),c=!0,l=!1,u=void 0;try{for(var s,d=a[Symbol.iterator]();!(c=(s=d.next()).done);c=!0){var f=s.value;this.reportError(f)}}catch(e){l=!0,u=e}finally{try{c||null==d.return||d.return()}finally{if(l)throw u}}return i}}else this.areBundlesEmpty()?this.reportError(new Error("Attempting to get a string when no localization bundles are present.")):this.reportError(new Error('The id "'.concat(e,'" did not match any messages in the localization ')+"bundles."));return n||e}},{key:"getElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getBundle(t);if(null===r)return t?this.areBundlesEmpty()?this.reportError(new Error("Attempting to get a localized element when no localization bundles are present.")):this.reportError(new Error('The id "'.concat(t,'" did not match any messages in the localization ')+"bundles.")):this.reportError(new Error("No string id was provided when localizing a component.")),(0,l.createElement)(l.Fragment,null,e);var o,a=r.getMessage(t),i=[];if(n.attrs&&a.attributes){o={},i=[];var c=!0,u=!1,s=void 0;try{for(var d,f=Object.entries(n.attrs)[Symbol.iterator]();!(c=(d=f.next()).done);c=!0){var p=y(d.value,2),m=p[0];p[1]&&m in a.attributes&&(o[m]=r.formatPattern(a.attributes[m],n.vars,i))}}catch(e){u=!0,s=e}finally{try{c||null==f.return||f.return()}finally{if(u)throw s}}var h=!0,v=!1,g=void 0;try{for(var b,x=i[Symbol.iterator]();!(h=(b=x.next()).done);h=!0){var w=b.value;this.reportError(w)}}catch(e){v=!0,g=e}finally{try{h||null==x.return||x.return()}finally{if(v)throw g}}}if("string"==typeof e.type&&e.type in Sk)return(0,l.cloneElement)(e,o);if(null===a.value)return(0,l.cloneElement)(e,o);i=[];var C,E=r.formatPattern(a.value,n.vars,i),k=!0,O=!1,I=void 0;try{for(var P,j=i[Symbol.iterator]();!(k=(P=j.next()).done);k=!0){var N=P.value;this.reportError(N)}}catch(e){O=!0,I=e}finally{try{k||null==j.return||j.return()}finally{if(O)throw I}}if(!Ck.test(E)||null===this.parseMarkup)return(0,l.cloneElement)(e,o,E);if(n.elems){C=new Map;var R=!0,M=!1,_=void 0;try{for(var D,T=Object.entries(n.elems)[Symbol.iterator]();!(R=(D=T.next()).done);R=!0){var z=y(D.value,2),A=z[0],L=z[1];(0,l.isValidElement)(L)&&C.set(A.toLowerCase(),L)}}catch(e){M=!0,_=e}finally{try{R||null==T.return||T.return()}finally{if(M)throw _}}}var B=this.parseMarkup(E).map((function(e){var t=e.nodeName,n=e.textContent;if("#text"===t)return n;var r=t.toLowerCase(),o=null==C?void 0:C.get(r);return o?"string"==typeof o.type&&o.type in Sk?o:(0,l.cloneElement)(o,void 0,n):n}));return l.cloneElement.apply(void 0,[e,o].concat(S(B)))}}]),e}(),Ok=(l=a("8SyCD"),(0,(l=a("8SyCD")).createContext)(null));function Ik(e){return(0,l.createElement)(Ok.Provider,{value:e.l10n},e.children)}l=a("8SyCD");l=a("8SyCD");function Pk(e){var t,r=e.id,o=e.attrs,a=e.vars,i=e.elems,c=e.children,u=(0,l.useContext)(Ok);if(!u)throw new Error("The component was not properly wrapped in a .");if(Array.isArray(c)){if(c.length>1)throw new Error("Expected to receive a single React element to localize.");t=c[0]}else t=null!=c?c:null;if(!(0,l.isValidElement)(t)){var s="string"==typeof t?t:void 0,d=u.getString(r,a,s);return n(l).createElement(n(l).Fragment,null,d)}return u.getElement(t,r,{attrs:o,vars:a,elems:i})}l=a("8SyCD"),l=a("8SyCD");var jk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},Nk=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:jk}))},Rk=l.forwardRef(Nk);function Mk(e){var t=e.onCreateRhythm,n=Gv().dexie,r=(0,Wv.useLiveQuery)((function(){return n.rhythms.toArray()}),[n]),o=(0,l.useCallback)((function(){return(0,i.jsx)(xw.default,{description:(0,i.jsx)(Pk,{id:"no-rhythms",children:"No Rhythms"}),children:(0,i.jsx)(qs,{type:"primary",icon:(0,i.jsx)(Cg,{}),onClick:t,children:(0,i.jsx)(Pk,{id:"create-rhythm",children:"Create Rhythm"})})})}),[t]);return(0,i.jsx)(Nn.default,{renderEmpty:o,children:(0,i.jsx)(bw,{title:(0,i.jsx)(Pk,{id:"rhythms",children:"Rhythms"}),extra:(0,i.jsx)(qs,{type:"primary",icon:(0,i.jsx)(Cg,{}),onClick:t,children:(0,i.jsx)(Pk,{id:"create-rhythm",children:"Create Rhythm"})}),children:(0,i.jsx)(Nw.default,{dataSource:r,renderItem:function(e){var t=[(0,i.jsxs)(pn,{to:"/metronome/".concat(e.id),children:[(0,i.jsx)(Rk,{}),(0,i.jsx)(Pk,{id:"open",children:"Open"})]})];return(0,i.jsx)(Nw.default.Item,{actions:t,children:(0,i.jsx)(Nw.default.Item.Meta,{title:e.name,description:e.createdTime.toLocaleString()})})}})})})}l=a("8SyCD");var _k={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Dk=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:_k}))},Tk=l.forwardRef(Dk);l=a("8SyCD");function zk(){var e=_t(),t=(0,l.useCallback)((function(){e(-1)}),[e]);return(0,i.jsx)(qs,{icon:(0,i.jsx)(Tk,{}),onClick:t,children:(0,i.jsx)(Pk,{id:"back",children:"Back"})})}function Ak(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function Lk(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}function Bk(e,t){if(null==e)return{};var n,r,o=Lk(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Fk(e){return(0,i.jsx)("div",{className:"form__field__group",children:e.children})}function Hk(e){var t=e.label,n=e.name;return(0,i.jsxs)("div",{className:"form__field",children:[t?(0,i.jsx)("label",{className:"form__field__label",htmlFor:n,children:(0,i.jsx)(Pk,{id:t})}):null,e.children]})}function Wk(e){e.children;var t=Bk(e,["children"]);return(0,i.jsx)("form",Ak(wk({className:"form"},t),{children:e.children}))}a("8SyCD");var Vk={};e(Vk,"default",(function(){return wO}),(function(e){return wO=e}));l=a("8SyCD");var Uk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},Kk=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:Uk}))},Gk=l.forwardRef(Kk);function Xk(){return"function"==typeof BigInt}function qk(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function $k(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),a=o[0]||"0",i=o[1]||"0";"0"===a&&"0"===i&&(n=!1);var c=n?"-":"";return{negative:n,negativeStr:c,trimStr:r,integerStr:a,decimalStr:i,fullStr:"".concat(c).concat(r)}}function Yk(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Qk(e){var t=String(e);if(Yk(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return null!=r&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&Zk(t)?t.length-t.indexOf(".")-1:0}function Jk(e){var t=String(e);if(Yk(e)){if(e>Number.MAX_SAFE_INTEGER)return String(Xk()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&void 0!==arguments[0])||arguments[0]?this.isInvalidate()?"":$k("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),tO=function(){function e(t){Yn(this,e),bn(this,"origin",""),bn(this,"number",void 0),bn(this,"empty",void 0),qk(t)?this.empty=!0:(this.origin=String(t),this.number=Number(t))}return Jn(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(rNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r0&&void 0!==arguments[0])||arguments[0]?this.isInvalidate()?"":Jk(this.number):this.origin}}]),e}();function nO(e){return Xk()?new eO(e):new tO(e)}function rO(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=$k(e),a=o.negativeStr,i=o.integerStr,c=o.decimalStr,l="".concat(t).concat(c),u="".concat(a).concat(i);if(n>=0){var s=Number(c[n]);return s>=5&&!r?rO(nO(e).add("".concat(a,"0.").concat("0".repeat(n)).concat(10-s)).toString(),t,n,r):0===n?u:"".concat(u).concat(t).concat(c.padEnd(n,"0").slice(0,n))}return".0"===l?u:"".concat(u).concat(l)}var oO=nO;l=a("8SyCD"),l=a("8SyCD");l=a("8SyCD"),l=a("8SyCD");function aO(e){var t=e.prefixCls,r=e.upNode,o=e.downNode,a=e.upDisabled,i=e.downDisabled,c=e.onStep,u=l.useRef(),s=l.useRef([]),d=l.useRef();d.current=c;var f,p,m,h=function(){clearTimeout(u.current)},v=function(e,t){e.preventDefault(),h(),d.current(t),u.current=setTimeout((function e(){d.current(t),u.current=setTimeout(e,200)}),600)};if(l.useEffect((function(){return function(){h(),s.current.forEach((function(e){return Vc.cancel(e)}))}}),[]),f=Sr((0,l.useState)(!1),2),p=f[0],m=f[1],Hr((function(){m(Eg())}),[]),p)return null;var g="".concat(t,"-handler"),y=n(hn)(g,"".concat(g,"-up"),bn({},"".concat(g,"-up-disabled"),a)),b=n(hn)(g,"".concat(g,"-down"),bn({},"".concat(g,"-down-disabled"),i)),x=function(){return s.current.push(Vc(h))},w={unselectable:"on",role:"button",onMouseUp:x,onMouseLeave:x};return l.createElement("div",{className:"".concat(g,"-wrap")},l.createElement("span",eo({},w,{onMouseDown:function(e){v(e,!0)},"aria-label":"Increase Value","aria-disabled":a,className:y}),r||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),l.createElement("span",eo({},w,{onMouseDown:function(e){v(e,!1)},"aria-label":"Decrease Value","aria-disabled":i,className:b}),o||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function iO(e){var t="number"==typeof e?Jk(e):$k(e).fullStr;return t.includes(".")?$k(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}l=a("8SyCD");var cO=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],lO=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],uO=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},sO=function(e){var t=oO(e);return t.isInvalidate()?null:t},dO=l.forwardRef((function(e,t){var r,o=function(e,t){Q(q(e.isInvalidate()?e.toString(!1):e.toString(!t),t))},a=e.prefixCls,i=void 0===a?"rc-input-number":a,c=e.className,u=e.style,s=e.min,d=e.max,f=e.step,p=void 0===f?1:f,m=e.defaultValue,h=e.value,v=e.disabled,g=e.readOnly,y=e.upHandler,b=e.downHandler,x=e.keyboard,w=e.controls,S=void 0===w||w,C=e.classNames,E=e.stringMode,k=e.parser,O=e.formatter,I=e.precision,P=e.decimalSeparator,j=e.onChange,N=e.onInput,R=e.onPressEnter,M=e.onStep,_=Bn(e,cO),D="".concat(i,"-input"),T=l.useRef(null),z=Sr(l.useState(!1),2),A=z[0],L=z[1],B=l.useRef(!1),F=l.useRef(!1),H=l.useRef(!1),W=Sr(l.useState((function(){return oO(null!=h?h:m)})),2),V=W[0],U=W[1],K=l.useCallback((function(e,t){if(!t)return I>=0?I:Math.max(Qk(e),Qk(p))}),[I,p]),G=l.useCallback((function(e){var t=String(e);if(k)return k(t);var n=t;return P&&(n=n.replace(P,".")),n.replace(/[^\w.-]+/g,"")}),[k,P]),X=l.useRef(""),q=l.useCallback((function(e,t){if(O)return O(e,{userTyping:t,input:String(X.current)});var n="number"==typeof e?Jk(e):e;if(!t){var r=K(n,t);if(Zk(n)&&(P||r>=0))n=rO(n,P||".",r)}return n}),[O,K,P]),$=Sr(l.useState((function(){var e=null!=m?m:h;return V.isInvalidate()&&["string","number"].includes(vn(e))?Number.isNaN(e)?"":e:q(V.toString(),!1)})),2),Y=$[0],Q=$[1];X.current=Y;var J,Z,ee,te,ne,re=l.useMemo((function(){return sO(d)}),[d,I]),oe=l.useMemo((function(){return sO(s)}),[s,I]),ae=l.useMemo((function(){return!(!re||!V||V.isInvalidate())&&re.lessEquals(V)}),[re,V]),ie=l.useMemo((function(){return!(!oe||!V||V.isInvalidate())&&V.lessEquals(oe)}),[oe,V]),ce=(J=T.current,Z=A,ee=(0,l.useRef)(null),[function(){try{var e=J.selectionStart,t=J.selectionEnd,n=J.value,r=n.substring(0,e),o=n.substring(t);ee.current={start:e,end:t,value:n,beforeTxt:r,afterTxt:o}}catch(e){}},function(){if(J&&ee.current&&Z)try{var e=J.value,t=ee.current,n=t.beforeTxt,r=t.afterTxt,o=t.start,a=e.length;if(e.endsWith(r))a=e.length-ee.current.afterTxt.length;else if(e.startsWith(n))a=n.length;else{var i=n[o-1],c=e.indexOf(i,o-1);-1!==c&&(a=c+1)}J.setSelectionRange(a,a)}catch(e){qn(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(e.message))}}]),le=Sr(ce,2),ue=le[0],se=le[1],de=function(e){return re&&!e.lessEquals(re)?re:oe&&!oe.lessEquals(e)?oe:null},fe=function(e){return!de(e)},pe=function(e,t){var n,r=e,a=fe(r)||r.isEmpty();if(r.isEmpty()||t||(r=de(r)||r,a=!0),!g&&!v&&a){var i=r.toString(),c=K(i,t);return c>=0&&(r=oO(rO(i,".",c)),fe(r)||(r=oO(rO(i,".",c,!0)))),r.equals(V)||(n=r,void 0===h&&U(n),null==j||j(r.isEmpty()?null:uO(E,r)),void 0===h&&o(r,t)),r}return V},me=(te=(0,l.useRef)(0),ne=function(){Vc.cancel(te.current)},(0,l.useEffect)((function(){return ne}),[]),function(e){ne(),te.current=Vc((function(){e()}))}),he=function e(t){if(ue(),X.current=t,Q(t),!F.current){var n=G(t),r=oO(n);r.isNaN()||pe(r,!0)}null==N||N(t),me((function(){var n=t;k||(n=t.replace(/。/g,".")),n!==t&&e(n)}))},ve=function(e){var t;if(!(e&&ae||!e&&ie)){B.current=!1;var n=oO(H.current?iO(p):p);e||(n=n.negate());var r=(V||oO(0)).add(n.toString()),o=pe(r,!1);null==M||M(uO(E,o),{offset:H.current?iO(p):p,type:e?"up":"down"}),null===(t=T.current)||void 0===t||t.focus()}},ge=function(e){var t=oO(G(Y)),n=t;n=t.isNaN()?pe(V,e):pe(t,e),void 0!==h?o(V,!1):n.isNaN()||o(n,!1)};return Fr((function(){V.isInvalidate()||o(V,!1)}),[I]),Fr((function(){var e=oO(h);U(e);var t=oO(G(Y));e.equals(t)&&B.current&&!O||o(e,B.current)}),[h]),Fr((function(){O&&se()}),[Y]),l.createElement("div",{className:n(hn)(i,null==C?void 0:C.input,c,(r={},bn(r,"".concat(i,"-focused"),A),bn(r,"".concat(i,"-disabled"),v),bn(r,"".concat(i,"-readonly"),g),bn(r,"".concat(i,"-not-a-number"),V.isNaN()),bn(r,"".concat(i,"-out-of-range"),!V.isInvalidate()&&!fe(V)),r)),style:u,onFocus:function(){L(!0)},onBlur:function(){ge(!1),L(!1),B.current=!1},onKeyDown:function(e){var t=e.key,n=e.shiftKey;B.current=!0,H.current=n,"Enter"===t&&(F.current||(B.current=!1),ge(!1),null==R||R(e)),!1!==x&&!F.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(ve("Up"===t||"ArrowUp"===t),e.preventDefault())},onKeyUp:function(){B.current=!1,H.current=!1},onCompositionStart:function(){F.current=!0},onCompositionEnd:function(){F.current=!1,he(T.current.value)},onBeforeInput:function(){B.current=!0}},S&&l.createElement(aO,{prefixCls:i,upNode:y,downNode:b,upDisabled:ae,downDisabled:ie,onStep:ve}),l.createElement("div",{className:"".concat(D,"-wrap")},l.createElement("input",eo({autoComplete:"off",role:"spinbutton","aria-valuemin":s,"aria-valuemax":d,"aria-valuenow":V.isInvalidate()?null:V.toString(),step:p},_,{ref:On(T,t),className:D,value:Y,onChange:function(e){he(e.target.value)},disabled:v,readOnly:g}))))})),fO=l.forwardRef((function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,a=e.value,i=e.prefix,c=e.suffix,u=e.addonBefore,s=e.addonAfter,d=e.classes,f=e.className,p=e.classNames,m=Bn(e,lO),h=l.useRef(null);return l.createElement(tp,{inputElement:l.createElement(dO,eo({prefixCls:o,disabled:n,classNames:p,ref:On(h,t)},m)),className:f,triggerFocus:function(e){h.current&&Zf(h.current,e)},prefixCls:o,value:a,disabled:n,style:r,prefix:i,suffix:c,addonAfter:s,addonBefore:u,classes:d,classNames:p,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})}));fO.displayName="InputNumber";var pO=fO,mO=(l=a("8SyCD"),function(e,t){var n,r=e.componentCls,o=e.borderRadiusSM,a=e.borderRadiusLG,i="lg"===t?a:o;return I({},"&-".concat(t),(I(n={},"".concat(r,"-handler-wrap"),{borderStartEndRadius:i,borderEndEndRadius:i}),I(n,"".concat(r,"-handler-up"),{borderStartEndRadius:i}),I(n,"".concat(r,"-handler-down"),{borderEndEndRadius:i}),n))}),hO=function(e){var t,n,r,o,a,i=e.componentCls,c=e.lineWidth,l=e.lineType,u=e.colorBorder,s=e.borderRadius,d=e.fontSizeLG,f=e.controlHeightLG,p=e.controlHeightSM,m=e.colorError,h=e.paddingInlineSM,v=e.colorTextDescription,g=e.motionDurationMid,y=e.handleHoverColor,b=e.paddingInline,x=e.paddingBlock,w=e.handleBg,S=e.handleActiveBg,C=e.colorTextDisabled,E=e.borderRadiusSM,k=e.borderRadiusLG,O=e.controlWidth,P=e.handleVisible,j=e.handleBorderColor;return[I({},i,Object.assign(Object.assign(Object.assign(Object.assign({},Il(e)),Tf(e)),Df(e,i)),(n={display:"inline-block",width:O,margin:0,padding:0,border:"".concat(c,"px ").concat(l," ").concat(u),borderRadius:s,"&-rtl":I({direction:"rtl"},"".concat(i,"-input"),{direction:"rtl"}),"&-lg":I({padding:0,fontSize:d,borderRadius:k},"input".concat(i,"-input"),{height:f-2*c}),"&-sm":I({padding:0,borderRadius:E},"input".concat(i,"-input"),{height:p-2*c,padding:"0 ".concat(h,"px")}),"&-out-of-range":I({},"".concat(i,"-input-wrap"),{input:{color:m}}),"&-group":Object.assign(Object.assign(Object.assign({},Il(e)),zf(e)),{"&-wrapper":(t={display:"inline-block",textAlign:"start",verticalAlign:"top"},I(t,"".concat(i,"-affix-wrapper"),{width:"100%"}),I(t,"&-lg",I({},"".concat(i,"-group-addon"),{borderRadius:k,fontSize:e.fontSizeLG})),I(t,"&-sm",I({},"".concat(i,"-group-addon"),{borderRadius:E})),I(t,"".concat(i,"-wrapper-disabled > ").concat(i,"-group-addon"),Object.assign({},Rf(e))),t)})},I(n,"&-disabled ".concat(i,"-input"),{cursor:"not-allowed"}),I(n,i,{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},Il(e)),{width:"100%",padding:"".concat(x,"px ").concat(b,"px"),textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:s,outline:0,transition:"all ".concat(g," linear"),appearance:"textfield",fontSize:"inherit"}),Pf(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}),n))),I({},i,Object.assign(Object.assign(Object.assign((r={},I(r,"&:hover ".concat(i,"-handler-wrap, &-focused ").concat(i,"-handler-wrap"),{opacity:1}),I(r,"".concat(i,"-handler-wrap"),I({position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:w,borderStartStartRadius:0,borderStartEndRadius:s,borderEndEndRadius:s,borderEndStartRadius:0,opacity:!0===P?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:"opacity ".concat(g," linear ").concat(g)},"".concat(i,"-handler"),I({display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%"},"\n ".concat(i,"-handler-up-inner,\n ").concat(i,"-handler-down-inner\n "),{marginInlineEnd:0,fontSize:e.handleFontSize}))),I(r,"".concat(i,"-handler"),{height:"50%",overflow:"hidden",color:v,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:"".concat(c,"px ").concat(l," ").concat(j),transition:"all ".concat(g," linear"),"&:active":{background:S},"&:hover":I({height:"60%"},"\n ".concat(i,"-handler-up-inner,\n ").concat(i,"-handler-down-inner\n "),{color:y}),"&-up-inner, &-down-inner":Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{color:v,transition:"all ".concat(g," linear"),userSelect:"none"})}),I(r,"".concat(i,"-handler-up"),{borderStartEndRadius:s}),I(r,"".concat(i,"-handler-down"),{borderBlockStart:"".concat(c,"px ").concat(l," ").concat(j),borderEndEndRadius:s}),r),mO(e,"lg")),mO(e,"sm")),(a={"&-disabled, &-readonly":(o={},I(o,"".concat(i,"-handler-wrap"),{display:"none"}),I(o,"".concat(i,"-input"),{color:"inherit"}),o)},I(a,"\n ".concat(i,"-handler-up-disabled,\n ").concat(i,"-handler-down-disabled\n "),{cursor:"not-allowed"}),I(a,"\n ".concat(i,"-handler-up-disabled:hover &-handler-up-inner,\n ").concat(i,"-handler-down-disabled:hover &-handler-down-inner\n "),{color:C}),a))),I({},"".concat(i,"-borderless"),I({borderColor:"transparent",boxShadow:"none"},"".concat(i,"-handler-down"),{borderBlockStartWidth:0}))]},vO=function(e){var t,n=e.componentCls,r=e.paddingBlock,o=e.paddingInline,a=e.inputAffixPadding,i=e.controlWidth,c=e.borderRadiusLG,l=e.borderRadiusSM;return I({},"".concat(n,"-affix-wrapper"),Object.assign(Object.assign(Object.assign({},Tf(e)),Df(e,"".concat(n,"-affix-wrapper"))),(I(t={position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:o,"&-lg":{borderRadius:c},"&-sm":{borderRadius:l}},"&:not(".concat(n,"-affix-wrapper-disabled):hover"),{zIndex:1}),I(t,"&-focused, &:focus",{zIndex:1}),I(t,"&-disabled > ".concat(n,"-disabled"),{background:"transparent"}),I(t,"> div".concat(n),I({width:"100%",border:"none",outline:"none"},"&".concat(n,"-focused"),{boxShadow:"none !important"})),I(t,"input".concat(n,"-input"),{padding:"".concat(r,"px 0")}),I(t,"&::before",{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}),I(t,"".concat(n,"-handler-wrap"),{zIndex:2}),I(t,n,{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:o,marginInlineStart:a}}),t)))},gO=nu("InputNumber",(function(e){var t=Jl(e,Wf(e));return[hO(t),vO(t),Hs(t)]}),(function(e){return Object.assign(Object.assign({},Vf(e)),{controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:"auto",handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder})})),yO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=a.beats.length-1){for(var i=0,c=0;c=e.measures.length-1?void 0:(a=e.measures[t+1],{measureIndex:t+1,measureOffset:n+1,beatIndex:0,beatOffset:o+1}):{measureIndex:t,measureOffset:n,beatIndex:r+1,beatOffset:o+1}}return{measureIndex:t,measureOffset:n,beatIndex:r+1,beatOffset:o+1}}var aI=6e4;function iI(e){var t=e.tempo,n=e.onChangeTempo,r=(0,l.useId)(),o=y((0,l.useState)("uniform"===t.type?t.speed:jO.speed),2),a=o[0],c=o[1],u=(0,l.useCallback)((function(e){e&&(n({type:"uniform",speed:e}),c(e))}),[n]),s="uniform"===t.type?NO:t,d=y((0,l.useState)(s.begin),2),f=d[0],p=d[1],m=y((0,l.useState)(s.end),2),h=m[0],v=m[1],g=y((0,l.useState)(s.step),2),b=g[0],x=g[1],w=(0,l.useCallback)((function(e){e&&(n({type:"varying",begin:e,end:h,step:b}),p(e))}),[h,b,p,n]),S=(0,l.useCallback)((function(e){e&&(n({type:"varying",begin:f,end:e,step:b}),v(e))}),[f,b,v,n]),C=(0,l.useCallback)((function(e){e&&(n({type:"varying",begin:f,end:h,step:e}),x(e))}),[f,h,x,n]),E=(0,l.useCallback)((function(e){n("uniform"===e?{type:e,speed:a}:{type:e,begin:f,end:h,step:b})}),[a,f,h,b,n]);return(0,i.jsxs)(Wk,{autoComplete:"off",name:"tempo__settings",className:"tempo__settings",children:[(0,i.jsx)(Hk,{name:"".concat(r,"-type"),label:"type",children:(0,i.jsx)(gS.default,{id:"".concat(r,"-type"),value:t.type,options:[{value:"uniform",label:(0,i.jsx)(Pk,{id:"uniform",children:"Uniform"})},{value:"varying",label:(0,i.jsx)(Pk,{id:"varying",children:"Varying"})}],onChange:E})}),"uniform"===t.type?(0,i.jsx)(Hk,{name:"".concat(r,"-speed"),label:"speed",children:(0,i.jsx)(Vk.default,{id:"".concat(r,"-speed"),min:10,max:240,step:10,value:a,onChange:u})}):(0,i.jsxs)(Fk,{children:[(0,i.jsx)(Hk,{name:"".concat(r,"-begin"),label:"begin",children:(0,i.jsx)(Vk.default,{id:"".concat(r,"-begin"),min:10,max:120,step:10,value:f,onChange:w})}),(0,i.jsx)(Hk,{name:"".concat(r,"-end"),label:"end",children:(0,i.jsx)(Vk.default,{id:"".concat(r,"-end"),min:10,max:240,step:10,value:h,onChange:S})}),(0,i.jsx)(Hk,{name:"".concat(r,"-step"),label:"step",children:(0,i.jsx)(Vk.default,{id:"".concat(r,"-step"),min:10,max:120,step:10,value:b,onChange:C})})]})]})}l=a("8SyCD");var cI=n(l=a("8SyCD")).createContext({editable:!0,currMeasureIndex:-1,currMeasureOffset:-1,currBeatIndex:-1,currNoteIndex:-1});function lI(e){var t=e.children,n=Bk(e,["children"]);return(0,i.jsx)(cI.Provider,{value:n,children:t})}function uI(){return(0,l.useContext)(cI)}l=a("8SyCD"); +/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */var sI=Symbol("Comlink.proxy"),dI=Symbol("Comlink.endpoint"),fI=Symbol("Comlink.releaseProxy"),pI=Symbol("Comlink.finalizer"),mI=Symbol("Comlink.thrown"),hI=function(e){return"object"==typeof e&&null!==e||"function"==typeof e},vI=new Map([["proxy",{canHandle:function(e){return hI(e)&&e[sI]},serialize:function(e){var t=new MessageChannel,n=t.port1,r=t.port2;return gI(e,n),[r,[r]]},deserialize:function(e){return e.start(),bI(e)}}],["throw",{canHandle:function(e){return hI(e)&&mI in e},serialize:function(e){var t=e.value;return[t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[]]},deserialize:function(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function gI(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["*"];t.addEventListener("message",(function r(o){if(o&&o.data)if(function(e,t){var n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value;if(t===c||"*"===c)return!0;if(c instanceof RegExp&&c.test(t))return!0}}catch(e){r=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}return!1}(n,o.origin)){var a,i=Object.assign({path:[]},o.data),c=i.id,l=i.type,u=i.path,s=(o.data.argumentList||[]).map(jI);try{var d=u.slice(0,-1).reduce((function(e,t){return e[t]}),e),f=u.reduce((function(e,t){return e[t]}),e);switch(l){case"GET":a=f;break;case"SET":d[u.slice(-1)[0]]=jI(o.data.value),a=!0;break;case"APPLY":a=f.apply(d,s);break;case"CONSTRUCT":a=II(R(f,S(s)));break;case"ENDPOINT":var p=new MessageChannel,m=p.port1,h=p.port2;gI(e,h),a=function(e,t){return OI.set(e,t),e}(m,[m]);break;case"RELEASE":a=void 0;break;default:return}}catch(e){a=I({value:e},mI,0)}Promise.resolve(a).catch((function(e){return I({value:e},mI,0)})).then((function(n){var o=y(PI(n),2),a=o[0],i=o[1];t.postMessage(Object.assign(Object.assign({},a),{id:c}),i),"RELEASE"===l&&(t.removeEventListener("message",r),yI(t),pI in e&&"function"==typeof e[pI]&&e[pI]())})).catch((function(e){var n=y(PI(I({value:new TypeError("Unserializable return value")},mI,0)),2),r=n[0],o=n[1];t.postMessage(Object.assign(Object.assign({},r),{id:c}),o)}))}else console.warn("Invalid origin '".concat(o.origin,"' for comlink proxy"))})),t.start&&t.start()}function yI(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function bI(e,t){return EI(e,[],t)}function xI(e){if(e)throw new Error("Proxy has been released and is not useable")}function wI(e){return NI(e,{type:"RELEASE"}).then((function(){yI(e)}))}var SI=new WeakMap,CI="FinalizationRegistry"in globalThis&&new FinalizationRegistry((function(e){var t=(SI.get(e)||0)-1;SI.set(e,t),0===t&&wI(e)}));function EI(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!1,r=new Proxy(arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},{get:function(o,a){if(xI(n),a===fI)return function(){!function(e){CI&&CI.unregister(e)}(r),wI(e),n=!0};if("then"===a){if(0===t.length)return{then:function(){return r}};var i=NI(e,{type:"GET",path:t.map((function(e){return e.toString()}))}).then(jI);return i.then.bind(i)}return EI(e,S(t).concat([a]))},set:function(r,o,a){xI(n);var i=y(PI(a),2),c=i[0],l=i[1];return NI(e,{type:"SET",path:S(t).concat([o]).map((function(e){return e.toString()})),value:c},l).then(jI)},apply:function(r,o,a){xI(n);var i=t[t.length-1];if(i===dI)return NI(e,{type:"ENDPOINT"}).then(jI);if("bind"===i)return EI(e,t.slice(0,-1));var c=y(kI(a),2),l=c[0],u=c[1];return NI(e,{type:"APPLY",path:t.map((function(e){return e.toString()})),argumentList:l},u).then(jI)},construct:function(r,o){xI(n);var a=y(kI(o),2),i=a[0],c=a[1];return NI(e,{type:"CONSTRUCT",path:t.map((function(e){return e.toString()})),argumentList:i},c).then(jI)}});return function(e,t){var n=(SI.get(t)||0)+1;SI.set(t,n),CI&&CI.register(e,t,e)}(r,e),r}function kI(e){var t,n=e.map(PI);return[n.map((function(e){return e[0]})),(t=n.map((function(e){return e[1]})),Array.prototype.concat.apply([],t))]}var OI=new WeakMap;function II(e){return Object.assign(e,I({},sI,!0))}function PI(e){var t=!0,n=!1,r=void 0;try{for(var o,a=vI[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=y(o.value,2),c=i[0],l=i[1];if(l.canHandle(e)){var u=y(l.serialize(e),2);return[{type:"HANDLER",name:c,value:u[0]},u[1]]}}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}return[{type:"RAW",value:e},OI.get(e)||[]]}function jI(e){switch(e.type){case"HANDLER":return vI.get(e.name).deserialize(e.value);case"RAW":return e.value}}function NI(e,t,n){return new Promise((function(r){var o=new Array(4).fill(0).map((function(){return Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)})).join("-");e.addEventListener("message",(function t(n){n.data&&n.data.id&&n.data.id===o&&(e.removeEventListener("message",t),r(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),n)}))}var RI,MI,_I,DI={};RI=function(e,t,n){if(t===self.location.origin)return e;var r=n?"import "+JSON.stringify(e)+";":"importScripts("+JSON.stringify(e)+");";return URL.createObjectURL(new Blob([r],{type:"application/javascript"}))};var TI={};function zI(e){return(""+e).replace(/^((?:https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/.+)\/[^/]+$/,"$1")+"/"}MI=function(e){var t=TI[e];return t||(t=function(){try{throw new Error}catch(t){var e=(""+t.stack).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^)\n]+/g);if(e)return zI(e[2])}return"/"}(),TI[e]=t),t},_I=function(e){var t=(""+e).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^/]+/);if(!t)throw new Error("Origin not found");return t[0]};var AI=MI("kXHk2")+a("3tig5").resolve("4cvKi");DI=RI(AI,_I(AI),!1);l=a("8SyCD");var LI=(0,(l=a("8SyCD")).createContext)(void 0);function BI(){var e=(0,l.useContext)(LI);if(!e)throw new Error("audio context is not initialized");return e}a("8SyCD");l=a("8SyCD");var FI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},HI=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:FI}))},WI=l.forwardRef(HI),VI={};e(VI,"default",(function(){return rP}),(function(e){return rP=e}));l=a("8SyCD");function UI(e){return["small","middle","large"].includes(e)}function KI(e){return!!e&&("number"==typeof e&&!Number.isNaN(e))}var GI=["wrap","nowrap","wrap-reverse"],XI=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],qI=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"];var $I=function(e,t){return n(hn)(Object.assign(Object.assign(Object.assign({},function(e,t){var n={};return GI.forEach((function(r){n["".concat(e,"-wrap-").concat(r)]=t.wrap===r})),n}(e,t)),function(e,t){var n={};return qI.forEach((function(r){n["".concat(e,"-align-").concat(r)]=t.align===r})),n["".concat(e,"-align-stretch")]=!t.align&&!!t.vertical,n}(e,t)),function(e,t){var n={};return XI.forEach((function(r){n["".concat(e,"-justify-").concat(r)]=t.justify===r})),n}(e,t)))},YI=function(e){return I({},e.componentCls,{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}})},QI=function(e){return I({},e.componentCls,{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}})},JI=function(e){var t=e.componentCls,n={};return GI.forEach((function(e){n["".concat(t,"-wrap-").concat(e)]={flexWrap:e}})),n},ZI=function(e){var t=e.componentCls,n={};return qI.forEach((function(e){n["".concat(t,"-align-").concat(e)]={alignItems:e}})),n},eP=function(e){var t=e.componentCls,n={};return XI.forEach((function(e){n["".concat(t,"-justify-").concat(e)]={justifyContent:e}})),n},tP=nu("Flex",(function(e){var t=Jl(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[YI(t),QI(t),JI(t),ZI(t),eP(t)]})),nP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);of[h+1];)h++;for(var v=-1,g=-1,y=h;yv&&(v=f[y],g=y);var b=g,x=f[b-1],w=f[b],S=f[b+1],C=(x+S-2*w)/2;return C&&(b-=(S-x)/2/(2*C)),t/b}(u,n.sampleRate),t=void 0;-1!==e&&(t=function(e,t){var n=Math.round(12*Math.log(e/TO)/Math.log(2))-(kO.C-kO.A),r=Math.floor(n/12)+DO.octave;return{name:(n-12*(r-DO.octave))%(kO.B+1),octave:r,dynamics:CO.None}}(e,CO.Accent)),a(t)}};s()}})),function(){c=!0,i&&(cancelAnimationFrame(i),i=null),r&&(r.disconnect(),r=null),o&&(o.disconnect(),o=null),e&&(e.getTracks().forEach((function(e){e.stop()})),e=null)}}),[t,n,a]),{note:o}}function lP(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).prefix,t=[String(Date.now()),String(Math.floor(1e4*Math.random()))];return e&&t.splice(0,0,e),t.join(".")}var uP=(I(iP={},CO.Accent,1e3),I(iP,CO.Light,500),I(iP,CO.None,0),I(iP,CO.Invalid,0),iP);function sP(e,t,n){var r=e.createOscillator(),o=e.createGain();r.frequency.value=uP[n.dynamics],o.gain.value=1,o.gain.exponentialRampToValueAtTime(1,t+.001),o.gain.exponentialRampToValueAtTime(.001,t+.02),r.connect(o),o.connect(e.destination),r.start(t),r.stop(t+.03)}function dP(e,t,n,r){return fP(e,t,n,0,0,0,r)}function fP(e,t,n,r,o,a,i){var c=t.measures[r];if(c){var l=c.beats[o];if(l)for(var u=n+i*a,s=i/l.notes.length,d=0;d=c-1){var p=TP.get(e.id);(null==p?void 0:p.tickIntervalId)&&(self.clearInterval(null==p?void 0:p.tickIntervalId),p.tickIntervalId=null)}},d=aI/(l*i.speed),f=self.setTimeout((function(){t({type:"preparatory"},e)}),o),p={beginTimeoutId:self.setTimeout((function(){var t=TP.get(e.id);t&&(t.tickIntervalId=self.setInterval(s,d))}),a-d),preparatoryTimeoutId:f,tickIntervalId:null};TP.set(n,p)},stopTask:function(e){var t=TP.get(e.id);(null==t?void 0:t.preparatoryTimeoutId)&&self.clearTimeout(t.preparatoryTimeoutId),(null==t?void 0:t.beginTimeoutId)&&self.clearTimeout(t.beginTimeoutId),(null==t?void 0:t.tickIntervalId)&&self.clearInterval(t.tickIntervalId)}});l=a("8SyCD"),l=a("8SyCD");var zP=8;function AP(e){var t=zP,n=e.contentRadius,r=n>12?n+2:12;return{dropdownArrowOffset:r,dropdownArrowOffsetVertical:e.limitVerticalRadius?t:r}}function LP(e,t){return e?t:{}}function BP(e,t){var n,r,o,a,i,c,l,u,s,d,f,p,m,h,v,g,y,b,x,w,S,C,E,k=e.componentCls,O=e.sizePopupArrow,P=e.borderRadiusXS,j=e.borderRadiusOuter,N=e.boxShadowPopoverArrow,R=t.colorBg,M=t.contentRadius,_=void 0===M?e.borderRadiusLG:M,D=t.limitVerticalRadius,T=t.arrowDistance,z=void 0===T?0:T,A=t.arrowPlacement,L=void 0===A?{left:!0,right:!0,top:!0,bottom:!0}:A,B=AP({contentRadius:_,limitVerticalRadius:D}),F=B.dropdownArrowOffsetVertical,H=B.dropdownArrowOffset;return I({},k,Object.assign(Object.assign(Object.assign(Object.assign(I({},"".concat(k,"-arrow"),[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(i=O,c=P,l=j,u=R,s=N,d=i/2,f=d,p=1*l/Math.sqrt(2),m=d-l*(1-1/Math.sqrt(2)),h=d-c*(1/Math.sqrt(2)),v=l*(Math.sqrt(2)-1)+c*(1/Math.sqrt(2)),g=2*d-h,y=v,b=2*d-p,x=m,w=2*d-0,S=f,C=d*Math.sqrt(2)+l*(Math.sqrt(2)-2),E=l*(Math.sqrt(2)-1),{pointerEvents:"none",width:i,height:i,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:i,height:i/2,background:u,clipPath:{_multi_value_:!0,value:["polygon(".concat(E,"px 100%, 50% ").concat(E,"px, ").concat(2*d-E,"px 100%, ").concat(E,"px 100%)"),"path('M ".concat(0," ").concat(f," A ").concat(l," ").concat(l," 0 0 0 ").concat(p," ").concat(m," L ").concat(h," ").concat(v," A ").concat(c," ").concat(c," 0 0 1 ").concat(g," ").concat(y," L ").concat(b," ").concat(x," A ").concat(l," ").concat(l," 0 0 0 ").concat(w," ").concat(S," Z')")]},content:'""'},"&::after":{content:'""',position:"absolute",width:C,height:C,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:"0 0 ".concat(c,"px 0")},transform:"translateY(50%) rotate(-135deg)",boxShadow:s,zIndex:0,background:"transparent"}})),{"&:before":{background:R}})]),LP(!!L.top,(I(n={},["&-placement-top ".concat(k,"-arrow"),"&-placement-topLeft ".concat(k,"-arrow"),"&-placement-topRight ".concat(k,"-arrow")].join(","),{bottom:z,transform:"translateY(100%) rotate(180deg)"}),I(n,"&-placement-top ".concat(k,"-arrow"),{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"}),I(n,"&-placement-topLeft ".concat(k,"-arrow"),{left:{_skip_check_:!0,value:H}}),I(n,"&-placement-topRight ".concat(k,"-arrow"),{right:{_skip_check_:!0,value:H}}),n))),LP(!!L.bottom,(I(r={},["&-placement-bottom ".concat(k,"-arrow"),"&-placement-bottomLeft ".concat(k,"-arrow"),"&-placement-bottomRight ".concat(k,"-arrow")].join(","),{top:z,transform:"translateY(-100%)"}),I(r,"&-placement-bottom ".concat(k,"-arrow"),{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"}),I(r,"&-placement-bottomLeft ".concat(k,"-arrow"),{left:{_skip_check_:!0,value:H}}),I(r,"&-placement-bottomRight ".concat(k,"-arrow"),{right:{_skip_check_:!0,value:H}}),r))),LP(!!L.left,(I(o={},["&-placement-left ".concat(k,"-arrow"),"&-placement-leftTop ".concat(k,"-arrow"),"&-placement-leftBottom ".concat(k,"-arrow")].join(","),{right:{_skip_check_:!0,value:z},transform:"translateX(100%) rotate(90deg)"}),I(o,"&-placement-left ".concat(k,"-arrow"),{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"}),I(o,"&-placement-leftTop ".concat(k,"-arrow"),{top:F}),I(o,"&-placement-leftBottom ".concat(k,"-arrow"),{bottom:F}),o))),LP(!!L.right,(I(a={},["&-placement-right ".concat(k,"-arrow"),"&-placement-rightTop ".concat(k,"-arrow"),"&-placement-rightBottom ".concat(k,"-arrow")].join(","),{left:{_skip_check_:!0,value:z},transform:"translateX(-100%) rotate(-90deg)"}),I(a,"&-placement-right ".concat(k,"-arrow"),{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"}),I(a,"&-placement-rightTop ".concat(k,"-arrow"),{top:F}),I(a,"&-placement-rightBottom ".concat(k,"-arrow"),{bottom:F}),a))))}var FP={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},HP={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},WP=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function VP(e){var t=e.arrowWidth,n=e.autoAdjustOverflow,r=e.arrowPointAtCenter,o=e.offset,a=e.borderRadius,i=e.visibleFirst,c=t/2,l={};return Object.keys(FP).forEach((function(e){var u=r&&HP[e]||FP[e],s=Object.assign(Object.assign({},u),{offset:[0,0],dynamicInset:!0});switch(l[e]=s,WP.has(e)&&(s.autoArrow=!1),e){case"top":case"topLeft":case"topRight":s.offset[1]=-c-o;break;case"bottom":case"bottomLeft":case"bottomRight":s.offset[1]=c+o;break;case"left":case"leftTop":case"leftBottom":s.offset[0]=-c-o;break;case"right":case"rightTop":case"rightBottom":s.offset[0]=c+o}var d=AP({contentRadius:a,limitVerticalRadius:!0});if(r)switch(e){case"topLeft":case"bottomLeft":s.offset[0]=-d.dropdownArrowOffset-c;break;case"topRight":case"bottomRight":s.offset[0]=d.dropdownArrowOffset+c;break;case"leftTop":case"rightTop":s.offset[1]=-d.dropdownArrowOffset-c;break;case"leftBottom":case"rightBottom":s.offset[1]=d.dropdownArrowOffset+c}s.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};var o=r&&"object"==typeof r?r:{},a={};switch(e){case"top":case"bottom":a.shiftX=2*t.dropdownArrowOffset+n,a.shiftY=!0,a.adjustY=!0;break;case"left":case"right":a.shiftY=2*t.dropdownArrowOffsetVertical+n,a.shiftX=!0,a.adjustX=!0}var i=Object.assign(Object.assign({},a),o);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}(e,d,t,n),i&&(s.htmlRegion="visibleFirst")})),l}l=a("8SyCD"),l=a("8SyCD");var UP={};e(UP,"SiderContext",(function(){return tj}),(function(e){return tj=e}));l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD");var KP={};e(KP,"LayoutContext",(function(){return YP}),(function(e){return YP=e}));l=a("8SyCD");var GP=function(e){var t,n=e.componentCls,r=e.bodyBg,o=e.lightSiderBg,a=e.lightTriggerBg,i=e.lightTriggerColor;return I({},"".concat(n,"-sider-light"),(I(t={background:o},"".concat(n,"-sider-trigger"),{color:i,background:a}),I(t,"".concat(n,"-sider-zero-width-trigger"),{color:i,background:a,border:"1px solid ".concat(r),borderInlineStart:0}),t))},XP=function(e){var t,n,r=e.antCls,o=e.componentCls,a=e.colorText,i=e.triggerColor,c=e.footerBg,l=e.triggerBg,u=e.headerHeight,s=e.headerPadding,d=e.headerColor,f=e.footerPadding,p=e.triggerHeight,m=e.zeroTriggerHeight,h=e.zeroTriggerWidth,v=e.motionDurationMid,g=e.motionDurationSlow,y=e.fontSize,b=e.borderRadius,x=e.bodyBg,w=e.headerBg,S=e.siderBg;return I(n={},o,Object.assign(Object.assign((I(t={display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:x,"&, *":{boxSizing:"border-box"}},"&".concat(o,"-has-sider"),I({flexDirection:"row"},"> ".concat(o,", > ").concat(o,"-content"),{width:0})),I(t,"".concat(o,"-header, &").concat(o,"-footer"),{flex:"0 0 auto"}),I(t,"".concat(o,"-sider"),{position:"relative",minWidth:0,background:S,transition:"all ".concat(v,", background 0s"),"&-children":I({height:"100%",marginTop:-.1,paddingTop:.1},"".concat(r,"-menu").concat(r,"-menu-inline-collapsed"),{width:"auto"}),"&-has-trigger":{paddingBottom:p},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:p,color:i,lineHeight:"".concat(p,"px"),textAlign:"center",background:l,cursor:"pointer",transition:"all ".concat(v)},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:u,insetInlineEnd:-h,zIndex:1,width:h,height:m,color:i,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:S,borderStartStartRadius:0,borderStartEndRadius:b,borderEndEndRadius:b,borderEndStartRadius:0,cursor:"pointer",transition:"background ".concat(g," ease"),"&::after":{position:"absolute",inset:0,background:"transparent",transition:"all ".concat(g),content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-h,borderStartStartRadius:b,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:b}}}}),t),GP(e)),{"&-rtl":{direction:"rtl"}})),I(n,"".concat(o,"-header"),I({height:u,padding:s,color:d,lineHeight:"".concat(u,"px"),background:w},"".concat(r,"-menu"),{lineHeight:"inherit"})),I(n,"".concat(o,"-footer"),{padding:f,color:a,fontSize:y,background:c}),I(n,"".concat(o,"-content"),{flex:"auto",minHeight:0}),n},qP=nu("Layout",(function(e){return[XP(e)]}),(function(e){var t=e.colorBgLayout,n=e.controlHeight,r=e.controlHeightLG,o=e.colorText,a=e.controlHeightSM,i=e.marginXXS,c=e.colorTextLightSolid,l=e.colorBgContainer,u=1.25*r;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*n,headerPadding:"0 ".concat(u,"px"),headerColor:o,footerPadding:"".concat(a,"px ").concat(u,"px"),footerBg:t,siderBg:"#001529",triggerHeight:r+2*i,triggerBg:"#002140",triggerColor:c,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:o}}),{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),$P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0),I(r,"".concat(w,"-rtl"),"rtl"===o),r),null==x?void 0:x.className,s,d,E),O=l.useMemo((function(){return{siderHook:{addSider:function(e){c((function(t){return[].concat(zn(t),[e])}))},removeSider:function(e){c((function(t){return t.filter((function(t){return t!==e}))}))}}}}),[]);return C(l.createElement(YP.Provider,{value:O},l.createElement(m,Object.assign({ref:t,className:k,style:Object.assign(Object.assign({},null==x?void 0:x.style),h)},v),f)))})),tj=(QP({tagName:"div",displayName:"Layout"})(ej),QP({suffixCls:"header",tagName:"header",displayName:"Header"})(ZP),QP({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(ZP),QP({suffixCls:"content",tagName:"main",displayName:"Content"})(ZP),l.createContext({})),nj=(JP=0,{});e(nj,"default",(function(){return oj}),(function(e){return oj=e}));l=a("8SyCD");var rj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o4?4:a});return[vj(i),Zh(e,"zoom-big-fast")]}),(function(e){return{zIndexPopup:e.zIndexPopupBase+70,colorBgDefault:e.colorBgSpotlight}}),{resetStyle:!1})(e)},yj=mj.map((function(e){return"".concat(e,"-inverse")}));function bj(e){return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?[].concat(zn(yj),zn(mj)).includes(e):mj.includes(e)}function xj(e,t){var r=bj(t),o=n(hn)(I({},"".concat(e,"-").concat(t),t&&r)),a={},i={};return t&&!r&&(a.background=t,i["--antd-arrow-background-color"]=t),{className:o,overlayStyle:a,arrowStyle:i}}var wj=function(e){var t=e.prefixCls,r=e.className,o=e.placement,a=void 0===o?"top":o,i=e.title,c=e.color,u=e.overlayInnerStyle,s=(0,l.useContext(Li).getPrefixCls)("tooltip",t),d=y(gj(s,!0),2),f=d[0],p=d[1],m=xj(s,c),h=m.arrowStyle,v=Object.assign(Object.assign({},u),m.overlayStyle),g=n(hn)(p,s,"".concat(s,"-pure"),"".concat(s,"-placement-").concat(a),r,m.className);return f(l.createElement("div",{className:g,style:h},l.createElement("div",{className:"".concat(s,"-arrow")}),l.createElement(ij,Object.assign({},e,{className:p,prefixCls:s,overlayInnerStyle:v}),i)))},Sj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o ".concat(n,"-item:hover,\n > ").concat(n,"-item-active,\n > ").concat(n,"-submenu ").concat(n,"-submenu-title:hover"),{backgroundColor:"transparent"}),I(t,"".concat(n,"-item, ").concat(n,"-submenu-title"),{transition:["border-color ".concat(r),"background ".concat(r)].join(",")}),I(t,"".concat(n,"-submenu-arrow"),{display:"none"}),t))},Fj=function(e){return Object.assign({},Nl(e))},Hj=function(e,t){var n,r,o,a,i,c,l=e.componentCls,u=e.itemColor,s=e.itemSelectedColor,d=e.groupTitleColor,f=e.itemBg,p=e.subMenuItemBg,m=e.itemSelectedBg,h=e.activeBarHeight,v=e.activeBarWidth,g=e.activeBarBorderWidth,y=e.motionDurationSlow,b=e.motionEaseInOut,x=e.motionEaseOut,w=e.itemPaddingInline,S=e.motionDurationMid,C=e.itemHoverColor,E=e.lineType,k=e.colorSplit,O=e.itemDisabledColor,P=e.dangerItemColor,j=e.dangerItemHoverColor,N=e.dangerItemSelectedColor,R=e.dangerItemActiveBg,M=e.dangerItemSelectedBg,_=e.itemHoverBg,D=e.itemActiveBg,T=e.menuSubMenuBg,z=e.horizontalItemSelectedColor,A=e.horizontalItemSelectedBg,L=e.horizontalItemBorderRadius,B=e.horizontalItemHoverBg,F=e.popupBg;return I({},"".concat(l,"-").concat(t,", ").concat(l,"-").concat(t," > ").concat(l),(I(c={color:u,background:f},"&".concat(l,"-root:focus-visible"),Object.assign({},Fj(e))),I(c,"".concat(l,"-item-group-title"),{color:d}),I(c,"".concat(l,"-submenu-selected"),I({},"> ".concat(l,"-submenu-title"),{color:s})),I(c,"".concat(l,"-item-disabled, ").concat(l,"-submenu-disabled"),{color:"".concat(O," !important")}),I(c,"".concat(l,"-item:not(").concat(l,"-item-selected):not(").concat(l,"-submenu-selected)"),I({},"&:hover, > ".concat(l,"-submenu-title:hover"),{color:C})),I(c,"&:not(".concat(l,"-horizontal)"),(I(n={},"".concat(l,"-item:not(").concat(l,"-item-selected)"),{"&:hover":{backgroundColor:_},"&:active":{backgroundColor:D}}),I(n,"".concat(l,"-submenu-title"),{"&:hover":{backgroundColor:_},"&:active":{backgroundColor:D}}),n)),I(c,"".concat(l,"-item-danger"),(I(r={color:P},"&".concat(l,"-item:hover"),I({},"&:not(".concat(l,"-item-selected):not(").concat(l,"-submenu-selected)"),{color:j})),I(r,"&".concat(l,"-item:active"),{background:R}),r)),I(c,"".concat(l,"-item a"),{"&, &:hover":{color:"inherit"}}),I(c,"".concat(l,"-item-selected"),(I(o={color:s},"&".concat(l,"-item-danger"),{color:N}),I(o,"a, a:hover",{color:"inherit"}),o)),I(c,"& ".concat(l,"-item-selected"),I({backgroundColor:m},"&".concat(l,"-item-danger"),{backgroundColor:M})),I(c,"".concat(l,"-item, ").concat(l,"-submenu-title"),I({},"&:not(".concat(l,"-item-disabled):focus-visible"),Object.assign({},Fj(e)))),I(c,"&".concat(l,"-submenu > ").concat(l),{backgroundColor:T}),I(c,"&".concat(l,"-popup > ").concat(l),{backgroundColor:F}),I(c,"&".concat(l,"-horizontal"),Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),I({},"> ".concat(l,"-item, > ").concat(l,"-submenu"),(I(a={top:g,marginTop:-g,marginBottom:0,borderRadius:L,"&::after":{position:"absolute",insetInline:w,bottom:0,borderBottom:"".concat(h,"px solid transparent"),transition:"border-color ".concat(y," ").concat(b),content:'""'}},"&:hover, &-active, &-open",{background:B,"&::after":{borderBottomWidth:h,borderBottomColor:z}}),I(a,"&-selected",{color:z,backgroundColor:A,"&:hover":{backgroundColor:A},"&::after":{borderBottomWidth:h,borderBottomColor:z}}),a)))),I(c,"&".concat(l,"-root"),I({},"&".concat(l,"-inline, &").concat(l,"-vertical"),{borderInlineEnd:"".concat(g,"px ").concat(E," ").concat(k)})),I(c,"&".concat(l,"-inline"),(I(i={},"".concat(l,"-sub").concat(l,"-inline"),{background:p}),I(i,"".concat(l,"-item, ").concat(l,"-submenu-title"),g&&v?{width:"calc(100% + ".concat(g,"px)")}:{}),I(i,"".concat(l,"-item"),I({position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:"".concat(v,"px solid ").concat(s),transform:"scaleY(0.0001)",opacity:0,transition:["transform ".concat(S," ").concat(x),"opacity ".concat(S," ").concat(x)].join(","),content:'""'}},"&".concat(l,"-item-danger"),{"&::after":{borderInlineEndColor:N}})),I(i,"".concat(l,"-selected, ").concat(l,"-item-selected"),{"&::after":{transform:"scaleY(1)",opacity:1,transition:["transform ".concat(S," ").concat(b),"opacity ".concat(S," ").concat(b)].join(",")}}),i)),c))},Wj=function(e){var t,n=e.componentCls,r=e.itemHeight,o=e.itemMarginInline,a=e.padding,i=e.menuArrowSize,c=e.marginXS,l=e.itemMarginBlock,u=a+i+c;return I(t={},"".concat(n,"-item"),{position:"relative",overflow:"hidden"}),I(t,"".concat(n,"-item, ").concat(n,"-submenu-title"),{height:r,lineHeight:"".concat(r,"px"),paddingInline:a,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:l,width:"calc(100% - ".concat(2*o,"px)")}),I(t,"> ".concat(n,"-item,\n > ").concat(n,"-submenu > ").concat(n,"-submenu-title"),{height:r,lineHeight:"".concat(r,"px")}),I(t,"".concat(n,"-item-group-list ").concat(n,"-submenu-title,\n ").concat(n,"-submenu-title"),{paddingInlineEnd:u}),t},Vj=function(e){var t,n,r,o,a,i,c,l=e.componentCls,u=e.iconCls,s=e.itemHeight,d=e.colorTextLightSolid,f=e.dropdownWidth,p=e.controlHeightLG,m=e.motionDurationMid,h=e.motionEaseOut,v=e.paddingXL,g=e.itemMarginInline,y=e.fontSizeLG,b=e.motionDurationSlow,x=e.paddingXS,w=e.boxShadowSecondary,S=e.collapsedWidth,C=e.collapsedIconSize,E={height:s,lineHeight:"".concat(s,"px"),listStylePosition:"inside",listStyleType:"disc"};return[(t={},I(t,l,I({},"&-inline, &-vertical",Object.assign(I({},"&".concat(l,"-root"),{boxShadow:"none"}),Wj(e)))),I(t,"".concat(l,"-submenu-popup"),I({},"".concat(l,"-vertical"),Object.assign(Object.assign({},Wj(e)),{boxShadow:w}))),t),I({},"".concat(l,"-submenu-popup ").concat(l,"-vertical").concat(l,"-sub"),{minWidth:f,maxHeight:"calc(100vh - ".concat(2.5*p,"px)"),padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}),I({},"".concat(l,"-inline"),(o={width:"100%"},I(o,"&".concat(l,"-root"),I({},"".concat(l,"-item, ").concat(l,"-submenu-title"),(n={display:"flex",alignItems:"center",transition:["border-color ".concat(b),"background ".concat(b),"padding ".concat(m," ").concat(h)].join(",")},I(n,"> ".concat(l,"-title-content"),{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"}),I(n,"> *",{flex:"none"}),n))),I(o,"".concat(l,"-sub").concat(l,"-inline"),(r={padding:0,border:0,borderRadius:0,boxShadow:"none"},I(r,"& > ".concat(l,"-submenu > ").concat(l,"-submenu-title"),E),I(r,"& ".concat(l,"-item-group-title"),{paddingInlineStart:v}),r)),I(o,"".concat(l,"-item"),E),o)),I({},"".concat(l,"-inline-collapsed"),(c={width:S},I(c,"&".concat(l,"-root"),I({},"".concat(l,"-item, ").concat(l,"-submenu ").concat(l,"-submenu-title"),I({},"> ".concat(l,"-inline-collapsed-noicon"),{fontSize:y,textAlign:"center"}))),I(c,"> ".concat(l,"-item,\n > ").concat(l,"-item-group > ").concat(l,"-item-group-list > ").concat(l,"-item,\n > ").concat(l,"-item-group > ").concat(l,"-item-group-list > ").concat(l,"-submenu > ").concat(l,"-submenu-title,\n > ").concat(l,"-submenu > ").concat(l,"-submenu-title"),(a={insetInlineStart:0,paddingInline:"calc(50% - ".concat(y/2,"px - ").concat(g,"px)"),textOverflow:"clip"},I(a,"\n ".concat(l,"-submenu-arrow,\n ").concat(l,"-submenu-expand-icon\n "),{opacity:0}),I(a,"".concat(l,"-item-icon, ").concat(u),{margin:0,fontSize:C,lineHeight:"".concat(s,"px"),"+ span":{display:"inline-block",opacity:0}}),a)),I(c,"".concat(l,"-item-icon, ").concat(u),{display:"inline-block"}),I(c,"&-tooltip",(i={pointerEvents:"none"},I(i,"".concat(l,"-item-icon, ").concat(u),{display:"none"}),I(i,"a, a:hover",{color:d}),i)),I(c,"".concat(l,"-item-group-title"),Object.assign(Object.assign({},Ol),{paddingInline:x})),c))]},Uj=function(e){var t,n,r=e.componentCls,o=e.motionDurationSlow,a=e.motionDurationMid,i=e.motionEaseInOut,c=e.motionEaseOut,l=e.iconCls,u=e.iconSize,s=e.iconMarginInlineEnd;return I(n={},"".concat(r,"-item, ").concat(r,"-submenu-title"),(I(t={position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:["border-color ".concat(o),"background ".concat(o),"padding ".concat(o," ").concat(i)].join(",")},"".concat(r,"-item-icon, ").concat(l),{minWidth:u,fontSize:u,transition:["font-size ".concat(a," ").concat(c),"margin ".concat(o," ").concat(i),"color ".concat(o)].join(","),"+ span":{marginInlineStart:s,opacity:1,transition:["opacity ".concat(o," ").concat(i),"margin ".concat(o),"color ".concat(o)].join(",")}}),I(t,"".concat(r,"-item-icon"),Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}})),I(t,"&".concat(r,"-item-only-child"),I({},"> ".concat(l,", > ").concat(r,"-item-icon"),{marginInlineEnd:0})),t)),I(n,"".concat(r,"-item-disabled, ").concat(r,"-submenu-disabled"),I({background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"}},"> ".concat(r,"-submenu-title"),{color:"inherit !important",cursor:"not-allowed"})),n},Kj=function(e){var t,n=e.componentCls,r=e.motionDurationSlow,o=e.motionEaseInOut,a=e.borderRadius,i=e.menuArrowSize,c=e.menuArrowOffset;return I({},"".concat(n,"-submenu"),(I(t={},"&-expand-icon, &-arrow",{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:"transform ".concat(r," ").concat(o,", opacity ").concat(r)}),I(t,"&-arrow",{"&::before, &::after":{position:"absolute",width:.6*i,height:.15*i,backgroundColor:"currentcolor",borderRadius:a,transition:["background ".concat(r," ").concat(o),"transform ".concat(r," ").concat(o),"top ".concat(r," ").concat(o),"color ".concat(r," ").concat(o)].join(","),content:'""'},"&::before":{transform:"rotate(45deg) translateY(-".concat(c,")")},"&::after":{transform:"rotate(-45deg) translateY(".concat(c,")")}}),t))},Gj=function(e){var t,n,r,o,a,i,c=e.antCls,l=e.componentCls,u=e.fontSize,s=e.motionDurationSlow,d=e.motionDurationMid,f=e.motionEaseInOut,p=e.paddingXS,m=e.padding,h=e.colorSplit,v=e.lineWidth,g=e.zIndexPopup,y=e.borderRadiusLG,b=e.subMenuItemBorderRadius,x=e.menuArrowSize,w=e.menuArrowOffset,S=e.lineType,C=e.menuPanelMaskInset,E=e.groupTitleLineHeight,k=e.groupTitleFontSize;return[I({"":I({},"".concat(l),Object.assign(Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),I({},"&-hidden",{display:"none"})))},"".concat(l,"-submenu-hidden"),{display:"none"}),I({},l,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Il(e)),{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),(t={marginBottom:0,paddingInlineStart:0,fontSize:u,lineHeight:0,listStyle:"none",outline:"none",transition:"width ".concat(s," cubic-bezier(0.2, 0, 0, 1) 0s")},I(t,"ul, ol",{margin:0,padding:0,listStyle:"none"}),I(t,"&-overflow",I({display:"flex"},"".concat(l,"-item"),{flex:"none"})),I(t,"".concat(l,"-item, ").concat(l,"-submenu, ").concat(l,"-submenu-title"),{borderRadius:e.itemBorderRadius}),I(t,"".concat(l,"-item-group-title"),{padding:"".concat(p,"px ").concat(m,"px"),fontSize:k,lineHeight:E,transition:"all ".concat(s)}),I(t,"&-horizontal ".concat(l,"-submenu"),{transition:["border-color ".concat(s," ").concat(f),"background ".concat(s," ").concat(f)].join(",")}),I(t,"".concat(l,"-submenu, ").concat(l,"-submenu-inline"),{transition:["border-color ".concat(s," ").concat(f),"background ".concat(s," ").concat(f),"padding ".concat(d," ").concat(f)].join(",")}),I(t,"".concat(l,"-submenu ").concat(l,"-sub"),{cursor:"initial",transition:["background ".concat(s," ").concat(f),"padding ".concat(s," ").concat(f)].join(",")}),I(t,"".concat(l,"-title-content"),I({transition:"color ".concat(s)},"> ".concat(c,"-typography-ellipsis-single-line"),{display:"inline",verticalAlign:"unset"})),I(t,"".concat(l,"-item a"),{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}}),I(t,"".concat(l,"-item-divider"),{overflow:"hidden",lineHeight:0,borderColor:h,borderStyle:S,borderWidth:0,borderTopWidth:v,marginBlock:v,padding:0,"&-dashed":{borderStyle:"dashed"}}),t)),Uj(e)),(a={},I(a,"".concat(l,"-item-group"),I({},"".concat(l,"-item-group-list"),I({margin:0,padding:0},"".concat(l,"-item, ").concat(l,"-submenu-title"),{paddingInline:"".concat(2*u,"px ").concat(m,"px")}))),I(a,"&-submenu",(o={"&-popup":(n={position:"absolute",zIndex:g,borderRadius:y,boxShadow:"none",transformOrigin:"0 0"},I(n,"&".concat(l,"-submenu"),{background:"transparent"}),I(n,"&::before",{position:"absolute",inset:"".concat(C,"px 0 0"),zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}),n),"&-placement-rightTop::before":{top:0,insetInlineStart:C}},I(o,"\n &-placement-leftTop,\n &-placement-bottomRight,\n ",{transformOrigin:"100% 0"}),I(o,"\n &-placement-leftBottom,\n &-placement-topRight,\n ",{transformOrigin:"100% 100%"}),I(o,"\n &-placement-rightBottom,\n &-placement-topLeft,\n ",{transformOrigin:"0 100%"}),I(o,"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ",{transformOrigin:"0 0"}),I(o,"\n &-placement-leftTop,\n &-placement-leftBottom\n ",{paddingInlineEnd:e.paddingXS}),I(o,"\n &-placement-rightTop,\n &-placement-rightBottom\n ",{paddingInlineStart:e.paddingXS}),I(o,"\n &-placement-topRight,\n &-placement-topLeft\n ",{paddingBottom:e.paddingXS}),I(o,"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ",{paddingTop:e.paddingXS}),I(o,"> ".concat(l),Object.assign(Object.assign(Object.assign({borderRadius:y},Uj(e)),Kj(e)),(r={},I(r,"".concat(l,"-item, ").concat(l,"-submenu > ").concat(l,"-submenu-title"),{borderRadius:b}),I(r,"".concat(l,"-submenu-title::after"),{transition:"transform ".concat(s," ").concat(f)}),r))),o)),a)),Kj(e)),(i={},I(i,"&-inline-collapsed ".concat(l,"-submenu-arrow,\n &-inline ").concat(l,"-submenu-arrow"),{"&::before":{transform:"rotate(-45deg) translateX(".concat(w,")")},"&::after":{transform:"rotate(45deg) translateX(-".concat(w,")")}}),I(i,"".concat(l,"-submenu-open").concat(l,"-submenu-inline > ").concat(l,"-submenu-title > ").concat(l,"-submenu-arrow"),{transform:"translateY(-".concat(.2*x,"px)"),"&::after":{transform:"rotate(-45deg) translateX(-".concat(w,")")},"&::before":{transform:"rotate(45deg) translateX(".concat(w,")")}}),i))),I({},"".concat(c,"-layout-header"),I({},l,{lineHeight:"inherit"}))]},Xj=function(e,t){return nu("Menu",(function(e){if(!1===t)return[];var n,r,o,a,i=e.colorBgElevated,c=e.colorPrimary,l=e.colorTextLightSolid,u=e.controlHeightLG,s=e.fontSize,d=e.darkItemColor,f=e.darkDangerItemColor,p=e.darkItemBg,m=e.darkSubMenuItemBg,h=e.darkItemSelectedColor,v=e.darkItemSelectedBg,g=e.darkDangerItemSelectedBg,y=e.darkItemHoverBg,b=e.darkGroupTitleColor,x=e.darkItemHoverColor,w=e.darkItemDisabledColor,S=e.darkDangerItemHoverColor,C=e.darkDangerItemSelectedColor,E=e.darkDangerItemActiveBg,k=s/7*5,O=Jl(e,{menuArrowSize:k,menuHorizontalHeight:1.15*u,menuArrowOffset:"".concat(.25*k,"px"),menuPanelMaskInset:-7,menuSubMenuBg:i}),P=Jl(O,{itemColor:d,itemHoverColor:x,groupTitleColor:b,itemSelectedColor:h,itemBg:p,popupBg:p,subMenuItemBg:m,itemActiveBg:"transparent",itemSelectedBg:v,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:y,itemDisabledColor:w,dangerItemColor:f,dangerItemHoverColor:S,dangerItemSelectedColor:C,dangerItemActiveBg:E,dangerItemSelectedBg:g,menuSubMenuBg:m,horizontalItemSelectedColor:l,horizontalItemSelectedBg:c});return[Gj(O),Bj(O),Vj(O),Hj(O,"light"),Hj(P,"dark"),(n=O,o=n.componentCls,a=n.menuArrowOffset,I(r={},"".concat(o,"-rtl"),{direction:"rtl"}),I(r,"".concat(o,"-submenu-rtl"),{transformOrigin:"100% 0"}),I(r,"".concat(o,"-rtl").concat(o,"-vertical,\n ").concat(o,"-submenu-rtl ").concat(o,"-vertical"),I({},"".concat(o,"-submenu-arrow"),{"&::before":{transform:"rotate(-45deg) translateY(-".concat(a,")")},"&::after":{transform:"rotate(45deg) translateY(".concat(a,")")}})),r),Lj(O),$x(O,"slide-up"),$x(O,"slide-down"),Zh(O,"zoom-big")]}),(function(e){var t=e.colorPrimary,n=e.colorError,r=e.colorTextDisabled,o=e.colorErrorBg,a=e.colorText,i=e.colorTextDescription,c=e.colorBgContainer,l=e.colorFillAlter,u=e.colorFillContent,s=e.lineWidth,d=e.lineWidthBold,f=e.controlItemBgActive,p=e.colorBgTextHover,m=e.controlHeightLG,h=e.lineHeight,v=e.colorBgElevated,g=e.marginXXS,y=e.padding,b=e.fontSize,x=e.controlHeightSM,w=e.fontSizeLG,S=e.colorTextLightSolid,C=e.colorErrorHover,E=new ki(S).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:a,itemColor:a,colorItemTextHover:a,itemHoverColor:a,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:i,groupTitleColor:i,colorItemTextSelected:t,itemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:c,itemBg:c,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:u,itemActiveBg:f,colorSubItemBg:l,subMenuItemBg:l,colorItemBgSelected:f,itemSelectedBg:f,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:d,activeBarHeight:d,colorActiveBarBorderSize:s,activeBarBorderWidth:s,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:n,dangerItemColor:n,colorDangerItemTextHover:n,dangerItemHoverColor:n,colorDangerItemTextSelected:n,dangerItemSelectedColor:n,colorDangerItemBgActive:o,dangerItemActiveBg:o,colorDangerItemBgSelected:o,dangerItemSelectedBg:o,itemMarginInline:e.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:m,groupTitleLineHeight:h,collapsedWidth:2*m,popupBg:v,itemMarginBlock:g,itemPaddingInline:y,horizontalLineHeight:"".concat(1.15*m,"px"),iconSize:b,iconMarginInlineEnd:x-b,collapsedIconSize:w,groupTitleFontSize:b,darkItemDisabledColor:new ki(S).setAlpha(.25).toRgbString(),darkItemColor:E,darkDangerItemColor:n,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:S,darkItemSelectedBg:t,darkDangerItemSelectedBg:n,darkItemHoverBg:"transparent",darkGroupTitleColor:E,darkItemHoverColor:S,darkDangerItemHoverColor:C,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:n}}),{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(e)},qj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o ".concat(d,"-down, & > ").concat(s,"-btn-icon > ").concat(d,"-down"),{fontSize:g})),I(n,"".concat(a,"-wrap"),(t={position:"relative"},I(t,"".concat(s,"-btn > ").concat(d,"-down"),{fontSize:g}),I(t,"".concat(d,"-down::before"),{transition:"transform ".concat(f)}),t)),I(n,"".concat(a,"-wrap-open"),I({},"".concat(d,"-down::before"),{transform:"rotate(180deg)"})),I(n,"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ",{display:"none"}),I(n,"&".concat(s,"-slide-down-enter").concat(s,"-slide-down-enter-active").concat(a,"-placement-bottomLeft,\n &").concat(s,"-slide-down-appear").concat(s,"-slide-down-appear-active").concat(a,"-placement-bottomLeft,\n &").concat(s,"-slide-down-enter").concat(s,"-slide-down-enter-active").concat(a,"-placement-bottom,\n &").concat(s,"-slide-down-appear").concat(s,"-slide-down-appear-active").concat(a,"-placement-bottom,\n &").concat(s,"-slide-down-enter").concat(s,"-slide-down-enter-active").concat(a,"-placement-bottomRight,\n &").concat(s,"-slide-down-appear").concat(s,"-slide-down-appear-active").concat(a,"-placement-bottomRight"),{animationName:Fx}),I(n,"&".concat(s,"-slide-up-enter").concat(s,"-slide-up-enter-active").concat(a,"-placement-topLeft,\n &").concat(s,"-slide-up-appear").concat(s,"-slide-up-appear-active").concat(a,"-placement-topLeft,\n &").concat(s,"-slide-up-enter").concat(s,"-slide-up-enter-active").concat(a,"-placement-top,\n &").concat(s,"-slide-up-appear").concat(s,"-slide-up-appear-active").concat(a,"-placement-top,\n &").concat(s,"-slide-up-enter").concat(s,"-slide-up-enter-active").concat(a,"-placement-topRight,\n &").concat(s,"-slide-up-appear").concat(s,"-slide-up-appear-active").concat(a,"-placement-topRight"),{animationName:Wx}),I(n,"&".concat(s,"-slide-down-leave").concat(s,"-slide-down-leave-active").concat(a,"-placement-bottomLeft,\n &").concat(s,"-slide-down-leave").concat(s,"-slide-down-leave-active").concat(a,"-placement-bottom,\n &").concat(s,"-slide-down-leave").concat(s,"-slide-down-leave-active").concat(a,"-placement-bottomRight"),{animationName:Hx}),I(n,"&".concat(s,"-slide-up-leave").concat(s,"-slide-up-leave-active").concat(a,"-placement-topLeft,\n &").concat(s,"-slide-up-leave").concat(s,"-slide-up-leave-active").concat(a,"-placement-top,\n &").concat(s,"-slide-up-leave").concat(s,"-slide-up-leave-active").concat(a,"-placement-topRight"),{animationName:Vx}),n))),BP(e,{colorBg:b,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),(o={},I(o,"".concat(a," ").concat(i),{position:"relative",margin:0}),I(o,"".concat(i,"-submenu-popup"),{position:"absolute",zIndex:c,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}}),I(o,"".concat(a,", ").concat(a,"-menu-submenu"),I({},i,Object.assign(Object.assign({padding:h,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Rl(e)),(r={},I(r,"".concat(i,"-item-group-title"),{padding:"".concat(p,"px ").concat(y,"px"),color:e.colorTextDescription,transition:"all ".concat(f)}),I(r,"".concat(i,"-item"),{position:"relative",display:"flex",alignItems:"center"}),I(r,"".concat(i,"-item-icon"),{minWidth:m,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM}),I(r,"".concat(i,"-title-content"),{flex:"auto","> a":{color:"inherit",transition:"all ".concat(f),"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}}),I(r,"".concat(i,"-item, ").concat(i,"-submenu-title"),Object.assign(Object.assign(I({clear:"both",margin:0,padding:"".concat(p,"px ").concat(y,"px"),color:e.colorText,fontWeight:"normal",fontSize:m,lineHeight:e.lineHeight,cursor:"pointer",transition:"all ".concat(f),borderRadius:e.borderRadiusSM},"&:hover, &-active",{backgroundColor:e.controlItemBgHover}),Rl(e)),I({"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:v,cursor:"not-allowed","&:hover":{color:v,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:"".concat(e.marginXXS,"px 0"),overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit}},"".concat(a,"-menu-submenu-expand-icon"),I({position:"absolute",insetInlineEnd:e.paddingXS},"".concat(a,"-menu-submenu-arrow-icon"),{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:g,fontStyle:"normal"})))),I(r,"".concat(i,"-item-group-list"),{margin:"0 ".concat(e.marginXS,"px"),padding:0,listStyle:"none"}),I(r,"".concat(i,"-submenu-title"),{paddingInlineEnd:y+e.fontSizeSM}),I(r,"".concat(i,"-submenu-vertical"),{position:"relative"}),I(r,"".concat(i,"-submenu").concat(i,"-submenu-disabled ").concat(a,"-menu-submenu-title"),I({},"&, ".concat(a,"-menu-submenu-arrow-icon"),{color:v,backgroundColor:b,cursor:"not-allowed"})),I(r,"".concat(i,"-submenu-selected ").concat(a,"-menu-submenu-title"),{color:e.colorPrimary}),r)))),o),[$x(e,"slide-up"),$x(e,"slide-down"),aE(e,"move-up"),aE(e,"move-down"),Zh(e,"zoom-big")]]},tN=nu("Dropdown",(function(e,t){var n=t.rootPrefixCls,r=e.marginXXS,o=e.sizePopupArrow,a=e.controlHeight,i=e.fontSize,c=e.lineHeight,l=e.paddingXXS,u=e.componentCls,s=(a-i*c)/2,d=AP({contentRadius:e.borderRadiusLG}).dropdownArrowOffset,f=Jl(e,{menuCls:"".concat(u,"-menu"),rootPrefixCls:n,dropdownArrowDistance:o/2+r,dropdownArrowOffset:d,dropdownPaddingVertical:s,dropdownEdgeChildPadding:l});return[eN(f),Zj(f)]}),(function(e){return{zIndexPopup:e.zIndexPopupBase+50}})),nN=function(e){var t,r=e.menu,o=e.arrow,a=e.prefixCls,i=e.children,c=e.trigger,u=e.disabled,s=e.dropdownRender,d=e.getPopupContainer,f=e.overlayClassName,p=e.rootClassName,m=e.open,h=e.onOpenChange,v=e.visible,g=e.onVisibleChange,b=e.mouseEnterDelay,x=void 0===b?.15:b,w=e.mouseLeaveDelay,S=void 0===w?.1:w,C=e.autoAdjustOverflow,E=void 0===C||C,k=e.placement,O=void 0===k?"":k,P=e.overlay,j=e.transitionName,N=l.useContext(Li),R=N.getPopupContainer,M=N.getPrefixCls,_=N.direction,D=(ga(),l.useMemo((function(){var e=M();return void 0!==j?j:O.includes("top")?"".concat(e,"-slide-down"):"".concat(e,"-slide-up")}),[M,O,j])),T=l.useMemo((function(){return O?O.includes("Center")?O.slice(0,O.indexOf("Center")):O:"rtl"===_?"bottomRight":"bottomLeft"}),[O,_]),z=M("dropdown",a),A=y(tN(z),2),L=A[0],B=A[1],F=y((0,sl.default)(),2)[1],H=l.Children.only(i),W=Gl(H,{className:n(hn)("".concat(z,"-trigger"),I({},"".concat(z,"-rtl"),"rtl"===_),H.props.className),disabled:u}),V=u?[]:c;V&&V.includes("contextMenu")&&(t=!0);var U=y($l(!1,{value:null!=m?m:v}),2),K=U[0],G=U[1],X=Xl((function(e){null==h||h(e),null==g||g(e),G(e)})),q=n(hn)(f,p,B,I({},"".concat(z,"-rtl"),"rtl"===_)),$=VP({arrowPointAtCenter:"object"==typeof o&&o.pointAtCenter,autoAdjustOverflow:E,offset:F.marginXXS,arrowWidth:o?F.sizePopupArrow:0,borderRadius:F.borderRadius}),Y=l.useCallback((function(){G(!1)}),[]);return L(l.createElement(Py,Object.assign({alignPoint:t},Sn(e,["rootClassName"]),{mouseEnterDelay:x,mouseLeaveDelay:S,visible:K,builtinPlacements:$,arrow:!!o,overlayClassName:q,prefixCls:z,getPopupContainer:d||R,transitionName:D,trigger:V,overlay:function(){var e;return e=(null==r?void 0:r.items)?l.createElement(Jj,Object.assign({},r)):"function"==typeof P?P():P,s&&(e=s(e)),e=l.Children.only("string"==typeof e?l.createElement("span",null,e):e),l.createElement(_j.OverrideProvider,{prefixCls:"".concat(z,"-menu"),expandIcon:l.createElement("span",{className:"".concat(z,"-menu-submenu-arrow")},l.createElement(cS,{className:"".concat(z,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:Y,validator:function(e){e.mode}},e)},placement:T,onVisibleChange:X}),W))};var rN=Pv(nN,"dropdown",(function(e){return e}),(function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}));nN._InternalPanelDoNotUseOrYouWillBeFired=function(e){return l.createElement(rN,Object.assign({},e),l.createElement("span",null))};var oN=nN,aN={};e(aN,"default",(function(){return vN}),(function(e){return vN=e}));l=a("8SyCD");var iN={};e(iN,"default",(function(){return pN}),(function(e){return pN=e})),e(iN,"SpaceContext",(function(){return $4f23ba815494acf0$re_export$SpaceContext}),(function(e){return $4f23ba815494acf0$re_export$SpaceContext=e}));l=a("8SyCD");var cN=n(l=a("8SyCD")).createContext({latestIndex:0}),lN=cN.Provider,uN=(l=a("8SyCD"),function(e){var t=e.className,n=e.index,r=e.children,o=e.split,a=e.style,i=l.useContext(cN).latestIndex;return null==r?null:l.createElement(l.Fragment,null,l.createElement("div",{className:t,style:a},r),n0&&void 0!==arguments[0]?arguments[0]:"???";return f(this,n),t.call(this,e)}return O(n,[{key:"toString",value:function(e){return"{".concat(this.value,"}")}}]),n}(SN),EN=function(e){"use strict";j(n,e);var t=L(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(this,n),(r=t.call(this,e)).opts=o,r}return O(n,[{key:"toString",value:function(e){try{return e.memoizeIntlObject(Intl.NumberFormat,this.opts).format(this.value)}catch(t){return e.reportError(t),this.value.toString(10)}}}]),n}(SN),kN=function(e){"use strict";j(n,e);var t=L(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(this,n),(r=t.call(this,e)).opts=o,r}return O(n,[{key:"toString",value:function(e){try{return e.memoizeIntlObject(Intl.DateTimeFormat,this.opts).format(this.value)}catch(t){return e.reportError(t),new Date(this.value).toISOString()}}}]),n}(SN),ON=100,IN="⁨",PN="⁩";function jN(e,t,n){if(n===t)return!0;if(n instanceof EN&&t instanceof EN&&n.value===t.value)return!0;if(t instanceof EN&&"string"==typeof n&&n===e.memoizeIntlObject(Intl.PluralRules,t.opts).select(t.value))return!0;return!1}function NN(e,t,n){return t[n]?DN(e,t[n].value):(e.reportError(new RangeError("No default")),new CN)}function RN(e,t){var n=[],r=Object.create(null),o=!0,a=!1,i=void 0;try{for(var c,l=t[Symbol.iterator]();!(o=(c=l.next()).done);o=!0){var u=c.value;"narg"===u.type?r[u.name]=MN(e,u.value):n.push(MN(e,u))}}catch(e){a=!0,i=e}finally{try{o||null==l.return||l.return()}finally{if(a)throw i}}return{positional:n,named:r}}function MN(e,t){switch(t.type){case"str":return t.value;case"num":return new EN(t.value,{minimumFractionDigits:t.precision});case"var":return function(e,t){var n,r=t.name;if(e.params){if(!Object.prototype.hasOwnProperty.call(e.params,r))return new CN("$".concat(r));n=e.params[r]}else{if(!e.args||!Object.prototype.hasOwnProperty.call(e.args,r))return e.reportError(new ReferenceError("Unknown variable: $".concat(r))),new CN("$".concat(r));n=e.args[r]}if(n instanceof SN)return n;switch(void 0===n?"undefined":(0,C._)(n)){case"string":return n;case"number":return new EN(n);case"object":if(n instanceof Date)return new kN(n.getTime());default:return e.reportError(new TypeError("Variable type not supported: $".concat(r,", ").concat(void 0===n?"undefined":(0,C._)(n)))),new CN("$".concat(r))}}(e,t);case"mesg":return function(e,t){var n=t.name,r=t.attr,o=e.bundle._messages.get(n);if(!o)return e.reportError(new ReferenceError("Unknown message: ".concat(n))),new CN(n);if(r){var a=o.attributes[r];return a?DN(e,a):(e.reportError(new ReferenceError("Unknown attribute: ".concat(r))),new CN("".concat(n,".").concat(r)))}return o.value?DN(e,o.value):(e.reportError(new ReferenceError("No value: ".concat(n))),new CN(n))}(e,t);case"term":return function(e,t){var n=t.name,r=t.attr,o=t.args,a="-".concat(n),i=e.bundle._terms.get(a);if(!i)return e.reportError(new ReferenceError("Unknown term: ".concat(a))),new CN(a);if(r){var c=i.attributes[r];if(c){e.params=RN(e,o).named;var l=DN(e,c);return e.params=null,l}return e.reportError(new ReferenceError("Unknown attribute: ".concat(r))),new CN("".concat(a,".").concat(r))}e.params=RN(e,o).named;var u=DN(e,i.value);return e.params=null,u}(e,t);case"func":return function(e,t){var n=t.name,r=t.args,o=e.bundle._functions[n];if(!o)return e.reportError(new ReferenceError("Unknown function: ".concat(n,"()"))),new CN("".concat(n,"()"));if("function"!=typeof o)return e.reportError(new TypeError("Function ".concat(n,"() is not callable"))),new CN("".concat(n,"()"));try{var a=RN(e,r);return o(a.positional,a.named)}catch(t){return e.reportError(t),new CN("".concat(n,"()"))}}(e,t);case"select":return function(e,t){var n=t.selector,r=t.variants,o=t.star,a=MN(e,n);if(a instanceof CN)return NN(e,r,o);var i=!0,c=!1,l=void 0;try{for(var u,s=r[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var d=u.value;if(jN(e,a,MN(e,d.key)))return DN(e,d.value)}}catch(e){c=!0,l=e}finally{try{i||null==s.return||s.return()}finally{if(c)throw l}}return NN(e,r,o)}(e,t);default:return new CN}}function _N(e,t){if(e.dirty.has(t))return e.reportError(new RangeError("Cyclic reference")),new CN;e.dirty.add(t);var n=[],r=e.bundle._useIsolating&&t.length>1,o=!0,a=!1,i=void 0;try{for(var c,l=t[Symbol.iterator]();!(o=(c=l.next()).done);o=!0){var u=c.value;if("string"!=typeof u){if(e.placeables++,e.placeables>ON)throw e.dirty.delete(t),new RangeError("Too many placeables expanded: ".concat(e.placeables,", ")+"max allowed is ".concat(ON));r&&n.push(IN),n.push(MN(e,u).toString(e)),r&&n.push(PN)}else n.push(e.bundle._transform(u))}}catch(e){a=!0,i=e}finally{try{o||null==l.return||l.return()}finally{if(a)throw i}}return e.dirty.delete(t),n.join("")}function DN(e,t){return"string"==typeof t?e.bundle._transform(t):_N(e,t)}var TN=function(){"use strict";function e(t,n,r){f(this,e),this.dirty=new WeakSet,this.params=null,this.placeables=0,this.bundle=t,this.errors=n,this.args=r}return O(e,[{key:"reportError",value:function(e){if(!(this.errors&&e instanceof Error))throw e;this.errors.push(e)}},{key:"memoizeIntlObject",value:function(e,t){var n=this.bundle._intls.get(e);n||(n={},this.bundle._intls.set(e,n));var r=JSON.stringify(t);return n[r]||(n[r]=new e(this.bundle.locales,t)),n[r]}}]),e}();function zN(e,t){var n=Object.create(null),r=!0,o=!1,a=void 0;try{for(var i,c=Object.entries(e)[Symbol.iterator]();!(r=(i=c.next()).done);r=!0){var l=y(i.value,2),u=l[0],s=l[1];t.includes(u)&&(n[u]=s.valueOf())}}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}var AN=["unitDisplay","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function LN(e,t){var n=e[0];if(n instanceof CN)return new CN("NUMBER(".concat(n.valueOf(),")"));if(n instanceof EN)return new EN(n.valueOf(),wk({},n.opts,zN(t,AN)));if(n instanceof kN)return new EN(n.valueOf(),wk({},zN(t,AN)));throw new TypeError("Invalid argument to NUMBER")}var BN=["dateStyle","timeStyle","fractionalSecondDigits","dayPeriod","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function FN(e,t){var n=e[0];if(n instanceof CN)return new CN("DATETIME(".concat(n.valueOf(),")"));if(n instanceof kN)return new kN(n.valueOf(),wk({},n.opts,zN(t,BN)));if(n instanceof EN)return new kN(n.valueOf(),wk({},zN(t,BN)));throw new TypeError("Invalid argument to DATETIME")}var HN=new Map;function WN(e){var t=Array.isArray(e)?e.join(" "):e,n=HN.get(t);return void 0===n&&(n=new Map,HN.set(t,n)),n}var VN=function(){"use strict";function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.functions,o=n.useIsolating,a=void 0===o||o,i=n.transform,c=void 0===i?function(e){return e}:i;f(this,e),this._terms=new Map,this._messages=new Map,this.locales=Array.isArray(t)?t:[t],this._functions=wk({NUMBER:LN,DATETIME:FN},r),this._useIsolating=a,this._transform=c,this._intls=WN(t)}return O(e,[{key:"hasMessage",value:function(e){return this._messages.has(e)}},{key:"getMessage",value:function(e){return this._messages.get(e)}},{key:"addResource",value:function(e){for(var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).allowOverrides,n=void 0!==t&&t,r=[],o=0;o1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("string"==typeof e)return this._transform(e);var r=new TN(this,n,t);try{return _N(r,e).toString(r)}catch(e){if(r.errors&&e instanceof Error)return r.errors.push(e),(new CN).toString(r);throw e}}}]),e}(),UN=/^(-?[a-zA-Z][\w-]*) *= */gm,KN=RegExp("\\.([a-zA-Z][\\w-]*) *= *","y"),GN=RegExp("\\*?\\[","y"),XN=RegExp("(-?[0-9]+(?:\\.([0-9]+))?)","y"),qN=RegExp("([a-zA-Z][\\w-]*)","y"),$N=RegExp("([$-])?([a-zA-Z][\\w-]*)(?:\\.([a-zA-Z][\\w-]*))?","y"),YN=/^[A-Z][A-Z0-9_-]*$/,QN=RegExp("([^{}\\n\\r]+)","y"),JN=RegExp('([^\\\\"\\n\\r]*)',"y"),ZN=RegExp('\\\\([\\\\"])',"y"),eR=RegExp("\\\\u([a-fA-F0-9]{4})|\\\\U([a-fA-F0-9]{6})","y"),tR=/^\n+/,nR=/ +$/,rR=/ *\r?\n/g,oR=/( *)$/,aR=RegExp("{\\s*","y"),iR=RegExp("\\s*}","y"),cR=RegExp("\\[\\s*","y"),lR=RegExp("\\s*] *","y"),uR=RegExp("\\s*\\(\\s*","y"),sR=RegExp("\\s*->\\s*","y"),dR=RegExp("\\s*:\\s*","y"),fR=RegExp("\\s*,?\\s*","y"),pR=RegExp("\\s+","y"),mR=function e(t){"use strict";f(this,e);var n=function(e){return e.lastIndex=O,e.test(t)},r=function(e,n){if(t[O]===e)return O++,!0;if(n)throw new n("Expected ".concat(e));return!1},o=function(e,t){if(n(e))return O=e.lastIndex,!0;if(t)throw new t("Expected ".concat(e.toString()));return!1},a=function(e){e.lastIndex=O;var n=e.exec(t);if(null===n)throw new SyntaxError("Expected ".concat(e.toString()));return O=e.lastIndex,n},i=function(e){return a(e)[1]},c=function(e){var t=u(),n=l();if(null===t&&0===Object.keys(n).length)throw new SyntaxError("Expected message value or attributes");return{id:e,value:t,attributes:n}},l=function(){for(var e=Object.create(null);n(KN);){var t=i(KN),r=u();if(null===r)throw new SyntaxError("Expected attribute value");e[t]=r}return e},u=function(){var e;if(n(QN)&&(e=i(QN)),"{"===t[O]||"}"===t[O])return s(e?[e]:[],1/0);var r=C();return r?e?s([e,r],r.length):(r.value=E(r.value,tR),s([r],r.length)):e?E(e,nR):null},s=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0;;)if(n(QN))e.push(i(QN));else if("{"!==t[O]){if("}"===t[O])throw new SyntaxError("Unbalanced closing brace");var o=C();if(!o)break;e.push(o),r=Math.min(r,o.length)}else e.push(d());var a=e.length-1,c=e[a];"string"==typeof c&&(e[a]=E(c,nR));var l=[],u=!0,s=!1,f=void 0;try{for(var p,m=e[Symbol.iterator]();!(u=(p=m.next()).done);u=!0){var h=p.value;h instanceof hR&&(h=h.value.slice(0,h.value.length-r)),h&&l.push(h)}}catch(e){s=!0,f=e}finally{try{u||null==m.return||m.return()}finally{if(s)throw f}}return l},d=function(){o(aR,SyntaxError);var e=p();if(o(iR))return e;if(o(sR)){var t=v();return o(iR,SyntaxError),wk({type:"select",selector:e},t)}throw new SyntaxError("Unclosed placeable")},p=function(){if("{"===t[O])return d();if(n($N)){var e=y(a($N),4),r=e[1],i=e[2],c=e[3],l=void 0===c?null:c;if("$"===r)return{type:"var",name:i};if(o(uR)){var u=m();if("-"===r)return{type:"term",name:i,attr:l,args:u};if(YN.test(i))return{type:"func",name:i,args:u};throw new SyntaxError("Function names must be all upper-case")}return"-"===r?{type:"term",name:i,attr:l,args:[]}:{type:"mesg",name:i,attr:l}}return b()},m=function(){for(var e=[];;){switch(t[O]){case")":return O++,e;case void 0:throw new SyntaxError("Unclosed argument list")}e.push(h()),o(fR)}},h=function(){var e=p();return"mesg"!==e.type?e:o(dR)?{type:"narg",name:e.name,value:b()}:e},v=function(){for(var e,t=[],o=0;n(GN);){r("*")&&(e=o);var a=g(),i=u();if(null===i)throw new SyntaxError("Expected variant value");t[o++]={key:a,value:i}}if(0===o)return null;if(void 0===e)throw new SyntaxError("Expected default variant");return{variants:t,star:e}},g=function(){var e;return o(cR,SyntaxError),e=n(XN)?x():{type:"str",value:i(qN)},o(lR,SyntaxError),e},b=function(){if(n(XN))return x();if('"'===t[O])return w();throw new SyntaxError("Invalid expression")},x=function(){var e=y(a(XN),3),t=e[1],n=e[2],r=(void 0===n?"":n).length;return{type:"num",value:parseFloat(t),precision:r}},w=function(){r('"',SyntaxError);for(var e="";;){if(e+=i(JN),"\\"!==t[O]){if(r('"'))return{type:"str",value:e};throw new SyntaxError("Unclosed string literal")}e+=S()}},S=function(){if(n(ZN))return i(ZN);if(n(eR)){var e=y(a(eR),3),t=e[1],r=e[2],o=parseInt(t||r,16);return o<=55295||57344<=o?String.fromCodePoint(o):"�"}throw new SyntaxError("Unknown escape sequence")},C=function(){var e=O;switch(o(pR),t[O]){case".":case"[":case"*":case"}":case void 0:return!1;case"{":return k(t.slice(e,O))}return" "===t[O-1]&&k(t.slice(e,O))},E=function(e,t){return e.replace(t,"")},k=function(e){var t=e.replace(rR,"\n"),n=oR.exec(e)[1].length;return new hR(t,n)};this.body=[],UN.lastIndex=0;for(var O=0;;){var I=UN.exec(t);if(null===I)break;O=UN.lastIndex;try{this.body.push(c(I[1]))}catch(e){if(e instanceof SyntaxError)continue;throw e}}},hR=function e(t,n){"use strict";f(this,e),this.value=t,this.length=n},vR=new RegExp("^".concat("([a-z]{2,3}|\\*)").concat("(?:-([a-z]{4}|\\*))","?").concat("(?:-([a-z]{2}|\\*))","?").concat("(?:-(([0-9][a-z0-9]{3}|[a-z0-9]{5,8})|\\*))","?$"),"i"),gR=function(){"use strict";function e(t){f(this,e);var n=vR.exec(t.replace(/_/g,"-"));if(n){var r=y(n,5),o=r[1],a=r[2],i=r[3],c=r[4];o&&(this.language=o.toLowerCase()),a&&(this.script=a[0].toUpperCase()+a.slice(1)),i&&(this.region=i.toUpperCase()),this.variant=c,this.isWellFormed=!0}else this.isWellFormed=!1}return O(e,[{key:"isEqual",value:function(e){return this.language===e.language&&this.script===e.script&&this.region===e.region&&this.variant===e.variant}},{key:"matches",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(this.language===e.language||t&&void 0===this.language||n&&void 0===e.language)&&(this.script===e.script||t&&void 0===this.script||n&&void 0===e.script)&&(this.region===e.region||t&&void 0===this.region||n&&void 0===e.region)&&(this.variant===e.variant||t&&void 0===this.variant||n&&void 0===e.variant)}},{key:"toString",value:function(){return[this.language,this.script,this.region,this.variant].filter((function(e){return void 0!==e})).join("-")}},{key:"clearVariants",value:function(){this.variant=void 0}},{key:"clearRegion",value:function(){this.region=void 0}},{key:"addLikelySubtags",value:function(){var e=function(e){if(Object.prototype.hasOwnProperty.call(yR,e))return new gR(yR[e]);var t=new gR(e);if(t.language&&bR.includes(t.language))return t.region=t.language.toUpperCase(),t;return null}(this.toString().toLowerCase());return!!e&&(this.language=e.language,this.script=e.script,this.region=e.region,this.variant=e.variant,!0)}}]),e}(),yR={ar:"ar-arab-eg","az-arab":"az-arab-ir","az-ir":"az-arab-ir",be:"be-cyrl-by",da:"da-latn-dk",el:"el-grek-gr",en:"en-latn-us",fa:"fa-arab-ir",ja:"ja-jpan-jp",ko:"ko-kore-kr",pt:"pt-latn-br",sr:"sr-cyrl-rs","sr-ru":"sr-latn-ru",sv:"sv-latn-se",ta:"ta-taml-in",uk:"uk-cyrl-ua",zh:"zh-hans-cn","zh-hant":"zh-hant-tw","zh-hk":"zh-hant-hk","zh-mo":"zh-hant-mo","zh-tw":"zh-hant-tw","zh-gb":"zh-hant-gb","zh-us":"zh-hant-us"},bR=["az","bg","cs","de","es","fi","fr","hu","it","lt","lv","nl","pl","ro","ru"];function xR(e,t,n){var r=new Set,o=new Map,a=!0,i=!1,c=void 0;try{for(var l,u=t[Symbol.iterator]();!(a=(l=u.next()).done);a=!0){var s=l.value;new gR(s).isWellFormed&&o.set(s,new gR(s))}}catch(e){i=!0,c=e}finally{try{a||null==u.return||u.return()}finally{if(i)throw c}}var d=!0,f=!1,p=void 0;try{e:for(var m,h=e[Symbol.iterator]();!(d=(m=h.next()).done);d=!0){var v=m.value.toLowerCase(),g=new gR(v);if(void 0!==g.language){var b=!0,x=!1,w=void 0;try{for(var S,C=o.keys()[Symbol.iterator]();!(b=(S=C.next()).done);b=!0){var E=S.value;if(v===E.toLowerCase()){if(r.add(E),o.delete(E),"lookup"===n)return Array.from(r);if("filtering"===n)continue;continue e}}}catch(e){x=!0,w=e}finally{try{b||null==C.return||C.return()}finally{if(x)throw w}}var k=!0,O=!1,I=void 0;try{for(var P,j=o.entries()[Symbol.iterator]();!(k=(P=j.next()).done);k=!0){var N=y(P.value,2),R=N[0];if(N[1].matches(g,!0,!1)){if(r.add(R),o.delete(R),"lookup"===n)return Array.from(r);if("filtering"===n)continue;continue e}}}catch(e){O=!0,I=e}finally{try{k||null==j.return||j.return()}finally{if(O)throw I}}if(g.addLikelySubtags()){var M=!0,_=!1,D=void 0;try{for(var T,z=o.entries()[Symbol.iterator]();!(M=(T=z.next()).done);M=!0){var A=y(T.value,2),L=A[0];if(A[1].matches(g,!0,!1)){if(r.add(L),o.delete(L),"lookup"===n)return Array.from(r);if("filtering"===n)continue;continue e}}}catch(e){_=!0,D=e}finally{try{M||null==z.return||z.return()}finally{if(_)throw D}}}g.clearVariants();var B=!0,F=!1,H=void 0;try{for(var W,V=o.entries()[Symbol.iterator]();!(B=(W=V.next()).done);B=!0){var U=y(W.value,2),K=U[0];if(U[1].matches(g,!0,!0)){if(r.add(K),o.delete(K),"lookup"===n)return Array.from(r);if("filtering"===n)continue;continue e}}}catch(e){F=!0,H=e}finally{try{B||null==V.return||V.return()}finally{if(F)throw H}}if(g.clearRegion(),g.addLikelySubtags()){var G=!0,X=!1,q=void 0;try{for(var $,Y=o.entries()[Symbol.iterator]();!(G=($=Y.next()).done);G=!0){var Q=y($.value,2),J=Q[0];if(Q[1].matches(g,!0,!1)){if(r.add(J),o.delete(J),"lookup"===n)return Array.from(r);if("filtering"===n)continue;continue e}}}catch(e){X=!0,q=e}finally{try{G||null==Y.return||Y.return()}finally{if(X)throw q}}}g.clearRegion();var Z=!0,ee=!1,te=void 0;try{for(var ne,re=o.entries()[Symbol.iterator]();!(Z=(ne=re.next()).done);Z=!0){var oe=y(ne.value,2),ae=oe[0];if(oe[1].matches(g,!0,!0)){if(r.add(ae),o.delete(ae),"lookup"===n)return Array.from(r);if("filtering"===n)continue;continue e}}}catch(e){ee=!0,te=e}finally{try{Z||null==re.return||re.return()}finally{if(ee)throw te}}}}}catch(e){f=!0,p=e}finally{try{d||null==h.return||h.return()}finally{if(f)throw p}}return Array.from(r)}function wR(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.strategy,o=void 0===r?"filtering":r,a=n.defaultLocale,i=xR(Array.from(null!=e?e:[]).map(String),Array.from(null!=t?t:[]).map(String),o);if("lookup"===o){if(void 0===a)throw new Error("defaultLocale cannot be undefined for strategy `lookup`");0===i.length&&i.push(a)}else a&&!i.includes(a)&&i.push(a);return i}var SR=new mR("metronome = Metronome\r\nmetronome-description = A metronome is a practice tool that produces a steady beat to help musicians play rhythms accurately\r\nopen = Open\r\nplay = Play\r\npause = Pause\r\nback = Back\r\ncreate = Create\r\nsave = Save\r\nupdate = Update\r\ndefault = Default\r\npersonal = Personal\r\nrhythms = Rhythms\r\nno-rhythms = No Rhythms\r\ncreate-rhythm = Create Rhythm\r\nsingle = Single\r\nduplets = Duplets\r\ntriplets = Triplets\r\nadd-measure = Add Measure\r\nremove-measure = Remove Measure\r\nname = Name\r\nplay-settings = Play Settings\r\ninput-name-of-rhythm = Input name of rhythm\r\nrhythm-name-field =\r\n .placeholder = { input-name-of-rhythm }\r\nadd-beat-btn =\r\n .title = Add Beat\r\nremove-beat-btn =\r\n .title = Remove Beat\r\nmeasure-title = Measure { $index }\r\nadd-note-btn =\r\n .title = Add Note\r\nremove-note-btn =\r\n .title = Remove Note\r\nno-measures = No Measures\r\nuniform = Uniform\r\nvarying = Varying\r\nbeats = Beats\r\ntempo = Tempo\r\nrepeat = Repeat\r\ntype = Type\r\nspeed = Speed\r\nbegin = Begin\r\nend = End\r\nstep = Step\r\nsettings = Settings\r\nprepratory = Prepratory\r\nsightear = SightEar\r\nsightear-description = Sight singing and Ear learning\r\nsight-singing = Sight Singing\r\near-training = Ear Training\r\nstart = Start\r\nthis-app-needs-to-access-mic-and-speaker = This app needs to access your mic and speaker\r\nchange = Change\r\nshow-note = Show Note\r\nhide-note = Hide Note\r\nsing = Sing\r\ntuner = Tuner\r\ntuner-description = Instrument tuner"),CR=new mR("metronome = 节拍器\r\nmetronome-description = 节拍器用于产生固定的节拍来训练节奏感\r\nopen = 打开\r\nplay = 播放\r\npause = 暂停\r\nback = 返回\r\ncreate = 新建\r\nsave = 保存\r\nupdate = 更新\r\ndefault = 默认\r\npersonal = 个人\r\nrhythms = 节奏型\r\nno-rhythms = 尚无节奏型\r\ncreate-rhythm = 创建节奏型\r\nsingle = 单音\r\nduplets = 二连音\r\ntriplets = 三连音\r\nadd-measure = 添加小节\r\nremove-measure = 删除小节\r\nname = 名称\r\nplay-settings = 播放设置\r\ninput-name-of-rhythm = 输入节奏名称\r\nrhythm-name-field =\r\n .placeholder = { input-name-of-rhythm }\r\nadd-beat-btn =\r\n .title = 添加拍\r\nremove-beat-btn =\r\n .title = 删除拍\r\nmeasure-title = 第{ $index }小节\r\nadd-note-btn =\r\n .title = 添加音符\r\nremove-note-btn =\r\n .title = 删除音符\r\nno-measures = 尚无小节\r\nuniform = 匀速\r\nvarying = 变速\r\nbeats = 节拍\r\ntempo = 速度\r\nrepeat = 重复\r\ntype = 类型\r\nspeed = 速度\r\nbegin = 开始\r\nend = 结束\r\nstep = 间隔\r\nsettings = 设置\r\nprepratory = 预备拍\r\nsightear = 视唱练耳\r\nsightear-description = 视唱练耳训练\r\nsight-singing = 视唱\r\near-training = 练耳\r\nstart = 开始\r\nthis-app-needs-to-access-mic-and-speaker = 此应用需要访问麦克风和扬声器\r\nchange = 切换\r\nshow-note = 显示音符\r\nhide-note = 隐藏音符\r\nsing = 演唱\r\ntuner = 调音表\r\ntuner-description = 乐器调音"),ER={en:SR,"en-US":SR,"zh-CN":CR,zh:CR},kR={en:"English","en-US":"English","zh-CN":"简体中文",zh:"简体中文"};function OR(e){var t;return E(this,(function(n){switch(n.label){case 0:return(t=new VN(e)).addResource(ER[e]),[4,t];case 1:return n.sent(),[2]}}))}function IR(){return wR(["en-US","zh-CN"],Object.keys(ER),{defaultLocale:"en-US"})[0]}l=a("8SyCD");var PR="musicalpal.locale",jR=(0,l.createContext)({locale:"en-US",changeLocale:function(){}});function NR(e){var t=e.children,n=y((0,l.useState)((function(){try{var e=window.localStorage.getItem(PR);return e||IR()}catch(e){return IR()}})),2),r=n[0],o=n[1],a=y((0,l.useState)((function(){return new kk(OR(r))})),2),c=a[0],u=a[1],s=(0,l.useCallback)((function(e){try{window.localStorage.setItem(PR,e)}finally{o(e),u(new kk(OR(e)))}}),[u]);return(0,i.jsx)(jR.Provider,{value:{locale:r,changeLocale:s},children:(0,i.jsx)(Ik,{l10n:c,children:t})})}l=a("8SyCD"),l=a("8SyCD"),l=a("8SyCD");var RR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z"}}]},name:"pause-circle",theme:"filled"},MR=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:RR}))},_R=l.forwardRef(MR),DR=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"}),TR=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:DR}))},zR=l.forwardRef(TR),AR=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"}),LR=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:AR}))},BR=l.forwardRef(LR),FR=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"}),HR=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:FR}))},WR=l.forwardRef(HR);function VR(e){var t=e.children,n=e.onSave,r=y((0,l.useState)(!1),2),o=r[0],a=r[1],c=y((0,l.useState)((function(){return KO(e.rhythm)})),2),u=c[0],s=c[1];(0,l.useEffect)((function(){s(KO(e.rhythm))}),[e.rhythm,s]);var d=(0,l.useCallback)((function(e){s(e),a(!0)}),[s,a]),f=(0,l.useCallback)((function(){d((function(e){return qO(e)}))}),[d]),p=(0,l.useCallback)((function(e){d((function(t){return $O(t,e)}))}),[d]),m=(0,l.useCallback)((function(e){d((function(t){return QO(t,e)}))}),[d]),h=(0,l.useCallback)((function(e){d((function(t){return JO(t,e)}))}),[d]),v=(0,l.useCallback)((function(e,t){d((function(n){return ZO(n,e,t)}))}),[d]),g=(0,l.useCallback)((function(e,t,n){d((function(r){return eI(r,e,t,n)}))}),[d]),b=(0,l.useCallback)((function(e,t){d((function(n){return tI(n,e,t)}))}),[d]),x=aP(!1),w=x.flag,S=x.turnOff,C=x.toggle,E=(0,l.useCallback)((function(e,t){d((function(n){return YO(n,e,t)}))}),[d]),k=aP(!1),O=k.flag,I=k.turnOn,P=k.turnOff,j=(0,l.useCallback)((function(e){d((function(t){return GO(t,e)}))}),[d]),N=(0,l.useCallback)((function(e){d((function(t){return XO(t,e)}))}),[d]),R=(0,l.useCallback)((function(){n(u),a(!1)}),[u,n,a]);return(0,i.jsxs)("div",{className:"rhythm__editor",children:[(0,i.jsx)(mP,{rhythm:u,isRunning:w,onEnd:S,children:(0,i.jsx)(MP,{rhythm:u,onChangeRepeat:E,onAddMeasure:f,onRemoveMeasure:p,onAddBeat:m,onRemoveBeat:h,onAddNote:v,onChangeNote:g,onRemoveNote:b})}),(0,i.jsx)("div",{className:"rhythm__editor__footer",children:(0,i.jsxs)("div",{className:"toolbar",children:[(0,i.jsxs)("div",{className:"toolbar__main",children:[(0,i.jsx)(qs,{type:"primary",icon:w?(0,i.jsx)(_R,{}):(0,i.jsx)(zR,{}),onClick:C,children:w?(0,i.jsx)(Pk,{id:"pause",children:"Pause"}):(0,i.jsx)(Pk,{id:"play",children:"Play"})}),(0,i.jsx)(qs,{disabled:w,icon:(0,i.jsx)(WR,{}),onClick:I,children:(0,i.jsx)(Pk,{id:"play-settings",children:"Play Settings"})})]}),(0,i.jsx)("div",{className:"toolbar__side",children:(0,i.jsx)(qs,{disabled:!o,type:"primary",icon:(0,i.jsx)(BR,{}),onClick:R,children:(0,i.jsx)(Pk,{id:"save",children:"Save"})})})]})}),t,(0,i.jsxs)(Hv,{title:(0,i.jsx)(Pk,{id:"play-settings",children:"Play Settings"}),open:O,footer:null,onCancel:P,children:[(0,i.jsx)(SO,{preparatory:u.preparatoryBeats,onChangePreparatory:j}),(0,i.jsx)(iI,{tempo:u.tempo,onChangeTempo:N})]})]})}function UR(e){var t=e.children;return(0,i.jsx)("div",{className:"fill",children:t})}a("8SyCD");l=a("8SyCD");var KR={};e(KR,"default",(function(){return RM}),(function(e){return RM=e}));l=a("8SyCD");var GR={};e(GR,"default",(function(){return jM}),(function(e){return jM=e}));C=a("7FyBz"),l=a("8SyCD");var XR,qR,$R={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},YR=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:$R}))},QR=l.forwardRef(YR),JR=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"}),ZR=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:JR}))},eM=l.forwardRef(ZR);qR=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r textarea,\n h").concat(n,"\n ")]=function(e,t,n,r){return{marginBottom:r.titleMarginBottom,color:n,fontWeight:r.fontWeightStrong,fontSize:e,lineHeight:t}}(e["fontSizeHeading".concat(n)],e["lineHeightHeading".concat(n)],e.colorTextHeading,e)})),t}),sM=function(e){var t=e.componentCls;return{"a&, a":Object.assign(Object.assign({},kl(e)),I({textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration}},"&[disabled], &".concat(t,"-disabled"),{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}))}},dM=function(e){return{code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:bi[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}},fM=function(e){var t,n=e.componentCls,r=e.paddingSM;return{"&-edit-content":(t={position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-r,marginBottom:"calc(1em - ".concat(r,"px)")}},I(t,"".concat(n,"-edit-content-confirm"),{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"}),I(t,"textarea",{margin:"0!important",MozTransition:"none",height:"1em"}),t)}},pM=function(e){return{"&-copy-success":I({},"\n &,\n &:hover,\n &:focus",{color:e.colorSuccess})}},mM=function(){var e;return I(e={},"\n a&-ellipsis,\n span&-ellipsis\n ",{display:"inline-block",maxWidth:"100%"}),I(e,"&-single-line",{whiteSpace:"nowrap"}),I(e,"&-ellipsis-single-line",{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}}),I(e,"&-ellipsis-multiple-line",{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}),e},hM=function(e){var t,n,r=e.componentCls,o=e.titleMarginTop;return I({},r,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign((I(t={color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight},"&".concat(r,"-secondary"),{color:e.colorTextDescription}),I(t,"&".concat(r,"-success"),{color:e.colorSuccess}),I(t,"&".concat(r,"-warning"),{color:e.colorWarning}),I(t,"&".concat(r,"-danger"),{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}}),I(t,"&".concat(r,"-disabled"),{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"}),I(t,"\n div&,\n p\n ",{marginBottom:"1em"}),t),uM(e)),(I(n={},"\n & + h1".concat(r,",\n & + h2").concat(r,",\n & + h3").concat(r,",\n & + h4").concat(r,",\n & + h5").concat(r,"\n "),{marginTop:o}),I(n,"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5",I({},"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ",{marginTop:o})),n)),dM(e)),sM(e)),I({},"\n ".concat(r,"-expand,\n ").concat(r,"-edit,\n ").concat(r,"-copy\n "),Object.assign(Object.assign({},kl(e)),{marginInlineStart:e.marginXXS}))),fM(e)),pM(e)),mM()),{"&-rtl":{direction:"rtl"}}))},vM=nu("Typography",(function(e){return[hM(e)]}),(function(){return{titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}})),gM=function(e){var t=e.prefixCls,r=e["aria-label"],o=e.className,a=e.style,i=e.direction,c=e.maxLength,u=e.autoSize,s=void 0===u||u,d=e.value,f=e.onSave,p=e.onCancel,m=e.onEnd,h=e.component,v=e.enterIcon,g=void 0===v?l.createElement(lM,null):v,b=l.useRef(null),x=l.useRef(!1),w=l.useRef(),S=y(l.useState(d),2),C=S[0],E=S[1];l.useEffect((function(){E(d)}),[d]),l.useEffect((function(){if(b.current&&b.current.resizableTextArea){var e=b.current.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}}),[]);var k=function(){f(C.trim())},O=h?"".concat(t,"-").concat(h):"",P=y(vM(t),2),j=P[0],N=P[1],R=n(hn)(t,"".concat(t,"-edit-content"),I({},"".concat(t,"-rtl"),"rtl"===i),o,O,N);return j(l.createElement("div",{className:R,style:a},l.createElement(Pp.default,{ref:b,maxLength:c,value:C,onChange:function(e){var t=e.target;E(t.value.replace(/[\n\r]/g,""))},onKeyDown:function(e){var t=e.keyCode;x.current||(w.current=t)},onKeyUp:function(e){var t=e.keyCode,n=e.ctrlKey,r=e.altKey,o=e.metaKey,a=e.shiftKey;w.current!==t||x.current||n||r||o||a||(t===vh.ENTER?(k(),null==m||m()):t===vh.ESC&&p())},onCompositionStart:function(){x.current=!0},onCompositionEnd:function(){x.current=!1},onBlur:function(){k()},"aria-label":r,rows:1,autoSize:s}),null!==g?Gl(g,{className:"".concat(t,"-edit-content-confirm")}):null))},yM={};e(yM,"default",(function(){return xM}),(function(e){return xM=e}));l=a("8SyCD");var bM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);ot){var c=t-n;return r.push(String(a).slice(0,c)),r}r.push(a),n=i}return e}var EM=function(e){var t=e.enabledMeasure,n=e.children,r=e.text,o=e.width,a=e.fontSize,i=e.rows,c=e.onEllipsis,u=y(l.useState([0,0,0]),2),s=y(u[0],3),d=s[0],f=s[1],p=s[2],m=u[1],h=y(l.useState(0),2),v=h[0],g=h[1],b=y(l.useState(0),2),x=b[0],w=b[1],S=y(l.useState(0),2),C=S[0],E=S[1],k=l.useRef(null),O=l.useRef(null),I=l.useMemo((function(){return Ru(r)}),[r]),P=l.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){SM(e)?t+=String(e).length:t+=1})),t}(I)}),[I]),j=l.useMemo((function(){return t&&3===x?n(CM(I,f),f1&&Ee,Pe=function(e){var t;ce(!0),null===(t=be.onExpand)||void 0===t||t.call(be,e)},je=y(l.useState(0),2),Ne=je[0],Re=je[1],Me=y(l.useState(0),2),_e=Me[0],De=Me[1],Te=function(e){var t;se(e),ue!==e&&(null===(t=be.onEllipsis)||void 0===t||t.call(be,e))};l.useEffect((function(){var e=j.current;if(ye&&Ee&&e){var t=Ie?e.offsetHeight0&&void 0!==arguments[0]?arguments[0]:{octaveRange:{min:0,max:8}}).octaveRange;return{name:Math.floor(100*Math.random())%(kO.B+1),octave:Math.floor(100*Math.random())%(e.max-e.min)+e.min,dynamics:CO.Accent}}l=a("8SyCD");var r_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},o_=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:r_}))},a_=l.forwardRef(o_),i_=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M764 280.9c-14-30.6-33.9-58.1-59.3-81.6C653.1 151.4 584.6 125 512 125s-141.1 26.4-192.7 74.2c-25.4 23.6-45.3 51-59.3 81.7-14.6 32-22 65.9-22 100.9v27c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-27c0-99.5 88.6-180.4 197.6-180.4s197.6 80.9 197.6 180.4c0 40.8-14.5 79.2-42 111.2-27.2 31.7-65.6 54.4-108.1 64-24.3 5.5-46.2 19.2-61.7 38.8a110.85 110.85 0 00-23.9 68.6v31.4c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-31.4c0-15.7 10.9-29.5 26-32.9 58.4-13.2 111.4-44.7 149.3-88.7 19.1-22.3 34-47.1 44.3-74 10.7-27.9 16.1-57.2 16.1-87 0-35-7.4-69-22-100.9zM512 787c-30.9 0-56 25.1-56 56s25.1 56 56 56 56-25.1 56-56-25.1-56-56-56z"}}]},name:"question",theme:"outlined"}),c_=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:i_}))},l_=l.forwardRef(c_),u_=(l=a("8SyCD"),{icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528zm168-728H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM300 550h296v64H300z"}}]},name:"switcher",theme:"outlined"}),s_=function(e,t){return l.createElement(ms,eo({},e,{ref:t,icon:u_}))},d_=l.forwardRef(s_);function f_(){var e=BI().audioContext,t=(0,l.useRef)(null),n=(0,l.useRef)(null),r=(0,l.useRef)(null);(0,l.useEffect)((function(){return function(){t.current&&(t.current.stop(),t.current.disconnect(),t.current=null),r.current&&(r.current.disconnect(),r.current=null),n.current&&(n.current.getTracks().forEach((function(e){e.stop()})),n.current=null)}}),[]);var o=y((0,l.useState)(!1),2),a=o[0],c=o[1],u=y((0,l.useState)(n_),2),s=u[0],d=u[1],f=(0,l.useCallback)((function(){d(n_())}),[d,c]),p=(0,l.useCallback)((function(){t.current&&(t.current.stop(),t.current.disconnect(),t.current=null);var n=new OscillatorNode(e,{frequency:AO(s)});n.connect(e.destination),n.start(),t.current=n}),[e,s]),m=(0,l.useCallback)((function(){t.current&&(t.current.stop(),t.current.disconnect(),t.current=null)}),[]),h=(0,l.useCallback)((function(){c((function(e){return!e}))}),[c]),v=aP(!1),g=v.flag,b=v.turnOn,x=v.turnOff,w=cP({isRunning:g}).note;return(0,i.jsxs)("div",{className:"sight-ear",children:[(0,i.jsxs)(VI.default,{vertical:!0,align:"center",justify:"center",children:[(0,i.jsx)("div",{children:(0,i.jsx)(VM.default,{checked:a,checkedChildren:(0,i.jsx)(Pk,{id:"show-note",children:"Show Note"}),unCheckedChildren:(0,i.jsx)(Pk,{id:"hide-note",children:"Hide Note"}),onChange:h})}),(0,i.jsx)("div",{children:a?(0,i.jsx)(WM.Title,{className:"note__name",children:zO(s)}):(0,i.jsx)(WM.Title,{className:"note__name",children:(0,i.jsx)(l_,{})})}),(0,i.jsxs)("div",{children:[(0,i.jsx)(qs,{icon:(0,i.jsx)(OP,{}),onClick:b,children:(0,i.jsx)(Pk,{id:"sing",children:"Sing"})}),(0,i.jsx)(qs,{icon:(0,i.jsx)(a_,{}),onPointerDown:p,onPointerLeave:m,onPointerUp:m,children:(0,i.jsx)(Pk,{id:"play",children:"Play"})}),(0,i.jsx)(qs,{icon:(0,i.jsx)(d_,{}),onClick:f,children:(0,i.jsx)(Pk,{id:"change",children:"Change"})})]})]}),(0,i.jsx)(Hv,{open:g,destroyOnClose:!0,onCancel:x,footer:null,className:"sound__analyser__modal",children:(0,i.jsx)("div",{className:"sound__analyser__panel",children:(0,i.jsx)(WM.Title,{className:"note__name",children:w?zO(w):"-"})})})]})}l=a("8SyCD");function p_(){return(0,i.jsx)("div",{})}a("8SyCD");var m_,h_,v_=(m_=[{path:"/",element:(0,i.jsx)((function(){var e=[{label:kR["en-US"],key:"en-US"},{label:kR["zh-CN"],key:"zh-CN"}],t=(0,l.useContext)(jR),n=t.locale,r=t.changeLocale,o=(0,l.useCallback)((function(e){var t=e.key;r(t)}),[r]);return(0,i.jsxs)("div",{className:"page page--home",children:[(0,i.jsx)("div",{className:"page__header",children:(0,i.jsx)(yN,{menu:{items:e,onClick:o},children:(0,i.jsx)(qs,{icon:(0,i.jsx)(wN,{}),children:kR[n]})})}),(0,i.jsx)("div",{className:"page__content",children:(0,i.jsxs)(Nw.default,{bordered:!0,children:[(0,i.jsx)(Nw.default.Item,{actions:[(0,i.jsxs)(pn,{to:"/metronome",children:[(0,i.jsx)(Rk,{}),(0,i.jsx)(Pk,{id:"open",children:"Open"})]})],children:(0,i.jsx)(Nw.default.Item.Meta,{title:(0,i.jsx)(Pk,{id:"metronome"}),description:(0,i.jsx)(Pk,{id:"metronome-description"})})}),(0,i.jsx)(Nw.default.Item,{actions:[(0,i.jsxs)(pn,{to:"/sightear",children:[(0,i.jsx)(Rk,{}),(0,i.jsx)(Pk,{id:"open",children:"Open"})]})],children:(0,i.jsx)(Nw.default.Item.Meta,{title:(0,i.jsx)(Pk,{id:"sightear"}),description:(0,i.jsx)(Pk,{id:"sightear-description"})})}),(0,i.jsx)(Nw.default.Item,{actions:[(0,i.jsxs)(pn,{to:"/tuner",children:[(0,i.jsx)(Rk,{}),(0,i.jsx)(Pk,{id:"open",children:"Open"})]})],children:(0,i.jsx)(Nw.default.Item.Meta,{title:(0,i.jsx)(Pk,{id:"tuner"}),description:(0,i.jsx)(Pk,{id:"tuner-description"})})})]})})]})}),{})},{path:"/metronome",element:(0,i.jsx)((function(){var e=aP(!1),t=e.flag,n=e.turnOn,r=e.turnOff,o=y((0,l.useState)(""),2),a=o[0],c=o[1],u=(0,l.useCallback)((function(e){c(e.target.value)}),[c]),s=Gv().dexie,d=_t(),f=(0,l.useCallback)((function(e){e.preventDefault();var t=lP(),n={id:t,name:a,order:Date.now(),createdTime:new Date,updatedTime:new Date,preparatoryBeats:4,tempo:jO,measures:_O};s.rhythms.add(n).then((function(){d("/metronome/".concat(t))}),(function(){}))}),[a,s,d]);return(0,i.jsxs)("div",{className:"page page--metronome",children:[(0,i.jsx)("div",{className:"page__header",children:(0,i.jsx)(zk,{})}),(0,i.jsx)("div",{className:"page__content",children:(0,i.jsx)(Mk,{onCreateRhythm:n})}),(0,i.jsx)(Hv,{title:(0,i.jsx)(Pk,{id:"input-name-of-rhythm",children:"Input name of rhythm"}),open:t,footer:null,onCancel:r,children:(0,i.jsxs)(Wk,{autoComplete:"off",onSubmit:f,children:[(0,i.jsx)(Hk,{name:"name",label:"name",children:(0,i.jsx)(Pk,{id:"rhythm-name-field",attrs:{placeholder:!0},children:(0,i.jsx)(km,{name:"name",value:a,onChange:u,placeholder:"Input name of rhythm"})})}),(0,i.jsx)(Hk,{name:"submit",children:(0,i.jsx)(qs,{type:"primary",htmlType:"submit",children:(0,i.jsx)(Pk,{id:"create",children:"Create"})})})]})})]})}),{})},{path:"/metronome/:id",element:(0,i.jsx)((function(){var e,t,n=(e=l.useContext(It).matches,t=e[e.length-1],t?t.params:{}).id,r=Gv().dexie,o=(0,Wv.useLiveQuery)((function(){if(n)return r.rhythms.get(n)}),[r,n]),a=(0,l.useCallback)((function(e){r.rhythms.update(e.id,Ak(wk({},e),{updatedTime:new Date}))}),[r]);return(0,i.jsxs)("div",{className:"page page--metronome-player",children:[(0,i.jsxs)("div",{className:"page__header",children:[(0,i.jsx)(zk,{}),(0,i.jsx)(UR,{children:(0,i.jsx)("p",{className:"page__header__title",children:null==o?void 0:o.name})})]}),(0,i.jsx)("div",{className:"page__content",children:o?(0,i.jsx)(VR,{rhythm:o,onSave:a}):null})]})}),{})},{path:"/sightear",element:(0,i.jsx)((function(){var e=y((0,l.useState)(),2),t=e[0],n=e[1],r=(0,l.useCallback)(d((function(){var e;return E(this,(function(t){return e=new AudioContext,n(e),[2]}))})),[n]);return(0,l.useEffect)((function(){return function(){"running"===(null==t?void 0:t.state)&&(null==t||t.close())}}),[t]),(0,i.jsxs)("div",{className:"page page--sightear",children:[(0,i.jsx)("div",{className:"page__header",children:(0,i.jsx)(zk,{})}),(0,i.jsx)("div",{className:"page__content",children:(0,i.jsx)(oP,{audioContext:t,description:(0,i.jsx)(WM.Paragraph,{children:(0,i.jsx)(Pk,{id:"this-app-needs-to-access-mic-and-speaker",children:"This app needs to access your mic and speaker."})}),onStart:r,children:(0,i.jsx)(f_,{})})})]})}),{})},{path:"/tuner",element:(0,i.jsx)((function(){var e=y((0,l.useState)(),2),t=e[0],n=e[1],r=(0,l.useCallback)(d((function(){var e;return E(this,(function(t){return e=new AudioContext,n(e),[2]}))})),[n]);return(0,l.useEffect)((function(){return function(){"running"===(null==t?void 0:t.state)&&(null==t||t.close())}}),[t]),(0,i.jsxs)("div",{className:"page page--tuner",children:[(0,i.jsx)("div",{className:"page__header",children:(0,i.jsx)(zk,{})}),(0,i.jsx)("div",{className:"page__content",children:(0,i.jsx)(oP,{audioContext:t,description:(0,i.jsx)(WM.Paragraph,{children:(0,i.jsx)(Pk,{id:"this-app-needs-to-access-mic-and-speaker",children:"This app needs to access your mic and speaker."})}),onStart:r,children:(0,i.jsx)(p_,{})})})]})}),{})}],Ae({basename:null==(h_={basename:"/MusicPal"})?void 0:h_.basename,future:Yt({},null==h_?void 0:h_.future,{v7_prependBasename:!0}),history:V({window:null==h_?void 0:h_.window}),hydrationData:(null==h_?void 0:h_.hydrationData)||Zt(),routes:m_,mapRouteProperties:$t,window:null==h_?void 0:h_.window}).initialize());function g_(e){var t=e.dexie;return(0,i.jsx)(Kv,{dexie:t,children:(0,i.jsx)(NR,{children:(0,i.jsx)(on,{router:v_})})})}C=a("7FyBz");!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(4));if("undefined"==typeof Intl)try{window.Intl=r.default}catch(e){console.error(e.message)}t.default=r.default},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Record=t.getOption=t.getNumberOption=t.getInternalProperties=t.internals=t.defineInternal=t.dateTimeComponents=void 0;var o=r(n(6)),a=n(8),i=r(a),c=n(7),l=r(n(5));t.dateTimeComponents=o.default,t.defineInternal=a.defineInternal,t.internals=i.default,t.getInternalProperties=a.getInternalProperties,t.getNumberOption=c.getNumberOption,t.getOption=c.getOption,t.Record=l.default},function(e,t,n){"use strict";var r=function(e){var t=parseInt(e,10);return t<10?"0"+t:e},o=function(e,t,n){switch(e){case"a":return n.dayPeriods[t.getHours()<12?"am":"pm"];case"d":return t.getDate().toString();case"dd":return r(t.getDate());case"h":return t.getHours()%12==0?"12":(t.getHours()%12).toString();case"hh":return t.getHours()%12==0?"12":r(t.getHours()%12);case"H":return t.getHours().toString();case"HH":return r(t.getHours());case"m":return t.getMinutes().toString();case"mm":return r(t.getMinutes());case"MMM":return n.months.short[t.getMonth()];case"MMMM":return n.months.long[t.getMonth()];case"y":return t.getFullYear().toString();default:throw new Error("getPart: no pattern for "+e)}};Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==(0,C._)(Symbol.iterator)?function(e){return void 0===e?"undefined":(0,C._)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":void 0===e?"undefined":(0,C._)(e)};t.default=function(){var e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=Object(this),r=window.IntlLocaleData&&window.IntlLocaleData[e];if(void 0===r)throw new Error("IntlLocaleData["+e+"] is not defined");var o=(0,i.getInternalProperties)(n);(0,i.defineInternal)(n,o),o["[[initializedIntlObject]]"]=!0;var a=function(e){var t={},n=null;return void 0!==e?Object.keys(e).forEach((function(r){t[r]=e[r],"all"!==n&&(c.has(r)?n=n&&"time"===n?"all":"date":l.has(r)&&(n=n&&"date"===n?"all":"time"))})):n="all","date"!==n&&"all"!==n||(t.month=t.month||"numeric",t.day=t.day||"numeric"),"time"!==n&&"all"!==n||(t.hour=t.hour||"numeric",t.minute=t.minute||"numeric"),t}(t);return o["[[locale]]"]=e,o["[[numberingSystem]]"]="arab",o["[[calendar]]"]="gregory",o["[[style]]"]="decimal",o["[[timeZone]]"]="UTC",o["[[pattern]]"]=function(e){var t=[];if(e.year&&t.push("y"),e.month)switch(e.month){case"short":t.push("MMM");break;case"long":t.push("MMMM");break;default:t.push("M")}return e.weekday&&("long"===e.weekday?t.push("EEEE"):t.push("E")),e.day&&("2-digit"===e.day?t.push("dd"):t.push("d")),e.hour&&("2-digit"===e.hour?t.push("hh"):t.push("h")),e.minute&&("2-digit"===e.minute?t.push("mm"):t.push("m")),e.second&&("2-digit"===e.second?t.push("ss"):t.push("s")),t.join("")}(a),o["[[localeData]]"]=r,n},t.getFormatDateTime=function(){var e=null!==this&&"object"===a(this)&&(0,i.getInternalProperties)(this);if(!e||!e["[[initializedIntlObject]]"])throw new TypeError("`this` value for format() is not an initialized Intl.DateTimeFormat object.");if(void 0===e["[[boundFormat]]"]){var t=Function.prototype.bind.call((function(t){return function(e,t,n){var r=n.date.formats[t];if(!r)throw new Error("no pattern defined for "+t);for(var a=[],i=0,c=0;cr)throw new RangeError("Value is not a number or outside accepted range");return Math.floor(a)}return o},t.getOption=function(e,t,n,r,o){var a=e[t];if(void 0!==a){if("boolean"===n?a=Boolean(a):"string"===n&&(a=String(a)),void 0!==r&&-1===r.indexOf(a))throw new RangeError("'"+a+"' is not an allowed value for \""+t+'"');return a}return o}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineInternal=function(e,t){if(!0===t["[[initializedIntlObject]]"])throw new TypeError("`this` object has already been initialized as an Intl object");var n=function(){if((arguments.length<=0?void 0:arguments[0])===r)return t};Object.defineProperty(e,"__getInternalProperties",{value:n})},t.getInternalProperties=function(e){return Object.prototype.hasOwnProperty.call(e,"__getInternalProperties")?e.__getInternalProperties(r):Object.create(null)};var n=Object(null),r=Math.random();t.default=n}]);var y_=c(document.getElementById("app")),b_=new Vv;b_.rhythms.toArray().then((function(e){if(0===e.length)return b_.init()})).then((function(){y_.render((0,i.jsx)(n(l).StrictMode,{children:(0,i.jsx)(g_,{dexie:b_})}))}))}(); +//# sourceMappingURL=index.74fa8025.js.map diff --git a/docs/index.74fa8025.js.map b/docs/index.74fa8025.js.map new file mode 100644 index 0000000..52a6255 --- /dev/null +++ b/docs/index.74fa8025.js.map @@ -0,0 +1 @@ +{"mappings":"kqBAsBA,IAAAA,EACAC,E,iJArBA,IAAIC,EAAU,CAAC,EAoBfF,EAlBA,SAAkBG,GAGhB,IAFA,IAAIC,EAAOC,OAAOD,KAAKD,GAEdG,EAAI,EAAGA,EAAIF,EAAKG,OAAQD,IAC/BJ,EAAQE,EAAKE,IAAMH,EAAMC,EAAKE,GAElC,EAaAL,EAXA,SAAiBO,GACf,IAAIC,EAAWP,EAAQM,GAEvB,GAAgB,MAAZC,EACF,MAAM,IAAIC,MAAM,oCAAsCF,GAGxD,OAAOC,CACT,C;;;;;;;;;;ACXA,IAC4TE,EAAmBC,EAAcC,E,mOADzTC,EAAEC,OAAO,IAAI,iBAAiBC,EAAED,OAAO,IAAI,kBAAkBE,EAAEZ,OAAOa,UAAUC,eAAeC,EAAEC,EAAAC,mDAAqDC,kBAAkBC,EAAE,CAACC,KAAI,EAAGC,KAAI,EAAGC,QAAO,EAAGC,UAAS,GAChP,SAASC,EAAEC,EAAEC,EAAEC,GAAG,IAAIC,EAAEC,EAAE,CAAC,EAAEC,EAAE,KAAKC,EAAE,KAAiF,IAAIH,UAAhF,IAASD,IAAIG,EAAE,GAAGH,QAAG,IAASD,EAAEN,MAAMU,EAAE,GAAGJ,EAAEN,UAAK,IAASM,EAAEL,MAAMU,EAAEL,EAAEL,KAAcK,EAAEd,EAAEoB,KAAKN,EAAEE,KAAKT,EAAEL,eAAec,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAEQ,aAAa,IAAIL,KAAKF,EAAED,EAAEQ,kBAAe,IAASJ,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACM,SAASzB,EAAE0B,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vR,GAAOruP,EADKz0E,SAASg/N,eAAe,QAEpC+jG,GAAQ,IAAIvyH,GAElBuyH,GAAMryH,QACHj0M,UACAR,MAAK,SAACy0M,GACL,GAAuB,IAAnBA,EAAQv9M,OACV,OAAO4vU,GAAMv+O,MAEjB,IACCvoF,MAAK,WACJ6mU,GAAKxlU,QACH,EAAAk3E,EAAAs8H,KAAChwE,EAAA7sI,GAAM+uU,WAAU,C,UACf,EAAAxuP,EAAAs8H,KAACowH,GAAE,CAAEtwH,MAAOmyH,OAGlB,G","sources":["node_modules/@parcel/runtime-js/lib/helpers/bundle-manifest.js","node_modules/react/cjs/react-jsx-runtime.production.min.js","node_modules/react/index.js","node_modules/react/cjs/react.production.min.js","node_modules/@swc/helpers/esm/_type_of.js","node_modules/react-dom/cjs/react-dom.production.min.js","node_modules/scheduler/index.js","node_modules/scheduler/cjs/scheduler.production.min.js","node_modules/react-is/cjs/react-is.production.min.js","node_modules/dexie/node_modules/tslib/tslib.es6.js","node_modules/dexie/src/globals/global.ts","node_modules/dexie/src/functions/utils.ts","node_modules/dexie/src/helpers/debug.ts","node_modules/dexie/src/errors/errors.js","node_modules/dexie/src/functions/chaining-functions.js","node_modules/dexie/src/helpers/promise.js","node_modules/dexie/src/functions/temp-transaction.ts","node_modules/dexie/src/globals/constants.ts","node_modules/dexie/src/functions/combine.ts","node_modules/dexie/src/dbcore/keyrange.ts","node_modules/dexie/src/functions/workaround-undefined-primkey.ts","node_modules/dexie/src/classes/table/table.ts","node_modules/dexie/src/helpers/Events.js","node_modules/dexie/src/functions/make-class-constructor.ts","node_modules/dexie/src/classes/collection/collection-helpers.ts","node_modules/dexie/src/functions/cmp.ts","node_modules/dexie/src/classes/collection/collection.ts","node_modules/dexie/src/functions/compare-functions.ts","node_modules/dexie/src/classes/where-clause/where-clause-helpers.ts","node_modules/dexie/src/classes/where-clause/where-clause.ts","node_modules/dexie/src/functions/event-wrappers.ts","node_modules/dexie/src/globals/global-events.ts","node_modules/dexie/src/classes/transaction/transaction.ts","node_modules/dexie/src/helpers/index-spec.ts","node_modules/dexie/src/helpers/table-schema.ts","node_modules/dexie/src/functions/quirks.ts","node_modules/dexie/src/dbcore/get-key-extractor.ts","node_modules/dexie/src/dbcore/dbcore-indexeddb.ts","node_modules/dexie/src/classes/dexie/generate-middleware-stacks.ts","node_modules/dexie/src/classes/version/schema-helpers.ts","node_modules/dexie/src/classes/version/version.ts","node_modules/dexie/src/helpers/database-enumerator.ts","node_modules/dexie/src/classes/dexie/vip.ts","node_modules/dexie/src/classes/dexie/dexie-open.ts","node_modules/dexie/node_modules/safari-14-idb-fix/dist/index.js","node_modules/dexie/src/helpers/yield-support.ts","node_modules/dexie/src/classes/dexie/transaction-helpers.ts","node_modules/dexie/src/dbcore/virtual-index-middleware.ts","node_modules/dexie/src/functions/get-object-diff.ts","node_modules/dexie/src/hooks/hooks-middleware.ts","node_modules/dexie/src/dbcore/get-effective-keys.ts","node_modules/dexie/src/dbcore/cache-existing-values-middleware.ts","node_modules/dexie/src/helpers/rangeset.ts","node_modules/dexie/src/live-query/observability-middleware.ts","node_modules/dexie/src/classes/observable/observable.ts","node_modules/dexie/src/classes/dexie/dexie-dom-dependencies.ts","node_modules/dexie/src/classes/dexie/dexie.ts","node_modules/dexie/src/classes/collection/collection-constructor.ts","node_modules/dexie/src/classes/table/table-constructor.ts","node_modules/dexie/src/classes/transaction/transaction-constructor.ts","node_modules/dexie/src/classes/version/version-constructor.ts","node_modules/dexie/src/classes/where-clause/where-clause-constructor.ts","node_modules/dexie/src/live-query/extend-observability-set.ts","node_modules/dexie/src/live-query/live-query.ts","node_modules/dexie/src/classes/dexie/dexie-static-props.ts","node_modules/dexie/src/live-query/propagate-locally.ts","node_modules/dexie/src/live-query/enable-broadcast.ts","node_modules/dexie/src/index.ts","node_modules/@parcel/runtime-js/lib/runtime-9ed00e6496fcdf6a.js","node_modules/react/jsx-runtime.js","node_modules/react-dom/client.js","node_modules/@swc/helpers/esm/_async_to_generator.js","node_modules/@swc/helpers/esm/_class_call_check.js","node_modules/@swc/helpers/esm/_array_with_holes.js","node_modules/@swc/helpers/esm/_iterable_to_array_limit.js","node_modules/@swc/helpers/esm/_non_iterable_rest.js","node_modules/@swc/helpers/esm/_array_like_to_array.js","node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js","node_modules/@swc/helpers/esm/_sliced_to_array.js","node_modules/@swc/helpers/esm/_array_without_holes.js","node_modules/@swc/helpers/esm/_iterable_to_array.js","node_modules/@swc/helpers/esm/_non_iterable_spread.js","node_modules/@swc/helpers/esm/_to_consumable_array.js","node_modules/react-dom/index.js","node_modules/tslib/tslib.es6.js","node_modules/@swc/helpers/esm/_create_class.js","node_modules/@swc/helpers/esm/_define_property.js","node_modules/@swc/helpers/esm/_set_prototype_of.js","node_modules/@swc/helpers/esm/_inherits.js","node_modules/@swc/helpers/esm/_is_native_reflect_construct.js","node_modules/@swc/helpers/esm/_construct.js","node_modules/@swc/helpers/esm/_get_prototype_of.js","node_modules/@swc/helpers/esm/_wrap_native_super.js","node_modules/@swc/helpers/esm/_is_native_function.js","node_modules/@swc/helpers/esm/_assert_this_initialized.js","node_modules/@remix-run/router/history.ts","node_modules/@swc/helpers/esm/_possible_constructor_return.js","node_modules/@swc/helpers/esm/_create_super.js","node_modules/@remix-run/router/utils.ts","node_modules/@swc/helpers/esm/_to_array.js","node_modules/@remix-run/router/router.ts","node_modules/react-router/lib/context.ts","node_modules/react-router/lib/hooks.tsx","node_modules/react-router/lib/components.tsx","node_modules/react-router/index.ts","node_modules/react-router-dom/dom.ts","node_modules/react-router-dom/index.tsx","node_modules/classnames/index.js","node_modules/@babel/runtime/helpers/esm/typeof.js","node_modules/@babel/runtime/helpers/esm/toPrimitive.js","node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","node_modules/@babel/runtime/helpers/esm/defineProperty.js","node_modules/@babel/runtime/helpers/esm/objectSpread2.js","node_modules/rc-util/es/omit.js","node_modules/react-is/index.js","node_modules/rc-util/es/hooks/useMemo.js","node_modules/rc-util/es/ref.js","node_modules/rc-util/es/Dom/isVisible.js","node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","node_modules/@babel/runtime/helpers/esm/iterableToArray.js","node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.browser.esm.js","node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","node_modules/rc-util/es/warning.js","node_modules/rc-util/es/isEqual.js","node_modules/@babel/runtime/helpers/esm/classCallCheck.js","node_modules/@babel/runtime/helpers/esm/createClass.js","node_modules/@ant-design/cssinjs/es/Cache.js","node_modules/@ant-design/cssinjs/es/StyleContext.js","node_modules/rc-util/es/Dom/canUseDom.js","node_modules/rc-util/es/Dom/contains.js","node_modules/rc-util/es/Dom/dynamicCSS.js","node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","node_modules/@babel/runtime/helpers/esm/slicedToArray.js","node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js","node_modules/@ant-design/cssinjs/es/theme/Theme.js","node_modules/@ant-design/cssinjs/es/theme/createTheme.js","node_modules/@ant-design/cssinjs/es/util.js","node_modules/rc-util/es/hooks/useLayoutEffect.js","node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.js","node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.js","node_modules/@ant-design/cssinjs/es/hooks/useHMR.js","node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js","node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js","node_modules/@babel/runtime/helpers/esm/extends.js","node_modules/@ant-design/cssinjs/node_modules/@emotion/unitless/dist/unitless.browser.esm.js","node_modules/stylis/src/Enum.js","node_modules/stylis/src/Utility.js","node_modules/stylis/src/Tokenizer.js","node_modules/stylis/src/Parser.js","node_modules/stylis/src/Serializer.js","node_modules/@ant-design/cssinjs/es/linters/legacyNotSelectorLinter.js","node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister/cacheMapUtil.js","node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister/index.js","node_modules/@ant-design/cssinjs/es/Keyframes.js","node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.js","node_modules/@ant-design/cssinjs/es/transformers/px2rem.js","node_modules/@ant-design/icons/es/components/Context.js","node_modules/@babel/runtime/helpers/esm/toArray.js","node_modules/rc-util/es/utils/get.js","node_modules/rc-util/es/utils/set.js","node_modules/antd/es/_util/warning.js","node_modules/antd/es/form/validateMessagesContext.js","node_modules/rc-pagination/es/locale/en_US.js","node_modules/antd/es/locale/index.js","node_modules/rc-picker/es/locale/en_US.js","node_modules/antd/es/time-picker/locale/en_US.js","node_modules/antd/es/date-picker/locale/en_US.js","node_modules/antd/es/locale/en_US.js","node_modules/antd/es/modal/locale.js","node_modules/antd/es/locale/context.js","node_modules/antd/es/locale/useLocale.js","node_modules/antd/es/theme/context.js","node_modules/@ctrl/tinycolor/dist/module/util.js","node_modules/@ctrl/tinycolor/dist/module/conversion.js","node_modules/@ctrl/tinycolor/dist/module/css-color-names.js","node_modules/@ctrl/tinycolor/dist/module/format-input.js","node_modules/@ant-design/colors/es/generate.js","node_modules/@ant-design/colors/es/index.js","node_modules/antd/es/theme/themes/shared/genControlHeight.js","node_modules/antd/es/theme/themes/shared/genSizeMapToken.js","node_modules/antd/es/theme/themes/seed.js","node_modules/@ctrl/tinycolor/dist/module/index.js","node_modules/antd/es/theme/themes/shared/genRadius.js","node_modules/antd/es/theme/themes/shared/genCommonMapToken.js","node_modules/antd/es/theme/themes/default/colorAlgorithm.js","node_modules/antd/es/theme/themes/default/colors.js","node_modules/antd/es/theme/themes/shared/genFontSizes.js","node_modules/antd/es/theme/themes/shared/genFontMapToken.js","node_modules/antd/es/theme/themes/default/index.js","node_modules/antd/es/theme/themes/shared/genColorMapToken.js","node_modules/antd/es/config-provider/context.js","node_modules/antd/es/config-provider/cssVariables.js","node_modules/antd/es/config-provider/DisabledContext.js","node_modules/antd/es/config-provider/SizeContext.js","node_modules/antd/es/config-provider/hooks/useConfig.js","node_modules/antd/es/config-provider/hooks/useTheme.js","node_modules/rc-util/es/Dom/findDOMNode.js","node_modules/rc-motion/es/context.js","node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","node_modules/@babel/runtime/helpers/esm/inherits.js","node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","node_modules/@babel/runtime/helpers/esm/createSuper.js","node_modules/rc-motion/es/DomWrapper.js","node_modules/rc-util/es/hooks/useState.js","node_modules/rc-motion/es/interface.js","node_modules/rc-motion/es/hooks/useDomMotionEvents.js","node_modules/rc-motion/es/util/motion.js","node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js","node_modules/rc-util/es/raf.js","node_modules/rc-motion/es/hooks/useNextFrame.js","node_modules/rc-motion/es/hooks/useStepQueue.js","node_modules/rc-motion/es/hooks/useStatus.js","node_modules/rc-motion/es/CSSMotion.js","node_modules/rc-motion/es/util/diff.js","node_modules/rc-motion/es/CSSMotionList.js","node_modules/rc-motion/es/index.js","node_modules/antd/es/version/index.js","node_modules/antd/es/version/version.js","node_modules/antd/es/theme/util/getAlphaColor.js","node_modules/antd/es/theme/util/alias.js","node_modules/antd/es/theme/useToken.js","node_modules/antd/es/config-provider/MotionWrapper.js","node_modules/antd/es/config-provider/PropWarning.js","node_modules/antd/es/config-provider/index.js","node_modules/antd/es/style/operationUnit.js","node_modules/antd/es/style/index.js","node_modules/antd/es/theme/util/useResetIconStyle.js","node_modules/antd/es/_util/reactNode.js","node_modules/rc-util/es/hooks/useEvent.js","node_modules/rc-util/es/hooks/useMergedState.js","node_modules/antd/es/theme/util/statistic.js","node_modules/antd/es/theme/util/genComponentStyleHook.js","node_modules/antd/es/_util/wave/style.js","node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js","node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","node_modules/rc-util/es/React/render.js","node_modules/antd/es/_util/wave/util.js","node_modules/antd/es/_util/wave/interface.js","node_modules/antd/es/_util/wave/WaveEffect.js","node_modules/antd/es/_util/wave/useWave.js","node_modules/antd/es/_util/wave/index.js","node_modules/antd/es/config-provider/hooks/useSize.js","node_modules/rc-util/es/Children/toArray.js","node_modules/antd/es/space/style/compact.js","node_modules/antd/es/space/style/index.js","node_modules/antd/es/space/Compact.js","node_modules/antd/es/button/button-group.js","node_modules/antd/es/button/buttonHelpers.js","node_modules/antd/es/button/IconWrapper.js","node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js","node_modules/rc-util/es/Dom/shadow.js","node_modules/@ant-design/icons/es/utils.js","node_modules/@ant-design/icons/es/components/IconBase.js","node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js","node_modules/@ant-design/icons/es/components/AntdIcon.js","node_modules/@ant-design/icons/es/icons/LoadingOutlined.js","node_modules/antd/es/button/LoadingIcon.js","node_modules/antd/es/button/style/group.js","node_modules/antd/es/button/style/index.js","node_modules/antd/es/style/compact-item.js","node_modules/antd/es/style/compact-item-vertical.js","node_modules/antd/es/button/style/compactCmp.js","node_modules/antd/es/button/button.js","node_modules/antd/es/button/index.js","node_modules/rc-field-form/es/FieldContext.js","node_modules/antd/es/form/context.js","node_modules/rc-field-form/es/index.js","node_modules/rc-field-form/es/ListContext.js","node_modules/rc-field-form/es/utils/typeUtil.js","node_modules/process/browser.js","node_modules/src/util.ts","node_modules/src/rule/required.ts","node_modules/src/rule/url.ts","node_modules/src/rule/type.ts","node_modules/src/rule/enum.ts","node_modules/src/rule/index.ts","node_modules/src/rule/whitespace.ts","node_modules/src/rule/range.ts","node_modules/src/rule/pattern.ts","node_modules/src/validator/type.ts","node_modules/src/validator/index.ts","node_modules/src/validator/string.ts","node_modules/src/validator/method.ts","node_modules/src/validator/number.ts","node_modules/src/validator/boolean.ts","node_modules/src/validator/regexp.ts","node_modules/src/validator/integer.ts","node_modules/src/validator/float.ts","node_modules/src/validator/array.ts","node_modules/src/validator/object.ts","node_modules/src/validator/enum.ts","node_modules/src/validator/pattern.ts","node_modules/src/validator/date.ts","node_modules/src/validator/required.ts","node_modules/src/validator/any.ts","node_modules/src/messages.ts","node_modules/src/index.ts","node_modules/rc-field-form/es/utils/messages.js","node_modules/rc-field-form/es/utils/validateUtil.js","node_modules/rc-field-form/es/utils/valueUtil.js","node_modules/rc-field-form/es/Field.js","node_modules/rc-field-form/es/List.js","node_modules/rc-field-form/es/utils/asyncUtil.js","node_modules/rc-field-form/es/utils/NameMap.js","node_modules/rc-field-form/es/useForm.js","node_modules/rc-field-form/es/FormContext.js","node_modules/rc-field-form/es/Form.js","node_modules/rc-field-form/es/useWatch.js","node_modules/antd/es/input/style/index.js","node_modules/antd/es/input/Group.js","node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js","node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js","node_modules/rc-input/es/utils/commonUtils.js","node_modules/rc-input/es/BaseInput.js","node_modules/rc-input/es/Input.js","node_modules/rc-input/es/index.js","node_modules/antd/es/_util/statusUtils.js","node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js","node_modules/antd/es/input/utils.js","node_modules/antd/es/input/Input.js","node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js","node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js","node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js","node_modules/@ant-design/icons/es/icons/EyeOutlined.js","node_modules/antd/es/input/Password.js","node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js","node_modules/@ant-design/icons/es/icons/SearchOutlined.js","node_modules/antd/es/input/Search.js","node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js","node_modules/rc-resize-observer/es/utils/observerUtil.js","node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js","node_modules/rc-resize-observer/es/Collection.js","node_modules/rc-resize-observer/es/SingleObserver/index.js","node_modules/rc-resize-observer/es/index.js","node_modules/rc-textarea/es/calculateNodeHeight.js","node_modules/rc-textarea/es/ResizableTextArea.js","node_modules/rc-textarea/es/TextArea.js","node_modules/rc-textarea/es/index.js","node_modules/antd/es/input/TextArea.js","node_modules/antd/es/input/index.js","node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js","node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js","node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js","node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js","node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js","node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js","node_modules/antd/es/_util/motion.js","node_modules/antd/es/modal/components/ConfirmCancelBtn.js","node_modules/antd/es/_util/ActionButton.js","node_modules/antd/es/modal/context.js","node_modules/antd/es/modal/components/ConfirmOkBtn.js","node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js","node_modules/@ant-design/icons/es/icons/CloseOutlined.js","node_modules/@rc-component/portal/es/Context.js","node_modules/@rc-component/portal/es/useDom.js","node_modules/rc-util/es/getScrollBarSize.js","node_modules/@rc-component/portal/es/useScrollLocker.js","node_modules/@rc-component/portal/es/util.js","node_modules/@rc-component/portal/es/mock.js","node_modules/@rc-component/portal/es/Portal.js","node_modules/@rc-component/portal/es/index.js","node_modules/rc-dialog/es/context.js","node_modules/rc-util/es/hooks/useId.js","node_modules/rc-util/es/KeyCode.js","node_modules/rc-util/es/pickAttrs.js","node_modules/rc-dialog/es/util.js","node_modules/rc-dialog/es/Dialog/Content/MemoChildren.js","node_modules/rc-dialog/es/Dialog/Content/Panel.js","node_modules/rc-dialog/es/Dialog/Content/index.js","node_modules/rc-dialog/es/Dialog/Mask.js","node_modules/rc-dialog/es/Dialog/index.js","node_modules/rc-dialog/es/DialogWrap.js","node_modules/rc-dialog/es/index.js","node_modules/antd/es/_util/hooks/useClosable.js","node_modules/rc-util/es/Dom/styleChecker.js","node_modules/antd/es/watermark/context.js","node_modules/antd/es/modal/components/NormalCancelBtn.js","node_modules/antd/es/modal/components/NormalOkBtn.js","node_modules/antd/es/modal/shared.js","node_modules/antd/es/style/motion/motion.js","node_modules/antd/es/style/motion/fade.js","node_modules/antd/es/style/motion/zoom.js","node_modules/antd/es/modal/style/index.js","node_modules/antd/es/modal/Modal.js","node_modules/antd/es/_util/styleChecker.js","node_modules/antd/es/modal/style/confirmCmp.js","node_modules/antd/es/modal/ConfirmDialog.js","node_modules/antd/es/modal/destroyFns.js","node_modules/antd/es/modal/confirm.js","node_modules/antd/es/_util/PurePanel.js","node_modules/antd/es/modal/PurePanel.js","node_modules/antd/es/_util/hooks/usePatchElement.js","node_modules/antd/es/modal/useModal/HookModal.js","node_modules/antd/es/modal/useModal/index.js","node_modules/antd/es/modal/index.js","node_modules/dexie-react-hooks/src/useObservable.ts","node_modules/dexie-react-hooks/src/useLiveQuery.ts","node_modules/dexie-react-hooks/src/usePermissions.ts","packages/website/src/components/storage.context.tsx","node_modules/antd/es/skeleton/Element.js","node_modules/antd/es/skeleton/style/index.js","node_modules/antd/es/skeleton/Avatar.js","node_modules/antd/es/skeleton/Button.js","node_modules/antd/es/skeleton/Image.js","node_modules/antd/es/skeleton/Input.js","node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js","node_modules/@ant-design/icons/es/icons/DotChartOutlined.js","node_modules/antd/es/skeleton/Node.js","node_modules/antd/es/skeleton/Paragraph.js","node_modules/antd/es/skeleton/Title.js","node_modules/antd/es/skeleton/Skeleton.js","node_modules/antd/es/skeleton/index.js","node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js","node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js","node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.js","node_modules/@ant-design/icons/es/icons/PlusOutlined.js","node_modules/rc-util/es/isMobile.js","node_modules/rc-tabs/es/TabContext.js","node_modules/rc-tabs/es/TabPanelList/TabPane.js","node_modules/rc-tabs/es/TabPanelList/index.js","node_modules/rc-tabs/es/hooks/useOffsets.js","node_modules/rc-tabs/es/hooks/useSyncState.js","node_modules/rc-tabs/es/hooks/useTouchMove.js","node_modules/rc-tabs/es/hooks/useUpdate.js","node_modules/rc-tabs/es/hooks/useVisibleRange.js","node_modules/rc-tabs/es/util.js","node_modules/rc-tabs/es/TabNavList/AddButton.js","node_modules/rc-tabs/es/TabNavList/ExtraContent.js","node_modules/@rc-component/trigger/es/context.js","node_modules/@rc-component/trigger/es/hooks/useAction.js","node_modules/@rc-component/trigger/es/util.js","node_modules/@rc-component/trigger/es/hooks/useAlign.js","node_modules/@rc-component/trigger/es/hooks/useWatch.js","node_modules/@rc-component/trigger/es/hooks/useWinClick.js","node_modules/@rc-component/trigger/es/Popup/Arrow.js","node_modules/@rc-component/trigger/es/Popup/Mask.js","node_modules/@rc-component/trigger/es/Popup/PopupContent.js","node_modules/@rc-component/trigger/es/Popup/index.js","node_modules/@rc-component/trigger/es/TriggerWrapper.js","node_modules/@rc-component/trigger/es/index.js","node_modules/rc-dropdown/es/hooks/useAccessibility.js","node_modules/rc-dropdown/es/Overlay.js","node_modules/rc-dropdown/es/placements.js","node_modules/rc-dropdown/es/Dropdown.js","node_modules/rc-dropdown/es/index.js","node_modules/rc-overflow/es/Item.js","node_modules/rc-overflow/es/hooks/channelUpdate.js","node_modules/rc-overflow/es/hooks/useEffectState.js","node_modules/rc-overflow/es/context.js","node_modules/rc-overflow/es/RawItem.js","node_modules/rc-overflow/es/Overflow.js","node_modules/rc-overflow/es/index.js","node_modules/rc-menu/es/context/IdContext.js","node_modules/rc-menu/es/context/MenuContext.js","node_modules/rc-menu/es/context/PathContext.js","node_modules/rc-menu/es/context/PrivateContext.js","node_modules/rc-util/es/Dom/focus.js","node_modules/rc-menu/es/hooks/useAccessibility.js","node_modules/rc-menu/es/hooks/useKeyRecords.js","node_modules/rc-menu/es/utils/timeUtil.js","node_modules/rc-menu/es/hooks/useMemoCallback.js","node_modules/rc-menu/es/hooks/useUUID.js","node_modules/rc-menu/es/hooks/useActive.js","node_modules/rc-menu/es/hooks/useDirectionStyle.js","node_modules/rc-menu/es/Icon.js","node_modules/rc-menu/es/utils/warnUtil.js","node_modules/rc-menu/es/MenuItem.js","node_modules/rc-menu/es/SubMenu/SubMenuList.js","node_modules/rc-menu/es/utils/commonUtil.js","node_modules/rc-menu/es/placements.js","node_modules/rc-menu/es/utils/motionUtil.js","node_modules/rc-menu/es/SubMenu/PopupTrigger.js","node_modules/rc-menu/es/SubMenu/InlineSubMenuList.js","node_modules/rc-menu/es/SubMenu/index.js","node_modules/rc-menu/es/MenuItemGroup.js","node_modules/rc-menu/es/Divider.js","node_modules/rc-menu/es/utils/nodeUtil.js","node_modules/rc-menu/es/Menu.js","node_modules/rc-menu/es/index.js","node_modules/rc-tabs/es/TabNavList/OperationNode.js","node_modules/rc-tabs/es/TabNavList/TabNode.js","node_modules/rc-tabs/es/hooks/useIndicator.js","node_modules/rc-tabs/es/TabNavList/index.js","node_modules/rc-tabs/es/TabNavList/Wrapper.js","node_modules/rc-tabs/es/hooks/useAnimateConfig.js","node_modules/rc-tabs/es/Tabs.js","node_modules/rc-tabs/es/index.js","node_modules/antd/es/tabs/hooks/useAnimateConfig.js","node_modules/antd/es/tabs/hooks/useLegacyItems.js","node_modules/antd/es/style/motion/slide.js","node_modules/antd/es/tabs/style/motion.js","node_modules/antd/es/tabs/style/index.js","node_modules/antd/es/tabs/index.js","node_modules/antd/es/tabs/TabPane.js","node_modules/antd/es/card/Grid.js","node_modules/antd/es/card/style/index.js","node_modules/antd/es/card/Card.js","node_modules/antd/es/card/Meta.js","node_modules/antd/es/card/index.js","node_modules/antd/es/empty/empty.js","node_modules/antd/es/empty/simple.js","node_modules/antd/es/empty/style/index.js","node_modules/antd/es/empty/index.js","node_modules/antd/es/_util/extendsObject.js","node_modules/antd/es/_util/responsiveObserver.js","node_modules/antd/es/config-provider/defaultRenderEmpty.js","node_modules/antd/es/grid/RowContext.js","node_modules/antd/es/grid/style/index.js","node_modules/antd/es/grid/row.js","node_modules/antd/es/grid/hooks/useBreakpoint.js","node_modules/antd/es/_util/hooks/useForceUpdate.js","node_modules/@ant-design/icons-svg/es/asn/DoubleLeftOutlined.js","node_modules/@ant-design/icons/es/icons/DoubleLeftOutlined.js","node_modules/@ant-design/icons-svg/es/asn/DoubleRightOutlined.js","node_modules/@ant-design/icons/es/icons/DoubleRightOutlined.js","node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js","node_modules/@ant-design/icons/es/icons/LeftOutlined.js","node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js","node_modules/@ant-design/icons/es/icons/RightOutlined.js","node_modules/rc-pagination/es/KeyCode.js","node_modules/rc-pagination/es/Options.js","node_modules/rc-pagination/es/Pager.js","node_modules/rc-pagination/es/Pagination.js","node_modules/rc-pagination/es/locale/zh_CN.js","node_modules/antd/es/pagination/Select.js","node_modules/rc-select/es/TransBtn.js","node_modules/rc-select/es/hooks/useAllowClear.js","node_modules/rc-select/es/hooks/useBaseProps.js","node_modules/rc-select/es/hooks/useDelayReset.js","node_modules/rc-select/es/hooks/useLock.js","node_modules/rc-select/es/hooks/useSelectTriggerControl.js","node_modules/rc-select/es/Selector/Input.js","node_modules/rc-select/es/hooks/useLayoutEffect.js","node_modules/rc-select/es/utils/commonUtil.js","node_modules/rc-select/es/Selector/MultipleSelector.js","node_modules/rc-select/es/Selector/SingleSelector.js","node_modules/rc-select/es/Selector/index.js","node_modules/rc-select/es/utils/keyUtil.js","node_modules/rc-select/es/SelectTrigger.js","node_modules/rc-select/es/utils/valueUtil.js","node_modules/rc-select/es/BaseSelect.js","node_modules/rc-select/es/hooks/useCache.js","node_modules/rc-select/es/hooks/useFilterOptions.js","node_modules/rc-select/es/hooks/useId.js","node_modules/rc-select/es/hooks/useOptions.js","node_modules/rc-select/es/utils/legacyUtil.js","node_modules/rc-select/es/hooks/useRefFunc.js","node_modules/rc-select/es/OptGroup.js","node_modules/rc-select/es/Option.js","node_modules/rc-virtual-list/es/Filler.js","node_modules/rc-virtual-list/es/ScrollBar.js","node_modules/rc-virtual-list/es/hooks/useChildren.js","node_modules/rc-virtual-list/es/Item.js","node_modules/rc-virtual-list/es/utils/CacheMap.js","node_modules/rc-virtual-list/es/hooks/useHeights.js","node_modules/rc-virtual-list/es/hooks/useScrollTo.js","node_modules/rc-virtual-list/es/utils/algorithmUtil.js","node_modules/rc-virtual-list/es/hooks/useDiffItem.js","node_modules/rc-virtual-list/es/hooks/useFrameWheel.js","node_modules/rc-virtual-list/es/utils/isFirefox.js","node_modules/rc-virtual-list/es/hooks/useOriginScroll.js","node_modules/rc-virtual-list/es/hooks/useMobileTouchMove.js","node_modules/rc-virtual-list/es/utils/scrollbarUtil.js","node_modules/rc-virtual-list/es/hooks/useGetSize.js","node_modules/rc-virtual-list/es/List.js","node_modules/rc-virtual-list/es/index.js","node_modules/rc-select/es/SelectContext.js","node_modules/rc-select/es/OptionList.js","node_modules/rc-select/es/utils/platformUtil.js","node_modules/rc-select/es/Select.js","node_modules/rc-select/es/index.js","node_modules/antd/es/style/motion/move.js","node_modules/antd/es/select/style/dropdown.js","node_modules/antd/es/select/style/multiple.js","node_modules/antd/es/select/style/single.js","node_modules/antd/es/select/style/index.js","node_modules/antd/es/select/useBuiltinPlacements.js","node_modules/antd/es/select/useShowArrow.js","node_modules/antd/es/select/useIcons.js","node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js","node_modules/@ant-design/icons/es/icons/CheckOutlined.js","node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js","node_modules/@ant-design/icons/es/icons/DownOutlined.js","node_modules/antd/es/select/index.js","node_modules/antd/es/pagination/style/index.js","node_modules/antd/es/pagination/Pagination.js","node_modules/antd/es/pagination/index.js","node_modules/throttle-debounce/debounce.js","node_modules/throttle-debounce/throttle.js","node_modules/antd/es/spin/style/index.js","node_modules/antd/es/spin/index.js","node_modules/antd/es/grid/col.js","node_modules/antd/es/list/context.js","node_modules/antd/es/list/Item.js","node_modules/antd/es/list/style/index.js","node_modules/antd/es/list/index.js","node_modules/@fluent/sequence/esm/map_sync.js","node_modules/@fluent/react/esm/markup.js","node_modules/cached-iterable/src/cached_iterable.mjs","<>","node_modules/cached-iterable/src/cached_sync_iterable.mjs","node_modules/@swc/helpers/esm/_object_spread.js","node_modules/@fluent/react/vendor/omittedCloseTags.js","node_modules/@fluent/react/vendor/voidElementTags.js","node_modules/@fluent/react/esm/localization.js","node_modules/@fluent/react/esm/context.js","node_modules/@fluent/react/esm/provider.js","node_modules/@fluent/react/esm/localized.js","node_modules/@fluent/react/esm/use_localization.js","node_modules/@ant-design/icons-svg/es/asn/ArrowRightOutlined.js","node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.js","packages/website/src/components/metronome/PersonalRhythmList.tsx","node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.js","node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js","packages/website/src/components/GoBack.tsx","node_modules/@swc/helpers/esm/_object_spread_props.js","node_modules/@swc/helpers/esm/_object_without_properties_loose.js","node_modules/@swc/helpers/esm/_object_without_properties.js","packages/metronome/src/components/Form.tsx","node_modules/@ant-design/icons-svg/es/asn/UpOutlined.js","node_modules/@ant-design/icons/es/icons/UpOutlined.js","node_modules/@rc-component/mini-decimal/es/supportUtil.js","node_modules/@rc-component/mini-decimal/es/numberUtil.js","node_modules/@rc-component/mini-decimal/es/BigIntDecimal.js","node_modules/@rc-component/mini-decimal/es/NumberDecimal.js","node_modules/@rc-component/mini-decimal/es/MiniDecimal.js","node_modules/@rc-component/mini-decimal/es/index.js","node_modules/rc-input-number/es/hooks/useCursor.js","node_modules/rc-input-number/es/StepHandler.js","node_modules/rc-util/es/hooks/useMobile.js","node_modules/rc-input-number/es/utils/numberUtil.js","node_modules/rc-input-number/es/hooks/useFrame.js","node_modules/rc-input-number/es/InputNumber.js","node_modules/rc-input-number/es/index.js","node_modules/antd/es/input-number/style/index.js","node_modules/antd/es/input-number/index.js","packages/metronome/src/components/PreparatorySettings.tsx","packages/music/src/theory.ts","packages/music/src/math.ts","packages/music/src/common.ts","node_modules/ramda/es/internal/_clone.js","node_modules/ramda/es/internal/_isPlaceholder.js","node_modules/ramda/es/internal/_curry1.js","node_modules/ramda/es/type.js","node_modules/ramda/es/internal/_cloneRegExp.js","node_modules/ramda/es/clone.js","packages/music/src/rhythm.ts","packages/music/src/index.ts","packages/metronome/src/components/TempoSettings.tsx","packages/metronome/src/context/rhythm.context.tsx","node_modules/comlink/src/comlink.ts","node_modules/@parcel/runtime-js/lib/helpers/bundle-url.js","node_modules/@parcel/runtime-js/lib/helpers/get-worker-url.js","node_modules/@parcel/runtime-js/lib/runtime-33f3b0157f547a2f.js","packages/common/src/context/audio.context.tsx","node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.js","node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.js","node_modules/antd/es/_util/gapSize.js","node_modules/antd/es/flex/utils.js","node_modules/antd/es/flex/style/index.js","node_modules/antd/es/flex/index.js","packages/common/src/components/AudioContextProvider.tsx","packages/common/src/hooks/useFlag.ts","packages/metronome/src/utils/tone.ts","packages/common/src/hooks/useSoundAnalyser.ts","packages/common/src/hooks/getId.ts","packages/metronome/src/components/TempoTicker.tsx","packages/metronome/src/components/RhythmPlayer.tsx","packages/metronome/src/hooks/useAudioContext.ts","packages/metronome/src/hooks/useTicker.ts","node_modules/@ant-design/icons-svg/es/asn/MinusOutlined.js","node_modules/@ant-design/icons/es/icons/MinusOutlined.js","node_modules/@ant-design/icons-svg/es/asn/AudioFilled.js","node_modules/@ant-design/icons/es/icons/AudioFilled.js","node_modules/@ant-design/icons-svg/es/asn/AudioMutedOutlined.js","node_modules/@ant-design/icons/es/icons/AudioMutedOutlined.js","node_modules/@ant-design/icons-svg/es/asn/AudioOutlined.js","node_modules/@ant-design/icons/es/icons/AudioOutlined.js","packages/metronome/src/components/NoteIcon.tsx","packages/metronome/src/components/BeatViewer.tsx","packages/metronome/src/components/MeasureBeats.tsx","packages/metronome/src/components/MeasureSettings.tsx","packages/metronome/src/components/MeasureViewer.tsx","packages/metronome/src/components/RhythmViewer.tsx","packages/metronome/src/utils/ticker.ts","node_modules/antd/es/style/placementArrow.js","node_modules/antd/es/style/roundedArrow.js","node_modules/antd/es/_util/placements.js","node_modules/antd/es/layout/style/light.js","node_modules/antd/es/layout/style/index.js","node_modules/antd/es/layout/layout.js","node_modules/antd/es/layout/Sider.js","node_modules/antd/es/menu/MenuDivider.js","node_modules/rc-tooltip/es/Popup.js","node_modules/rc-tooltip/es/placements.js","node_modules/rc-tooltip/es/Tooltip.js","node_modules/rc-tooltip/es/index.js","node_modules/antd/es/theme/interface/presetColors.js","node_modules/antd/es/theme/util/genPresetColor.js","node_modules/antd/es/tooltip/style/index.js","node_modules/antd/es/_util/colors.js","node_modules/antd/es/tooltip/util.js","node_modules/antd/es/tooltip/PurePanel.js","node_modules/antd/es/tooltip/index.js","node_modules/antd/es/menu/MenuContext.js","node_modules/antd/es/menu/MenuItem.js","node_modules/antd/es/menu/SubMenu.js","node_modules/antd/es/menu/hooks/useItems.js","node_modules/antd/es/menu/OverrideContext.js","node_modules/antd/es/style/motion/collapse.js","node_modules/antd/es/menu/style/horizontal.js","node_modules/antd/es/menu/style/theme.js","node_modules/antd/es/menu/style/vertical.js","node_modules/antd/es/menu/style/index.js","node_modules/antd/es/menu/style/rtl.js","node_modules/antd/es/menu/menu.js","node_modules/antd/es/menu/index.js","node_modules/antd/es/dropdown/style/status.js","node_modules/antd/es/dropdown/style/index.js","node_modules/antd/es/dropdown/dropdown.js","node_modules/antd/es/space/context.js","node_modules/antd/es/space/Item.js","node_modules/antd/es/space/index.js","node_modules/antd/es/dropdown/dropdown-button.js","node_modules/antd/es/dropdown/index.js","node_modules/@ant-design/icons-svg/es/asn/TranslationOutlined.js","node_modules/@ant-design/icons/es/icons/TranslationOutlined.js","node_modules/@fluent/bundle/esm/types.js","node_modules/@fluent/bundle/esm/resolver.js","node_modules/@fluent/bundle/esm/scope.js","node_modules/@fluent/bundle/esm/builtins.js","node_modules/@fluent/bundle/esm/memoizer.js","node_modules/@fluent/bundle/esm/bundle.js","node_modules/@fluent/bundle/esm/resource.js","node_modules/@fluent/langneg/esm/locale.js","node_modules/@fluent/langneg/esm/matches.js","node_modules/@fluent/langneg/esm/negotiate_languages.js","packages/website/src/i18n/index.ts","packages/website/src/components/app.context.tsx","node_modules/@ant-design/icons-svg/es/asn/PauseCircleFilled.js","node_modules/@ant-design/icons/es/icons/PauseCircleFilled.js","node_modules/@ant-design/icons-svg/es/asn/PlayCircleFilled.js","node_modules/@ant-design/icons/es/icons/PlayCircleFilled.js","node_modules/@ant-design/icons-svg/es/asn/SaveOutlined.js","node_modules/@ant-design/icons/es/icons/SaveOutlined.js","node_modules/@ant-design/icons-svg/es/asn/SettingOutlined.js","node_modules/@ant-design/icons/es/icons/SettingOutlined.js","packages/website/src/components/metronome/RhythmEditor.tsx","packages/website/src/components/Fill.tsx","node_modules/antd/es/typography/Link.js","node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.js","node_modules/@ant-design/icons/es/icons/CopyOutlined.js","node_modules/@ant-design/icons-svg/es/asn/EditOutlined.js","node_modules/@ant-design/icons/es/icons/EditOutlined.js","node_modules/toggle-selection/index.js","node_modules/copy-to-clipboard/index.js","node_modules/antd/es/_util/transButton.js","node_modules/@ant-design/icons-svg/es/asn/EnterOutlined.js","node_modules/@ant-design/icons/es/icons/EnterOutlined.js","node_modules/antd/es/typography/style/mixins.js","node_modules/antd/es/typography/style/index.js","node_modules/antd/es/typography/Editable.js","node_modules/antd/es/typography/Typography.js","node_modules/antd/es/typography/hooks/useMergedConfig.js","node_modules/antd/es/typography/hooks/useUpdatedEffect.js","node_modules/antd/es/typography/Base/Ellipsis.js","node_modules/antd/es/typography/Base/EllipsisTooltip.js","node_modules/antd/es/typography/Base/index.js","node_modules/antd/es/typography/Paragraph.js","node_modules/antd/es/typography/Text.js","node_modules/antd/es/typography/Title.js","node_modules/antd/es/typography/index.js","node_modules/rc-switch/es/index.js","node_modules/antd/es/switch/style/index.js","node_modules/antd/es/switch/index.js","packages/sightear/src/utils/note.ts","node_modules/@ant-design/icons-svg/es/asn/PlayCircleOutlined.js","node_modules/@ant-design/icons/es/icons/PlayCircleOutlined.js","node_modules/@ant-design/icons-svg/es/asn/QuestionOutlined.js","node_modules/@ant-design/icons/es/icons/QuestionOutlined.js","node_modules/@ant-design/icons-svg/es/asn/SwitcherOutlined.js","node_modules/@ant-design/icons/es/icons/SwitcherOutlined.js","packages/sightear/src/components/SightEar.tsx","packages/tuner/src/components/Tuner.tsx","packages/website/src/App.tsx","packages/website/src/pages/HomePage.tsx","packages/website/src/pages/MetronomeListPage.tsx","packages/website/src/pages/MetronomePlayerPage.tsx","packages/website/src/pages/SightEarPage.tsx","packages/website/src/pages/TunerPage.tsx","node_modules/intl-polyfill/dist/intl-polyfill.js","packages/website/src/index.tsx"],"sourcesContent":["\"use strict\";\n\nvar mapping = {};\n\nfunction register(pairs) {\n var keys = Object.keys(pairs);\n\n for (var i = 0; i < keys.length; i++) {\n mapping[keys[i]] = pairs[keys[i]];\n }\n}\n\nfunction resolve(id) {\n var resolved = mapping[id];\n\n if (resolved == null) {\n throw new Error('Could not resolve bundle with id ' + id);\n }\n\n return resolved;\n}\n\nmodule.exports.register = register;\nmodule.exports.resolve = resolve;","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),p=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),r=Symbol.for(\"react.profiler\"),t=Symbol.for(\"react.provider\"),u=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),w=Symbol.for(\"react.suspense\"),x=Symbol.for(\"react.memo\"),y=Symbol.for(\"react.lazy\"),z=Symbol.iterator;function A(a){if(null===a||\"object\"!==typeof a)return null;a=z&&a[z]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}\nvar B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}E.prototype.isReactComponent={};\nE.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,a,b,\"setState\")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}var H=G.prototype=new F;\nH.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1b}return!1}function v(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var z={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){z[a]=new v(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];z[b]=new v(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){z[a]=new v(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){z[a]=new v(a,2,!1,a,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){z[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){z[a]=new v(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){z[a]=new v(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){z[a]=new v(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){z[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var ra=/[\\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(ra,\nsa);z[b]=new v(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});\nz.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2h||e[g]!==f[h]){var k=\"\\n\"+e[g].replace(\" at new \",\" at \");a.displayName&&k.includes(\"\")&&(k=k.replace(\"\",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Ma(a):\"\"}\nfunction Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma(\"Lazy\");case 13:return Ma(\"Suspense\");case 19:return Ma(\"SuspenseList\");case 0:case 2:case 15:return a=Oa(a.type,!1),a;case 11:return a=Oa(a.type.render,!1),a;case 1:return a=Oa(a.type,!0),a;default:return\"\"}}\nfunction Qa(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ya:return\"Fragment\";case wa:return\"Portal\";case Aa:return\"Profiler\";case za:return\"StrictMode\";case Ea:return\"Suspense\";case Fa:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Ca:return(a.displayName||\"Context\")+\".Consumer\";case Ba:return(a._context.displayName||\"Context\")+\".Provider\";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||\nb.name||\"\",a=\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");return a;case Ga:return b=a.displayName||null,null!==b?b:Qa(a.type)||\"Memo\";case Ha:b=a._payload;a=a._init;try{return Qa(a(b))}catch(c){}}return null}\nfunction Ra(a){var b=a.type;switch(a.tag){case 24:return\"Cache\";case 9:return(b.displayName||\"Context\")+\".Consumer\";case 10:return(b._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return a=b.render,a=a.displayName||a.name||\"\",b.displayName||(\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return b;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Qa(b);case 8:return b===za?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";\ncase 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(\"function\"===typeof b)return b.displayName||b.name||null;if(\"string\"===typeof b)return b}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"string\":case \"undefined\":return a;case \"object\":return a;default:return\"\"}}\nfunction Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function ab(a,b){b=b.checked;null!=b&&ta(a,\"checked\",b,!1)}\nfunction bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?cb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction db(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction cb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}var eb=Array.isArray;\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e\"+b.valueOf().toString()+\"\";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction ob(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,\nzoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(pb).forEach(function(a){qb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);pb[b]=pb[a]})});function rb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||pb.hasOwnProperty(a)&&pb[a]?(\"\"+b).trim():b+\"px\"}\nfunction sb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=rb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction ub(a,b){if(b){if(tb[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(p(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(p(60));if(\"object\"!==typeof b.dangerouslySetInnerHTML||!(\"__html\"in b.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(p(62));}}\nfunction vb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var wb=null;function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(p(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a>>=0;return 0===a?32:31-(pc(a)/qc|0)|0}var rc=64,sc=4194304;\nfunction tc(a){switch(a&-a){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 a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;\ndefault:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=tc(h):(f&=g,0!==f&&(d=tc(f)))}else g=c&~e,0!==g?d=tc(g):0!==f&&(d=tc(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||16===e&&0!==(f&4194240)))return b;0!==(d&4)&&(d|=c&16);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}\nfunction Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Je(c)}}function Le(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Le(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nfunction Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),\"selectionStart\"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,\nd);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});\"function\"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}\nfunction Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H)}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c)}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||\"Unknown\",e));return A({},c,d)}\nfunction cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return!0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c)}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a)}function ig(a){fg=!0;hg(a)}\nfunction jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C;try{var c=eg;for(C=1;a>=g;e-=g;rg=1<<32-oc(b)+e|c<w?(x=u,u=null):x=u.sibling;var n=r(e,u,h[w],k);if(null===n){null===u&&(u=x);break}a&&u&&null===n.alternate&&b(e,u);g=f(n,g,w);null===m?l=n:m.sibling=n;m=n;u=x}if(w===h.length)return c(e,u),I&&tg(e,w),l;if(null===u){for(;ww?(x=m,m=null):x=m.sibling;var t=r(e,m,n.value,k);if(null===t){null===m&&(m=x);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,w);null===u?l=t:u.sibling=t;u=t;m=x}if(n.done)return c(e,\nm),I&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function J(a,d,f,h){\"object\"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if(\"object\"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=\nf.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||\"object\"===typeof k&&null!==k&&k.$$typeof===Ha&&uh(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=sh(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling}f.type===ya?(d=Ah(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=yh(f.type,f.key,f.props,null,a.mode,h),h.ref=sh(a,d,f),h.return=a,a=h)}return g(a);case wa:a:{for(l=f.key;null!==\nd;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=zh(f,a.mode,h);d.return=a;a=d}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);th(a,f)}return\"string\"===typeof f&&\"\"!==f||\"number\"===typeof f?(f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):\n(c(a,d),d=xh(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh(a){if(a===Dh)throw Error(p(174));return a}function Ih(a,b){G(Gh,b);G(Fh,a);G(Eh,Dh);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:lb(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=lb(b,a)}E(Eh);G(Eh,b)}function Jh(){E(Eh);E(Fh);E(Gh)}\nfunction Kh(a){Hh(Gh.current);var b=Hh(Eh.current);var c=lb(b,a.type);b!==c&&(G(Fh,a),G(Eh,c))}function Lh(a){Fh.current===a&&(E(Eh),E(Fh))}var M=Uf(0);\nfunction Mh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||\"$?\"===c.data||\"$!\"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Nh=[];\nfunction Oh(){for(var a=0;ac?c:4;a(!0);var d=Qh.transition;Qh.transition={};try{a(!1),b()}finally{C=c,Qh.transition=d}}function Fi(){return di().memoizedState}\nfunction Gi(a,b,c){var d=lh(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,c);else if(c=Yg(a,b,c,d),null!==c){var e=L();mh(c,a,d,e);Ji(c,b,d)}}\nfunction ri(a,b,c){var d=lh(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,Xg(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=Yg(a,b,e,d);null!==c&&(e=L(),mh(c,a,d,e),Ji(c,b,d))}}\nfunction Hi(a){var b=a.alternate;return a===N||null!==b&&b===N}function Ii(a,b){Th=Sh=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Ji(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nvar ai={readContext:Vg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useInsertionEffect:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useDeferredValue:Q,useTransition:Q,useMutableSource:Q,useSyncExternalStore:Q,useId:Q,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function(a,b){ci().memoizedState=[a,void 0===b?null:b];return a},useContext:Vg,useEffect:vi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ti(4194308,\n4,yi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ti(4194308,4,a,b)},useInsertionEffect:function(a,b){return ti(4,2,a,b)},useMemo:function(a,b){var c=ci();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=ci();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Gi.bind(null,N,a);return[d.memoizedState,a]},useRef:function(a){var b=\nci();a={current:a};return b.memoizedState=a},useState:qi,useDebugValue:Ai,useDeferredValue:function(a){return ci().memoizedState=a},useTransition:function(){var a=qi(!1),b=a[0];a=Ei.bind(null,a[1]);ci().memoizedState=a;return[b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=N,e=ci();if(I){if(void 0===c)throw Error(p(407));c=c()}else{c=b();if(null===R)throw Error(p(349));0!==(Rh&30)||ni(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;vi(ki.bind(null,d,\nf,a),[a]);d.flags|=2048;li(9,mi.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=ci(),b=R.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=\":\"+b+\"R\"+c;c=Uh++;0\\x3c/script>\",a=a.removeChild(a.firstChild)):\n\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;Aj(a,b,!1,!1);b.stateNode=a;a:{g=vb(c,d);switch(c){case \"dialog\":D(\"cancel\",a);D(\"close\",a);e=d;break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;eHj&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304)}else{if(!d)if(a=Mh(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Ej(f,!0),null===f.tail&&\"hidden\"===f.tailMode&&!g.alternate&&!I)return S(b),null}else 2*B()-f.renderingStartTime>Hj&&1073741824!==c&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g)}if(null!==f.tail)return b=f.tail,f.rendering=\nb,f.tail=b.sibling,f.renderingStartTime=B(),b.sibling=null,c=M.current,G(M,d?c&1|2:c&1),b;S(b);return null;case 22:case 23:return Ij(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(gj&1073741824)&&(S(b),b.subtreeFlags&6&&(b.flags|=8192)):S(b),null;case 24:return null;case 25:return null}throw Error(p(156,b.tag));}\nfunction Jj(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return Jh(),E(Wf),E(H),Oh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Lh(b),null;case 13:E(M);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p(340));Ig()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E(M),null;case 4:return Jh(),null;case 10:return Rg(b.type._context),null;case 22:case 23:return Ij(),\nnull;case 24:return null;default:return null}}var Kj=!1,U=!1,Lj=\"function\"===typeof WeakSet?WeakSet:Set,V=null;function Mj(a,b){var c=a.ref;if(null!==c)if(\"function\"===typeof c)try{c(null)}catch(d){W(a,b,d)}else c.current=null}function Nj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Oj=!1;\nfunction Pj(a,b){Cf=dd;a=Me();if(Ne(a)){if(\"selectionStart\"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=\nq.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode}q=y}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;\ncase 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Lg(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent=\"\":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F)}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return}n=Oj;Oj=!1;return n}\nfunction Qj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Nj(b,c,f)}e=e.next}while(e!==d)}}function Rj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function Sj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}\"function\"===typeof b?b(a):b.current=a}}\nfunction Tj(a){var b=a.alternate;null!==b&&(a.alternate=null,Tj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Uj(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Vj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Uj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}\nfunction Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling}\nfunction Xj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Xj(a,b,c),a=a.sibling;null!==a;)Xj(a,b,c),a=a.sibling}var X=null,Yj=!1;function Zj(a,b,c){for(c=c.child;null!==c;)ak(a,b,c),c=c.sibling}\nfunction ak(a,b,c){if(lc&&\"function\"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c)}catch(h){}switch(c.tag){case 5:U||Mj(c,b);case 6:var d=X,e=Yj;X=null;Zj(a,b,c);X=d;Yj=e;null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Yj;X=c.stateNode.containerInfo;Yj=!0;\nZj(a,b,c);X=d;Yj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Nj(c,b,g):0!==(f&4)&&Nj(c,b,g));e=e.next}while(e!==d)}Zj(a,b,c);break;case 1:if(!U&&(Mj(c,b),d=c.stateNode,\"function\"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(h){W(c,b,h)}Zj(a,b,c);break;case 21:Zj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==\nc.memoizedState,Zj(a,b,c),U=d):Zj(a,b,c);break;default:Zj(a,b,c)}}function bk(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Lj);b.forEach(function(b){var d=ck.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction dk(a,b){var c=b.deletions;if(null!==c)for(var d=0;de&&(e=g);d&=~f}d=e;d=B()-d;d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*mk(d/1960))-d;if(10a?16:a;if(null===xk)var d=!1;else{a=xk;xk=null;yk=0;if(0!==(K&6))throw Error(p(331));var e=K;K|=4;for(V=a.current;null!==V;){var f=V,g=f.child;if(0!==(V.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;kB()-gk?Lk(a,0):sk|=c);Ek(a,b)}function Zk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=L();a=Zg(a,b);null!==a&&(Ac(a,b,c),Ek(a,c))}function vj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Zk(a,c)}\nfunction ck(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Zk(a,c)}var Wk;\nWk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)Ug=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return Ug=!1,zj(a,b,c);Ug=0!==(a.flags&131072)?!0:!1}else Ug=!1,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;jj(a,b);a=b.pendingProps;var e=Yf(b,H.current);Tg(b,c);e=Xh(null,b,d,a,e,c);var f=bi();b.flags|=1;\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=\nnull,Zf(d)?(f=!0,cg(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,ah(b),e.updater=nh,b.stateNode=e,e._reactInternals=b,rh(b,d,a,c),b=kj(null,b,d,!0,f,c)):(b.tag=0,I&&f&&vg(b),Yi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{jj(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=$k(d);a=Lg(d,a);switch(e){case 0:b=dj(null,b,d,a,c);break a;case 1:b=ij(null,b,d,a,c);break a;case 11:b=Zi(null,b,d,a,c);break a;case 14:b=aj(null,b,d,Lg(d.type,a),c);break a}throw Error(p(306,\nd,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),dj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),ij(a,b,d,e,c);case 3:a:{lj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;bh(a,b);gh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=\nf,b.memoizedState=f,b.flags&256){e=Ki(Error(p(423)),b);b=mj(a,b,d,c,e);break a}else if(d!==e){e=Ki(Error(p(424)),b);b=mj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=!0,zg=null,c=Ch(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ig();if(d===e){b=$i(a,b,c);break a}Yi(a,b,d,c)}b=b.child}return b;case 5:return Kh(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),\nhj(a,b),Yi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return pj(a,b,c);case 4:return Ih(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Bh(b,null,d,c):Yi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),Zi(a,b,d,e,c);case 7:return Yi(a,b,b.pendingProps,c),b.child;case 8:return Yi(a,b,b.pendingProps.children,c),b.child;case 12:return Yi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;\ng=e.value;G(Mg,d._currentValue);d._currentValue=g;if(null!==f)if(He(f.value,g)){if(f.children===e.children&&!Wf.current){b=$i(a,b,c);break a}}else for(f=b.child,null!==f&&(f.return=b);null!==f;){var h=f.dependencies;if(null!==h){g=f.child;for(var k=h.firstContext;null!==k;){if(k.context===d){if(1===f.tag){k=ch(-1,c&-c);k.tag=2;var l=f.updateQueue;if(null!==l){l=l.shared;var m=l.pending;null===m?k.next=k:(k.next=m.next,m.next=k);l.pending=k}}f.lanes|=c;k=f.alternate;null!==k&&(k.lanes|=c);Sg(f.return,\nc,b);h.lanes|=c;break}k=k.next}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);Sg(g,c,b);g=f.sibling}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return}f=g}Yi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,Tg(b,c),e=Vg(e),d=d(e),b.flags|=1,Yi(a,b,d,c),\nb.child;case 14:return d=b.type,e=Lg(d,b.pendingProps),e=Lg(d.type,e),aj(a,b,d,e,c);case 15:return cj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),jj(a,b),b.tag=1,Zf(d)?(a=!0,cg(b)):a=!1,Tg(b,c),ph(b,d,e),rh(b,d,e,c),kj(null,b,d,!0,a,c);case 19:return yj(a,b,c);case 22:return ej(a,b,c)}throw Error(p(156,b.tag));};function Gk(a,b){return ac(a,b)}\nfunction al(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function Bg(a,b,c,d){return new al(a,b,c,d)}function bj(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction $k(a){if(\"function\"===typeof a)return bj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}\nfunction wh(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction yh(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)bj(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ya:return Ah(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return qj(c,e,f,b);default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;\nbreak a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,\"\"));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Ah(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function qj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:!1};return a}function xh(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}\nfunction zh(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction bl(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=\nnull}function cl(a,b,c,d,e,f,g,h,k){a=new bl(a,b,c,h,k);1===b?(b=1,!0===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};ah(f);return a}function dl(a,b,c){var d=3>>1,e=a[d];if(0>>1;dg(C,c))ng(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Qa||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","/**\n * @license React\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var b=Symbol.for(\"react.element\"),c=Symbol.for(\"react.portal\"),d=Symbol.for(\"react.fragment\"),e=Symbol.for(\"react.strict_mode\"),f=Symbol.for(\"react.profiler\"),g=Symbol.for(\"react.provider\"),h=Symbol.for(\"react.context\"),k=Symbol.for(\"react.server_context\"),l=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),n=Symbol.for(\"react.suspense_list\"),p=Symbol.for(\"react.memo\"),q=Symbol.for(\"react.lazy\"),t=Symbol.for(\"react.offscreen\"),u;u=Symbol.for(\"react.module.reference\");\nfunction v(a){if(\"object\"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=b;exports.ForwardRef=l;exports.Fragment=d;exports.Lazy=q;exports.Memo=p;exports.Portal=c;exports.Profiler=f;exports.StrictMode=e;exports.Suspense=m;\nexports.SuspenseList=n;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return v(a)===h};exports.isContextProvider=function(a){return v(a)===g};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return v(a)===l};exports.isFragment=function(a){return v(a)===d};exports.isLazy=function(a){return v(a)===q};exports.isMemo=function(a){return v(a)===p};\nexports.isPortal=function(a){return v(a)===c};exports.isProfiler=function(a){return v(a)===f};exports.isStrictMode=function(a){return v(a)===e};exports.isSuspense=function(a){return v(a)===m};exports.isSuspenseList=function(a){return v(a)===n};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||\"object\"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};exports.typeOf=v;\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","declare var global;\nexport const _global: any =\n typeof globalThis !== 'undefined' ? globalThis :\n typeof self !== 'undefined' ? self :\n typeof window !== 'undefined' ? window :\n global;\n","import { _global } from \"../globals/global\";\nexport const keys = Object.keys;\nexport const isArray = Array.isArray;\nif (typeof Promise !== 'undefined' && !_global.Promise){\n // In jsdom, this it can be the case that Promise is not put on the global object.\n // If so, we need to patch the global object for the rest of the code to work as expected.\n // Other dexie code expects Promise to be on the global object (like normal browser environments)\n _global.Promise = Promise;\n}\nexport { _global }\n\nexport function extend(obj: T, extension: X): T & X {\n if (typeof extension !== 'object') return obj as T & X;\n keys(extension).forEach(function (key) {\n obj[key] = extension[key];\n });\n return obj as T & X;\n}\n\nexport const getProto = Object.getPrototypeOf;\nexport const _hasOwn = {}.hasOwnProperty;\nexport function hasOwn(obj, prop) {\n return _hasOwn.call(obj, prop);\n}\n\nexport function props (proto, extension) {\n if (typeof extension === 'function') extension = extension(getProto(proto));\n (typeof Reflect === \"undefined\" ? keys : Reflect.ownKeys)(extension).forEach(key => {\n setProp(proto, key, extension[key]);\n });\n}\n\nexport const defineProperty = Object.defineProperty;\n\nexport function setProp(obj, prop, functionOrGetSet, options?) {\n defineProperty(obj, prop, extend(functionOrGetSet && hasOwn(functionOrGetSet, \"get\") && typeof functionOrGetSet.get === 'function' ?\n {get: functionOrGetSet.get, set: functionOrGetSet.set, configurable: true} :\n {value: functionOrGetSet, configurable: true, writable: true}, options));\n}\n\nexport function derive(Child) {\n return {\n from: function (Parent) {\n Child.prototype = Object.create(Parent.prototype);\n setProp(Child.prototype, \"constructor\", Child);\n return {\n extend: props.bind(null, Child.prototype)\n };\n }\n };\n}\n\nexport const getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\nexport function getPropertyDescriptor(obj, prop) {\n const pd = getOwnPropertyDescriptor(obj, prop);\n let proto;\n return pd || (proto = getProto(obj)) && getPropertyDescriptor (proto, prop);\n}\n\nconst _slice = [].slice;\nexport function slice(args, start?, end?) {\n return _slice.call(args, start, end);\n}\n\nexport function override(origFunc, overridedFactory) {\n return overridedFactory(origFunc);\n}\n\nexport function assert (b) {\n if (!b) throw new Error(\"Assertion Failed\");\n}\n\nexport function asap(fn) {\n // @ts-ignore\n if (_global.setImmediate) setImmediate(fn); else setTimeout(fn, 0);\n}\n\nexport function getUniqueArray(a) {\n return a.filter((value, index, self) => self.indexOf(value) === index);\n}\n\n/** Generate an object (hash map) based on given array.\n * @param extractor Function taking an array item and its index and returning an array of 2 items ([key, value]) to\n * instert on the resulting object for each item in the array. If this function returns a falsy value, the\n * current item wont affect the resulting object.\n */\nexport function arrayToObject (array: T[], extractor: (x:T, idx: number)=>[string, R]): {[name: string]: R} {\n return array.reduce((result, item, i) => {\n var nameAndValue = extractor(item, i);\n if (nameAndValue) result[nameAndValue[0]] = nameAndValue[1];\n return result;\n }, {});\n}\n\nexport function trycatcher(fn, reject) {\n return function () {\n try {\n fn.apply(this, arguments);\n } catch (e) {\n reject(e);\n }\n };\n}\n\nexport function tryCatch(fn: (...args: any[])=>void, onerror, args?) : void {\n try {\n fn.apply(null, args);\n } catch (ex) {\n onerror && onerror(ex);\n }\n}\n\nexport function getByKeyPath(obj, keyPath) {\n // http://www.w3.org/TR/IndexedDB/#steps-for-extracting-a-key-from-a-value-using-a-key-path\n if (hasOwn(obj, keyPath)) return obj[keyPath]; // This line is moved from last to first for optimization purpose.\n if (!keyPath) return obj;\n if (typeof keyPath !== 'string') {\n var rv = [];\n for (var i = 0, l = keyPath.length; i < l; ++i) {\n var val = getByKeyPath(obj, keyPath[i]);\n rv.push(val);\n }\n return rv;\n }\n var period = keyPath.indexOf('.');\n if (period !== -1) {\n var innerObj = obj[keyPath.substr(0, period)];\n return innerObj === undefined ? undefined : getByKeyPath(innerObj, keyPath.substr(period + 1));\n }\n return undefined;\n}\n\nexport function setByKeyPath(obj, keyPath, value) {\n if (!obj || keyPath === undefined) return;\n if ('isFrozen' in Object && Object.isFrozen(obj)) return;\n if (typeof keyPath !== 'string' && 'length' in keyPath) {\n assert(typeof value !== 'string' && 'length' in value);\n for (var i = 0, l = keyPath.length; i < l; ++i) {\n setByKeyPath(obj, keyPath[i], value[i]);\n }\n } else {\n var period = keyPath.indexOf('.');\n if (period !== -1) {\n var currentKeyPath = keyPath.substr(0, period);\n var remainingKeyPath = keyPath.substr(period + 1);\n if (remainingKeyPath === \"\")\n if (value === undefined) {\n if (isArray(obj) && !isNaN(parseInt(currentKeyPath))) obj.splice(currentKeyPath, 1);\n else delete obj[currentKeyPath];\n } else obj[currentKeyPath] = value;\n else {\n var innerObj = obj[currentKeyPath];\n if (!innerObj || !hasOwn(obj, currentKeyPath)) innerObj = (obj[currentKeyPath] = {});\n setByKeyPath(innerObj, remainingKeyPath, value);\n }\n } else {\n if (value === undefined) {\n if (isArray(obj) && !isNaN(parseInt(keyPath))) obj.splice(keyPath, 1);\n else delete obj[keyPath];\n } else obj[keyPath] = value;\n }\n }\n}\n\nexport function delByKeyPath(obj, keyPath) {\n if (typeof keyPath === 'string')\n setByKeyPath(obj, keyPath, undefined);\n else if ('length' in keyPath)\n [].map.call(keyPath, function(kp) {\n setByKeyPath(obj, kp, undefined);\n });\n}\n\nexport function shallowClone(obj) {\n var rv = {};\n for (var m in obj) {\n if (hasOwn(obj, m)) rv[m] = obj[m];\n }\n return rv;\n}\n\nconst concat = [].concat;\nexport function flatten (a: (T | T[])[]) : T[] {\n return concat.apply([], a);\n}\n\n//https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm\nconst intrinsicTypeNames =\n \"Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey\"\n .split(',').concat(\n flatten([8,16,32,64].map(num=>[\"Int\",\"Uint\",\"Float\"].map(t=>t+num+\"Array\")))\n ).filter(t=>_global[t]);\nconst intrinsicTypes = intrinsicTypeNames.map(t=>_global[t]);\nexport const intrinsicTypeNameSet = arrayToObject(intrinsicTypeNames, x=>[x,true]);\n\nlet circularRefs: null | WeakMap = null;\nexport function deepClone(any: T): T {\n circularRefs = typeof WeakMap !== 'undefined' && new WeakMap();\n const rv = innerDeepClone(any);\n circularRefs = null;\n return rv;\n}\n\nfunction innerDeepClone(any: T): T {\n if (!any || typeof any !== 'object') return any;\n let rv = circularRefs && circularRefs.get(any); // Resolve circular references\n if (rv) return rv;\n if (isArray(any)) {\n rv = [];\n circularRefs && circularRefs.set(any, rv);\n for (var i = 0, l = any.length; i < l; ++i) {\n rv.push(innerDeepClone(any[i]));\n }\n } else if (intrinsicTypes.indexOf(any.constructor) >= 0) {\n rv = any;\n } else {\n const proto = getProto(any);\n rv = proto === Object.prototype ? {} : Object.create(proto);\n circularRefs && circularRefs.set(any, rv);\n for (var prop in any) {\n if (hasOwn(any, prop)) {\n rv[prop] = innerDeepClone(any[prop]);\n }\n }\n }\n return rv;\n}\n\nconst {toString} = {};\nexport function toStringTag(o: Object) {\n return toString.call(o).slice(8, -1);\n}\n\n// If first argument is iterable or array-like, return it as an array\nexport const iteratorSymbol = typeof Symbol !== 'undefined' ?\n Symbol.iterator :\n '@@iterator';\nexport const getIteratorOf = typeof iteratorSymbol === \"symbol\" ? function(x) {\n var i;\n return x != null && (i = x[iteratorSymbol]) && i.apply(x);\n} : function () { return null; };\nexport const asyncIteratorSymbol = typeof Symbol !== 'undefined'\n ? Symbol.asyncIterator || Symbol.for(\"Symbol.asyncIterator\")\n : '@asyncIterator';\n\nexport const NO_CHAR_ARRAY = {};\n// Takes one or several arguments and returns an array based on the following criteras:\n// * If several arguments provided, return arguments converted to an array in a way that\n// still allows javascript engine to optimize the code.\n// * If single argument is an array, return a clone of it.\n// * If this-pointer equals NO_CHAR_ARRAY, don't accept strings as valid iterables as a special\n// case to the two bullets below.\n// * If single argument is an iterable, convert it to an array and return the resulting array.\n// * If single argument is array-like (has length of type number), convert it to an array.\nexport function getArrayOf (arrayLike) {\n var i, a, x, it;\n if (arguments.length === 1) {\n if (isArray(arrayLike)) return arrayLike.slice();\n if (this === NO_CHAR_ARRAY && typeof arrayLike === 'string') return [arrayLike];\n if ((it = getIteratorOf(arrayLike))) {\n a = [];\n while ((x = it.next()), !x.done) a.push(x.value);\n return a;\n }\n if (arrayLike == null) return [arrayLike];\n i = arrayLike.length;\n if (typeof i === 'number') {\n a = new Array(i);\n while (i--) a[i] = arrayLike[i];\n return a;\n }\n return [arrayLike];\n }\n i = arguments.length;\n a = new Array(i);\n while (i--) a[i] = arguments[i];\n return a;\n}\nexport const isAsyncFunction = typeof Symbol !== 'undefined'\n ? (fn: Function) => fn[Symbol.toStringTag] === 'AsyncFunction'\n : ()=>false;\n","// By default, debug will be true only if platform is a web platform and its page is served from localhost.\n// When debug = true, error's stacks will contain asyncronic long stacks.\nexport var debug = typeof location !== 'undefined' &&\n // By default, use debug mode if served from localhost.\n /^(http|https):\\/\\/(localhost|127\\.0\\.0\\.1)/.test(location.href);\n\nexport function setDebug(value, filter) {\n debug = value;\n libraryFilter = filter;\n}\n\nexport var libraryFilter = () => true;\n\nexport const NEEDS_THROW_FOR_STACK = !new Error(\"\").stack;\n\nexport function getErrorWithStack() {\n \"use strict\";\n if (NEEDS_THROW_FOR_STACK) try {\n // Doing something naughty in strict mode here to trigger a specific error\n // that can be explicitely ignored in debugger's exception settings.\n // If we'd just throw new Error() here, IE's debugger's exception settings\n // will just consider it as \"exception thrown by javascript code\" which is\n // something you wouldn't want it to ignore.\n getErrorWithStack.arguments;\n throw new Error(); // Fallback if above line don't throw.\n } catch(e) {\n return e;\n }\n return new Error();\n}\n\nexport function prettyStack(exception, numIgnoredFrames) {\n var stack = exception.stack;\n if (!stack) return \"\";\n numIgnoredFrames = (numIgnoredFrames || 0);\n if (stack.indexOf(exception.name) === 0)\n numIgnoredFrames += (exception.name + exception.message).split('\\n').length;\n return stack.split('\\n')\n .slice(numIgnoredFrames)\n .filter(libraryFilter)\n .map(frame => \"\\n\" + frame)\n .join('');\n}\n\n// TODO: Replace this in favor of a decorator instead.\nexport function deprecated (what: string, fn: (...args)=>T) {\n return function () {\n console.warn(`${what} is deprecated. See https://dexie.org/docs/Deprecations. ${prettyStack(getErrorWithStack(), 1)}`);\n return fn.apply(this, arguments);\n } as (...args)=>T\n}\n","import { derive, setProp } from '../functions/utils';\nimport { getErrorWithStack, prettyStack } from '../helpers/debug';\n\nvar dexieErrorNames = [\n 'Modify',\n 'Bulk',\n 'OpenFailed',\n 'VersionChange',\n 'Schema',\n 'Upgrade',\n 'InvalidTable',\n 'MissingAPI',\n 'NoSuchDatabase',\n 'InvalidArgument',\n 'SubTransaction',\n 'Unsupported',\n 'Internal',\n 'DatabaseClosed',\n 'PrematureCommit',\n 'ForeignAwait'\n];\n\nvar idbDomErrorNames = [\n 'Unknown',\n 'Constraint',\n 'Data',\n 'TransactionInactive',\n 'ReadOnly',\n 'Version',\n 'NotFound',\n 'InvalidState',\n 'InvalidAccess',\n 'Abort',\n 'Timeout',\n 'QuotaExceeded',\n 'Syntax',\n 'DataClone'\n];\n\nvar errorList = dexieErrorNames.concat(idbDomErrorNames);\n\nvar defaultTexts = {\n VersionChanged: \"Database version changed by other database connection\",\n DatabaseClosed: \"Database has been closed\",\n Abort: \"Transaction aborted\",\n TransactionInactive: \"Transaction has already completed or failed\",\n MissingAPI: \"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb\"\n};\n\n//\n// DexieError - base class of all out exceptions.\n//\nexport function DexieError (name, msg) {\n // Reason we don't use ES6 classes is because:\n // 1. It bloats transpiled code and increases size of minified code.\n // 2. It doesn't give us much in this case.\n // 3. It would require sub classes to call super(), which\n // is not needed when deriving from Error.\n this._e = getErrorWithStack();\n this.name = name;\n this.message = msg;\n}\n\nderive(DexieError).from(Error).extend({\n stack: {\n get: function() {\n return this._stack ||\n (this._stack = this.name + \": \" + this.message + prettyStack(this._e, 2));\n }\n },\n toString: function(){ return this.name + \": \" + this.message; }\n});\n\nfunction getMultiErrorMessage (msg, failures) {\n return msg + \". Errors: \" + Object.keys(failures)\n .map(key=>failures[key].toString())\n .filter((v,i,s)=>s.indexOf(v) === i) // Only unique error strings\n .join('\\n');\n}\n\n//\n// ModifyError - thrown in Collection.modify()\n// Specific constructor because it contains members failures and failedKeys.\n//\nexport function ModifyError (msg, failures, successCount, failedKeys) {\n this._e = getErrorWithStack();\n this.failures = failures;\n this.failedKeys = failedKeys;\n this.successCount = successCount;\n this.message = getMultiErrorMessage(msg, failures);\n}\nderive(ModifyError).from(DexieError);\n\nexport function BulkError (msg, failures) {\n this._e = getErrorWithStack();\n this.name = \"BulkError\";\n this.failures = Object.keys(failures).map(pos => failures[pos]);\n this.failuresByPos = failures;\n this.message = getMultiErrorMessage(msg, failures);\n}\nderive(BulkError).from(DexieError);\n\n//\n//\n// Dynamically generate error names and exception classes based\n// on the names in errorList.\n//\n//\n\n// Map of {ErrorName -> ErrorName + \"Error\"}\nexport var errnames = errorList.reduce((obj,name)=>(obj[name]=name+\"Error\",obj),{});\n\n// Need an alias for DexieError because we're gonna create subclasses with the same name.\nconst BaseException = DexieError;\n// Map of {ErrorName -> exception constructor}\nexport var exceptions = errorList.reduce((obj,name)=>{\n // Let the name be \"DexieError\" because this name may\n // be shown in call stack and when debugging. DexieError is\n // the most true name because it derives from DexieError,\n // and we cannot change Function.name programatically without\n // dynamically create a Function object, which would be considered\n // 'eval-evil'.\n var fullName = name + \"Error\";\n function DexieError (msgOrInner, inner){\n this._e = getErrorWithStack();\n this.name = fullName;\n if (!msgOrInner) {\n this.message = defaultTexts[name] || fullName;\n this.inner = null;\n } else if (typeof msgOrInner === 'string') {\n this.message = `${msgOrInner}${!inner ? '' : '\\n ' + inner}`;\n this.inner = inner || null;\n } else if (typeof msgOrInner === 'object') {\n this.message = `${msgOrInner.name} ${msgOrInner.message}`;\n this.inner = msgOrInner;\n }\n }\n derive(DexieError).from(BaseException);\n obj[name]=DexieError;\n return obj;\n},{});\n\n// Use ECMASCRIPT standard exceptions where applicable:\nexceptions.Syntax = SyntaxError;\nexceptions.Type = TypeError;\nexceptions.Range = RangeError;\n\nexport var exceptionMap = idbDomErrorNames.reduce((obj, name)=>{\n obj[name + \"Error\"] = exceptions[name];\n return obj;\n}, {});\n\nexport function mapError (domError, message) {\n if (!domError || domError instanceof DexieError || domError instanceof TypeError || domError instanceof SyntaxError || !domError.name || !exceptionMap[domError.name])\n return domError;\n var rv = new exceptionMap[domError.name](message || domError.message, domError);\n if (\"stack\" in domError) {\n // Derive stack from inner exception if it has a stack\n setProp(rv, \"stack\", {get: function(){\n return this.inner.stack;\n }});\n }\n return rv;\n}\n\nexport var fullNameExceptions = errorList.reduce((obj, name)=>{\n if ([\"Syntax\",\"Type\",\"Range\"].indexOf(name) === -1)\n obj[name + \"Error\"] = exceptions[name];\n return obj;\n}, {});\n\nfullNameExceptions.ModifyError = ModifyError;\nfullNameExceptions.DexieError = DexieError;\nfullNameExceptions.BulkError = BulkError;\n","import {extend} from './utils';\n\nexport function nop() { }\nexport function mirror(val) { return val; }\nexport function pureFunctionChain(f1, f2) {\n // Enables chained events that takes ONE argument and returns it to the next function in chain.\n // This pattern is used in the hook(\"reading\") event.\n if (f1 == null || f1 === mirror) return f2;\n return function (val) {\n return f2(f1(val));\n };\n}\n\nexport function callBoth(on1, on2) {\n return function () {\n on1.apply(this, arguments);\n on2.apply(this, arguments);\n };\n}\n\nexport function hookCreatingChain(f1, f2) {\n // Enables chained events that takes several arguments and may modify first argument by making a modification and then returning the same instance.\n // This pattern is used in the hook(\"creating\") event.\n if (f1 === nop) return f2;\n return function () {\n var res = f1.apply(this, arguments);\n if (res !== undefined) arguments[0] = res;\n var onsuccess = this.onsuccess, // In case event listener has set this.onsuccess\n onerror = this.onerror; // In case event listener has set this.onerror\n this.onsuccess = null;\n this.onerror = null;\n var res2 = f2.apply(this, arguments);\n if (onsuccess) this.onsuccess = this.onsuccess ? callBoth(onsuccess, this.onsuccess) : onsuccess;\n if (onerror) this.onerror = this.onerror ? callBoth(onerror, this.onerror) : onerror;\n return res2 !== undefined ? res2 : res;\n };\n}\n\nexport function hookDeletingChain(f1, f2) {\n if (f1 === nop) return f2;\n return function () {\n f1.apply(this, arguments);\n var onsuccess = this.onsuccess, // In case event listener has set this.onsuccess\n onerror = this.onerror; // In case event listener has set this.onerror\n this.onsuccess = this.onerror = null;\n f2.apply(this, arguments);\n if (onsuccess) this.onsuccess = this.onsuccess ? callBoth(onsuccess, this.onsuccess) : onsuccess;\n if (onerror) this.onerror = this.onerror ? callBoth(onerror, this.onerror) : onerror;\n };\n}\n\nexport function hookUpdatingChain(f1, f2) {\n if (f1 === nop) return f2;\n return function (modifications) {\n var res = f1.apply(this, arguments);\n extend(modifications, res); // If f1 returns new modifications, extend caller's modifications with the result before calling next in chain.\n var onsuccess = this.onsuccess, // In case event listener has set this.onsuccess\n onerror = this.onerror; // In case event listener has set this.onerror\n this.onsuccess = null;\n this.onerror = null;\n var res2 = f2.apply(this, arguments);\n if (onsuccess) this.onsuccess = this.onsuccess ? callBoth(onsuccess, this.onsuccess) : onsuccess;\n if (onerror) this.onerror = this.onerror ? callBoth(onerror, this.onerror) : onerror;\n return res === undefined ?\n (res2 === undefined ? undefined : res2) :\n (extend(res, res2));\n };\n}\n\nexport function reverseStoppableEventChain(f1, f2) {\n if (f1 === nop) return f2;\n return function () {\n if (f2.apply(this, arguments) === false) return false;\n return f1.apply(this, arguments);\n };\n}\n\nexport function nonStoppableEventChain(f1, f2) {\n if (f1 === nop) return f2;\n return function () {\n f1.apply(this, arguments);\n f2.apply(this, arguments);\n };\n}\n\nexport function promisableChain(f1, f2) {\n if (f1 === nop) return f2;\n return function () {\n var res = f1.apply(this, arguments);\n if (res && typeof res.then === 'function') {\n var thiz = this,\n i = arguments.length,\n args = new Array(i);\n while (i--) args[i] = arguments[i];\n return res.then(function () {\n return f2.apply(thiz, args);\n });\n }\n return f2.apply(this, arguments);\n };\n}\n","/*\n * Copyright (c) 2014-2017 David Fahlander\n * Apache License Version 2.0, January 2004, http://www.apache.org/licenses/LICENSE-2.0\n */\nimport { _global } from '../globals/global';\nimport {tryCatch, props, setProp, _global,\n getPropertyDescriptor, getArrayOf, extend, getProto} from '../functions/utils';\nimport {nop, callBoth, mirror} from '../functions/chaining-functions';\nimport {debug, prettyStack, getErrorWithStack} from './debug';\nimport {exceptions} from '../errors';\n\n//\n// Promise and Zone (PSD) for Dexie library\n//\n// I started out writing this Promise class by copying promise-light (https://github.com/taylorhakes/promise-light) by\n// https://github.com/taylorhakes - an A+ and ECMASCRIPT 6 compliant Promise implementation.\n//\n// In previous versions this was fixed by not calling setTimeout when knowing that the resolve() or reject() came from another\n// tick. In Dexie v1.4.0, I've rewritten the Promise class entirely. Just some fragments of promise-light is left. I use\n// another strategy now that simplifies everything a lot: to always execute callbacks in a new micro-task, but have an own micro-task\n// engine that is indexedDB compliant across all browsers.\n// Promise class has also been optimized a lot with inspiration from bluebird - to avoid closures as much as possible.\n// Also with inspiration from bluebird, asyncronic stacks in debug mode.\n//\n// Specific non-standard features of this Promise class:\n// * Custom zone support (a.k.a. PSD) with ability to keep zones also when using native promises as well as\n// native async / await.\n// * Promise.follow() method built upon the custom zone engine, that allows user to track all promises created from current stack frame\n// and below + all promises that those promises creates or awaits.\n// * Detect any unhandled promise in a PSD-scope (PSD.onunhandled). \n//\n// David Fahlander, https://github.com/dfahlander\n//\n\n// Just a pointer that only this module knows about.\n// Used in Promise constructor to emulate a private constructor.\nvar INTERNAL = {};\n\n// Async stacks (long stacks) must not grow infinitely.\nconst\n LONG_STACKS_CLIP_LIMIT = 100,\n // When calling error.stack or promise.stack, limit the number of asyncronic stacks to print out. \n MAX_LONG_STACKS = 20,\n ZONE_ECHO_LIMIT = 100,\n [resolvedNativePromise, nativePromiseProto, resolvedGlobalPromise] = typeof Promise === 'undefined' ?\n [] :\n (()=>{\n let globalP = Promise.resolve();\n if (typeof crypto === 'undefined' || !crypto.subtle)\n return [globalP, getProto(globalP), globalP];\n // Generate a native promise (as window.Promise may have been patched)\n const nativeP = crypto.subtle.digest(\"SHA-512\", new Uint8Array([0]));\n return [\n nativeP,\n getProto(nativeP),\n globalP\n ];\n })(),\n nativePromiseThen = nativePromiseProto && nativePromiseProto.then;\n\nexport const NativePromise = resolvedNativePromise && resolvedNativePromise.constructor;\nconst patchGlobalPromise = !!resolvedGlobalPromise;\n\nvar stack_being_generated = false;\n\n/* The default function used only for the very first promise in a promise chain.\n As soon as then promise is resolved or rejected, all next tasks will be executed in micro ticks\n emulated in this module. For indexedDB compatibility, this means that every method needs to \n execute at least one promise before doing an indexedDB operation. Dexie will always call \n db.ready().then() for every operation to make sure the indexedDB event is started in an\n indexedDB-compatible emulated micro task loop.\n*/\nvar schedulePhysicalTick = resolvedGlobalPromise ?\n () => {resolvedGlobalPromise.then(physicalTick);}\n :\n _global.setImmediate ? \n // setImmediate supported. Those modern platforms also supports Function.bind().\n setImmediate.bind(null, physicalTick) :\n _global.MutationObserver ?\n // MutationObserver supported\n () => {\n var hiddenDiv = document.createElement(\"div\");\n (new MutationObserver(() => {\n physicalTick();\n hiddenDiv = null;\n })).observe(hiddenDiv, { attributes: true });\n hiddenDiv.setAttribute('i', '1');\n } :\n // No support for setImmediate or MutationObserver. No worry, setTimeout is only called\n // once time. Every tick that follows will be our emulated micro tick.\n // Could have uses setTimeout.bind(null, 0, physicalTick) if it wasnt for that FF13 and below has a bug \n ()=>{setTimeout(physicalTick,0);};\n\n// Configurable through Promise.scheduler.\n// Don't export because it would be unsafe to let unknown\n// code call it unless they do try..catch within their callback.\n// This function can be retrieved through getter of Promise.scheduler though,\n// but users must not do Promise.scheduler = myFuncThatThrowsException\nvar asap = function (callback, args) {\n microtickQueue.push([callback, args]);\n if (needsNewPhysicalTick) {\n schedulePhysicalTick();\n needsNewPhysicalTick = false;\n }\n};\n\nvar isOutsideMicroTick = true, // True when NOT in a virtual microTick.\n needsNewPhysicalTick = true, // True when a push to microtickQueue must also schedulePhysicalTick()\n unhandledErrors = [], // Rejected promises that has occured. Used for triggering 'unhandledrejection'.\n rejectingErrors = [], // Tracks if errors are being re-rejected during onRejected callback.\n currentFulfiller = null,\n rejectionMapper = mirror; // Remove in next major when removing error mapping of DOMErrors and DOMExceptions\n \nexport var globalPSD = {\n id: 'global',\n global: true,\n ref: 0,\n unhandleds: [],\n onunhandled: globalError,\n pgp: false,\n env: {},\n finalize: function () {\n this.unhandleds.forEach(uh => {\n try {\n globalError(uh[0], uh[1]);\n } catch (e) {}\n });\n }\n};\n\nexport var PSD = globalPSD;\n\nexport var microtickQueue = []; // Callbacks to call in this or next physical tick.\nexport var numScheduledCalls = 0; // Number of listener-calls left to do in this physical tick.\nexport var tickFinalizers = []; // Finalizers to call when there are no more async calls scheduled within current physical tick.\n\nexport default function DexiePromise(fn) {\n if (typeof this !== 'object') throw new TypeError('Promises must be constructed via new'); \n this._listeners = [];\n this.onuncatched = nop; // Deprecate in next major. Not needed. Better to use global error handler.\n \n // A library may set `promise._lib = true;` after promise is created to make resolve() or reject()\n // execute the microtask engine implicitely within the call to resolve() or reject().\n // To remain A+ compliant, a library must only set `_lib=true` if it can guarantee that the stack\n // only contains library code when calling resolve() or reject().\n // RULE OF THUMB: ONLY set _lib = true for promises explicitely resolving/rejecting directly from\n // global scope (event handler, timer etc)!\n this._lib = false;\n // Current async scope\n var psd = (this._PSD = PSD);\n\n if (debug) {\n this._stackHolder = getErrorWithStack();\n this._prev = null;\n this._numPrev = 0; // Number of previous promises (for long stacks)\n }\n \n if (typeof fn !== 'function') {\n if (fn !== INTERNAL) throw new TypeError('Not a function');\n // Private constructor (INTERNAL, state, value).\n // Used internally by Promise.resolve() and Promise.reject().\n this._state = arguments[1];\n this._value = arguments[2];\n if (this._state === false)\n handleRejection(this, this._value); // Map error, set stack and addPossiblyUnhandledError().\n return;\n }\n \n this._state = null; // null (=pending), false (=rejected) or true (=resolved)\n this._value = null; // error or result\n ++psd.ref; // Refcounting current scope\n executePromiseTask(this, fn);\n}\n\n// Prepare a property descriptor to put onto Promise.prototype.then\nconst thenProp = {\n get: function() {\n var psd = PSD, microTaskId = totalEchoes;\n\n function then (onFulfilled, onRejected) {\n var possibleAwait = !psd.global && (psd !== PSD || microTaskId !== totalEchoes);\n const cleanup = possibleAwait && !decrementExpectedAwaits();\n var rv = new DexiePromise((resolve, reject) => {\n propagateToListener(this, new Listener(\n nativeAwaitCompatibleWrap(onFulfilled, psd, possibleAwait, cleanup),\n nativeAwaitCompatibleWrap(onRejected, psd, possibleAwait, cleanup),\n resolve,\n reject,\n psd));\n });\n debug && linkToPreviousPromise(rv, this);\n return rv;\n }\n\n then.prototype = INTERNAL; // For idempotense, see setter below.\n\n return then;\n },\n // Be idempotent and allow another framework (such as zone.js or another instance of a Dexie.Promise module) to replace Promise.prototype.then\n // and when that framework wants to restore the original property, we must identify that and restore the original property descriptor.\n set: function (value) {\n setProp (this, 'then', value && value.prototype === INTERNAL ?\n thenProp : // Restore to original property descriptor.\n {\n get: function(){\n return value; // Getter returning provided value (behaves like value is just changed)\n },\n set: thenProp.set // Keep a setter that is prepared to restore original.\n }\n );\n }\n};\n\nprops(DexiePromise.prototype, {\n then: thenProp, // Defined above.\n _then: function (onFulfilled, onRejected) {\n // A little tinier version of then() that don't have to create a resulting promise.\n propagateToListener(this, new Listener(null, null, onFulfilled, onRejected, PSD)); \n },\n\n catch: function (onRejected) {\n if (arguments.length === 1) return this.then(null, onRejected);\n // First argument is the Error type to catch\n var type = arguments[0],\n handler = arguments[1];\n return typeof type === 'function' ? this.then(null, err =>\n // Catching errors by its constructor type (similar to java / c++ / c#)\n // Sample: promise.catch(TypeError, function (e) { ... });\n err instanceof type ? handler(err) : PromiseReject(err))\n : this.then(null, err =>\n // Catching errors by the error.name property. Makes sense for indexedDB where error type\n // is always DOMError but where e.name tells the actual error type.\n // Sample: promise.catch('ConstraintError', function (e) { ... });\n err && err.name === type ? handler(err) : PromiseReject(err));\n },\n\n finally: function (onFinally) {\n return this.then(value => {\n onFinally();\n return value;\n }, err => {\n onFinally();\n return PromiseReject(err);\n });\n },\n \n stack: {\n get: function() {\n if (this._stack) return this._stack;\n try {\n stack_being_generated = true;\n var stacks = getStack (this, [], MAX_LONG_STACKS);\n var stack = stacks.join(\"\\nFrom previous: \");\n if (this._state !== null) this._stack = stack; // Stack may be updated on reject.\n return stack;\n } finally {\n stack_being_generated = false;\n }\n }\n },\n\n timeout: function (ms, msg) {\n return ms < Infinity ?\n new DexiePromise((resolve, reject) => {\n var handle = setTimeout(() => reject(new exceptions.Timeout(msg)), ms);\n this.then(resolve, reject).finally(clearTimeout.bind(null, handle));\n }) : this;\n }\n});\n\nif (typeof Symbol !== 'undefined' && Symbol.toStringTag)\n setProp(DexiePromise.prototype, Symbol.toStringTag, 'Dexie.Promise');\n\n// Now that Promise.prototype is defined, we have all it takes to set globalPSD.env.\n// Environment globals snapshotted on leaving global zone\nglobalPSD.env = snapShot();\n\nfunction Listener(onFulfilled, onRejected, resolve, reject, zone) {\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.resolve = resolve;\n this.reject = reject;\n this.psd = zone;\n}\n\n// Promise Static Properties\nprops (DexiePromise, {\n all: function () {\n var values = getArrayOf.apply(null, arguments) // Supports iterables, implicit arguments and array-like.\n .map(onPossibleParallellAsync); // Handle parallell async/awaits \n return new DexiePromise(function (resolve, reject) {\n if (values.length === 0) resolve([]);\n var remaining = values.length;\n values.forEach((a,i) => DexiePromise.resolve(a).then(x => {\n values[i] = x;\n if (!--remaining) resolve(values);\n }, reject));\n });\n },\n \n resolve: value => {\n if (value instanceof DexiePromise) return value;\n if (value && typeof value.then === 'function') return new DexiePromise((resolve, reject)=>{\n value.then(resolve, reject);\n });\n var rv = new DexiePromise(INTERNAL, true, value);\n linkToPreviousPromise(rv, currentFulfiller);\n return rv;\n },\n \n reject: PromiseReject,\n \n race: function () {\n var values = getArrayOf.apply(null, arguments).map(onPossibleParallellAsync);\n return new DexiePromise((resolve, reject) => {\n values.map(value => DexiePromise.resolve(value).then(resolve, reject));\n });\n },\n\n PSD: {\n get: ()=>PSD,\n set: value => PSD = value\n },\n\n totalEchoes: {get: ()=>totalEchoes},\n\n //task: {get: ()=>task},\n \n newPSD: newScope,\n \n usePSD: usePSD,\n \n scheduler: {\n get: () => asap,\n set: value => {asap = value}\n },\n \n rejectionMapper: {\n get: () => rejectionMapper,\n set: value => {rejectionMapper = value;} // Map reject failures\n },\n \n follow: (fn, zoneProps) => {\n return new DexiePromise((resolve, reject) => {\n return newScope((resolve, reject) => {\n var psd = PSD;\n psd.unhandleds = []; // For unhandled standard- or 3rd party Promises. Checked at psd.finalize()\n psd.onunhandled = reject; // Triggered directly on unhandled promises of this library.\n psd.finalize = callBoth(function () {\n // Unhandled standard or 3rd part promises are put in PSD.unhandleds and\n // examined upon scope completion while unhandled rejections in this Promise\n // will trigger directly through psd.onunhandled\n run_at_end_of_this_or_next_physical_tick(()=>{\n this.unhandleds.length === 0 ? resolve() : reject(this.unhandleds[0]);\n });\n }, psd.finalize);\n fn();\n }, zoneProps, resolve, reject);\n });\n }\n});\n\nif (NativePromise) {\n if (NativePromise.allSettled) setProp (DexiePromise, \"allSettled\", function() {\n const possiblePromises = getArrayOf.apply(null, arguments).map(onPossibleParallellAsync);\n return new DexiePromise(resolve => {\n if (possiblePromises.length === 0) resolve([]);\n let remaining = possiblePromises.length;\n const results = new Array(remaining);\n possiblePromises.forEach((p, i) => DexiePromise.resolve(p).then(\n value => results[i] = {status: \"fulfilled\", value},\n reason => results[i] = {status: \"rejected\", reason})\n .then(()=>--remaining || resolve(results)));\n });\n });\n if (NativePromise.any && typeof AggregateError !== 'undefined') setProp(DexiePromise, \"any\", function() {\n const possiblePromises = getArrayOf.apply(null, arguments).map(onPossibleParallellAsync);\n return new DexiePromise((resolve, reject) => {\n if (possiblePromises.length === 0) reject(new AggregateError([]));\n let remaining = possiblePromises.length;\n const failures = new Array(remaining);\n possiblePromises.forEach((p, i) => DexiePromise.resolve(p).then(\n value => resolve(value),\n failure => {\n failures[i] = failure;\n if (!--remaining) reject(new AggregateError(failures));\n }));\n });\n });\n}\n\n/**\n* Take a potentially misbehaving resolver function and make sure\n* onFulfilled and onRejected are only called once.\n*\n* Makes no guarantees about asynchrony.\n*/\nfunction executePromiseTask (promise, fn) {\n // Promise Resolution Procedure:\n // https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n try {\n fn(value => {\n if (promise._state !== null) return; // Already settled\n if (value === promise) throw new TypeError('A promise cannot be resolved with itself.');\n var shouldExecuteTick = promise._lib && beginMicroTickScope();\n if (value && typeof value.then === 'function') {\n executePromiseTask(promise, (resolve, reject) => {\n value instanceof DexiePromise ?\n value._then(resolve, reject) :\n value.then(resolve, reject);\n });\n } else {\n promise._state = true;\n promise._value = value;\n propagateAllListeners(promise);\n }\n if (shouldExecuteTick) endMicroTickScope();\n }, handleRejection.bind(null, promise)); // If Function.bind is not supported. Exception is handled in catch below\n } catch (ex) {\n handleRejection(promise, ex);\n }\n}\n\nfunction handleRejection (promise, reason) {\n rejectingErrors.push(reason);\n if (promise._state !== null) return;\n var shouldExecuteTick = promise._lib && beginMicroTickScope();\n reason = rejectionMapper(reason);\n promise._state = false;\n promise._value = reason;\n debug && reason !== null && typeof reason === 'object' && !reason._promise && tryCatch(()=>{\n var origProp = getPropertyDescriptor(reason, \"stack\"); \n reason._promise = promise; \n setProp(reason, \"stack\", {\n get: () =>\n stack_being_generated ?\n origProp && (origProp.get ?\n origProp.get.apply(reason) :\n origProp.value) :\n promise.stack\n });\n });\n // Add the failure to a list of possibly uncaught errors\n addPossiblyUnhandledError(promise);\n propagateAllListeners(promise);\n if (shouldExecuteTick) endMicroTickScope();\n}\n\nfunction propagateAllListeners (promise) {\n //debug && linkToPreviousPromise(promise);\n var listeners = promise._listeners;\n promise._listeners = [];\n for (var i = 0, len = listeners.length; i < len; ++i) {\n propagateToListener(promise, listeners[i]);\n }\n var psd = promise._PSD;\n --psd.ref || psd.finalize(); // if psd.ref reaches zero, call psd.finalize();\n if (numScheduledCalls === 0) {\n // If numScheduledCalls is 0, it means that our stack is not in a callback of a scheduled call,\n // and that no deferreds where listening to this rejection or success.\n // Since there is a risk that our stack can contain application code that may\n // do stuff after this code is finished that may generate new calls, we cannot\n // call finalizers here.\n ++numScheduledCalls;\n asap(()=>{\n if (--numScheduledCalls === 0) finalizePhysicalTick(); // Will detect unhandled errors\n }, []);\n }\n}\n\nfunction propagateToListener(promise, listener) {\n if (promise._state === null) {\n promise._listeners.push(listener);\n return;\n }\n\n var cb = promise._state ? listener.onFulfilled : listener.onRejected;\n if (cb === null) {\n // This Listener doesnt have a listener for the event being triggered (onFulfilled or onReject) so lets forward the event to any eventual listeners on the Promise instance returned by then() or catch()\n return (promise._state ? listener.resolve : listener.reject) (promise._value);\n }\n ++listener.psd.ref;\n ++numScheduledCalls;\n asap (callListener, [cb, promise, listener]);\n}\n\nfunction callListener (cb, promise, listener) {\n try {\n // Set static variable currentFulfiller to the promise that is being fullfilled,\n // so that we connect the chain of promises (for long stacks support)\n currentFulfiller = promise;\n \n // Call callback and resolve our listener with it's return value.\n var ret, value = promise._value;\n \n if (promise._state) {\n // cb is onResolved\n ret = cb (value);\n } else {\n // cb is onRejected\n if (rejectingErrors.length) rejectingErrors = [];\n ret = cb(value);\n if (rejectingErrors.indexOf(value) === -1)\n markErrorAsHandled(promise); // Callback didnt do Promise.reject(err) nor reject(err) onto another promise.\n }\n listener.resolve(ret);\n } catch (e) {\n // Exception thrown in callback. Reject our listener.\n listener.reject(e);\n } finally {\n // Restore env and currentFulfiller.\n currentFulfiller = null;\n if (--numScheduledCalls === 0) finalizePhysicalTick();\n --listener.psd.ref || listener.psd.finalize();\n }\n}\n\nfunction getStack (promise, stacks, limit) {\n if (stacks.length === limit) return stacks;\n var stack = \"\";\n if (promise._state === false) {\n var failure = promise._value,\n errorName,\n message;\n \n if (failure != null) {\n errorName = failure.name || \"Error\";\n message = failure.message || failure;\n stack = prettyStack(failure, 0);\n } else {\n errorName = failure; // If error is undefined or null, show that.\n message = \"\";\n }\n stacks.push(errorName + (message ? \": \" + message : \"\") + stack);\n }\n if (debug) {\n stack = prettyStack(promise._stackHolder, 2);\n if (stack && stacks.indexOf(stack) === -1) stacks.push(stack);\n if (promise._prev) getStack(promise._prev, stacks, limit);\n }\n return stacks;\n}\n\nfunction linkToPreviousPromise(promise, prev) {\n // Support long stacks by linking to previous completed promise.\n var numPrev = prev ? prev._numPrev + 1 : 0;\n if (numPrev < LONG_STACKS_CLIP_LIMIT) { // Prohibit infinite Promise loops to get an infinite long memory consuming \"tail\".\n promise._prev = prev;\n promise._numPrev = numPrev;\n }\n}\n\n/* The callback to schedule with setImmediate() or setTimeout().\n It runs a virtual microtick and executes any callback registered in microtickQueue.\n */\nfunction physicalTick() {\n beginMicroTickScope() && endMicroTickScope();\n}\n\nexport function beginMicroTickScope() {\n var wasRootExec = isOutsideMicroTick;\n isOutsideMicroTick = false;\n needsNewPhysicalTick = false;\n return wasRootExec;\n}\n\n/* Executes micro-ticks without doing try..catch.\n This can be possible because we only use this internally and\n the registered functions are exception-safe (they do try..catch\n internally before calling any external method). If registering\n functions in the microtickQueue that are not exception-safe, this\n would destroy the framework and make it instable. So we don't export\n our asap method.\n*/\nexport function endMicroTickScope() {\n var callbacks, i, l;\n do {\n while (microtickQueue.length > 0) {\n callbacks = microtickQueue;\n microtickQueue = [];\n l = callbacks.length;\n for (i = 0; i < l; ++i) {\n var item = callbacks[i];\n item[0].apply(null, item[1]);\n }\n }\n } while (microtickQueue.length > 0);\n isOutsideMicroTick = true;\n needsNewPhysicalTick = true;\n}\n\nfunction finalizePhysicalTick() {\n var unhandledErrs = unhandledErrors;\n unhandledErrors = [];\n unhandledErrs.forEach(p => {\n p._PSD.onunhandled.call(null, p._value, p);\n });\n var finalizers = tickFinalizers.slice(0); // Clone first because finalizer may remove itself from list.\n var i = finalizers.length;\n while (i) finalizers[--i](); \n}\n\nfunction run_at_end_of_this_or_next_physical_tick (fn) {\n function finalizer() {\n fn();\n tickFinalizers.splice(tickFinalizers.indexOf(finalizer), 1);\n }\n tickFinalizers.push(finalizer);\n ++numScheduledCalls;\n asap(()=>{\n if (--numScheduledCalls === 0) finalizePhysicalTick();\n }, []);\n}\n\nfunction addPossiblyUnhandledError(promise) {\n // Only add to unhandledErrors if not already there. The first one to add to this list\n // will be upon the first rejection so that the root cause (first promise in the\n // rejection chain) is the one listed.\n if (!unhandledErrors.some(p => p._value === promise._value))\n unhandledErrors.push(promise);\n}\n\nfunction markErrorAsHandled(promise) {\n // Called when a reject handled is actually being called.\n // Search in unhandledErrors for any promise whos _value is this promise_value (list\n // contains only rejected promises, and only one item per error)\n var i = unhandledErrors.length;\n while (i) if (unhandledErrors[--i]._value === promise._value) {\n // Found a promise that failed with this same error object pointer,\n // Remove that since there is a listener that actually takes care of it.\n unhandledErrors.splice(i, 1);\n return;\n }\n}\n\nfunction PromiseReject (reason) {\n return new DexiePromise(INTERNAL, false, reason);\n}\n\nexport function wrap (fn, errorCatcher) {\n var psd = PSD;\n return function() {\n var wasRootExec = beginMicroTickScope(),\n outerScope = PSD;\n\n try {\n switchToZone(psd, true);\n return fn.apply(this, arguments);\n } catch (e) {\n errorCatcher && errorCatcher(e);\n } finally {\n switchToZone(outerScope, false);\n if (wasRootExec) endMicroTickScope();\n }\n };\n}\n\n\n//\n// variables used for native await support\n//\nconst task = { awaits: 0, echoes: 0, id: 0}; // The ongoing macro-task when using zone-echoing.\nvar taskCounter = 0; // ID counter for macro tasks.\nvar zoneStack = []; // Stack of left zones to restore asynchronically.\nvar zoneEchoes = 0; // zoneEchoes is a must in order to persist zones between native await expressions.\nvar totalEchoes = 0; // ID counter for micro-tasks. Used to detect possible native await in our Promise.prototype.then.\n\n\nvar zone_id_counter = 0;\nexport function newScope (fn, props, a1, a2) {\n var parent = PSD,\n psd = Object.create(parent);\n psd.parent = parent;\n psd.ref = 0;\n psd.global = false;\n psd.id = ++zone_id_counter;\n // Prepare for promise patching (done in usePSD):\n var globalEnv = globalPSD.env;\n psd.env = patchGlobalPromise ? {\n Promise: DexiePromise, // Changing window.Promise could be omitted for Chrome and Edge, where IDB+Promise plays well!\n PromiseProp: {value: DexiePromise, configurable: true, writable: true},\n all: DexiePromise.all,\n race: DexiePromise.race,\n allSettled: DexiePromise.allSettled,\n any: DexiePromise.any,\n resolve: DexiePromise.resolve,\n reject: DexiePromise.reject,\n nthen: getPatchedPromiseThen (globalEnv.nthen, psd), // native then\n gthen: getPatchedPromiseThen (globalEnv.gthen, psd) // global then\n } : {};\n if (props) extend(psd, props);\n \n // unhandleds and onunhandled should not be specifically set here.\n // Leave them on parent prototype.\n // unhandleds.push(err) will push to parent's prototype\n // onunhandled() will call parents onunhandled (with this scope's this-pointer though!)\n ++parent.ref;\n psd.finalize = function () {\n --this.parent.ref || this.parent.finalize();\n }\n var rv = usePSD (psd, fn, a1, a2);\n if (psd.ref === 0) psd.finalize();\n return rv;\n}\n\n// Function to call if scopeFunc returns NativePromise\n// Also for each NativePromise in the arguments to Promise.all()\nexport function incrementExpectedAwaits() {\n if (!task.id) task.id = ++taskCounter;\n ++task.awaits;\n task.echoes += ZONE_ECHO_LIMIT;\n return task.id;\n}\n\n// Function to call when 'then' calls back on a native promise where onAwaitExpected() had been called.\n// Also call this when a native await calls then method on a promise. In that case, don't supply\n// sourceTaskId because we already know it refers to current task.\nexport function decrementExpectedAwaits() {\n if (!task.awaits) return false;\n if (--task.awaits === 0) task.id = 0;\n task.echoes = task.awaits * ZONE_ECHO_LIMIT; // Will reset echoes to 0 if awaits is 0.\n return true;\n}\n\nif ((''+nativePromiseThen).indexOf('[native code]') === -1) {\n // If the native promise' prototype is patched, we cannot rely on zone echoing.\n // Disable that here:\n incrementExpectedAwaits = decrementExpectedAwaits = nop;\n}\n\n// Call from Promise.all() and Promise.race()\nexport function onPossibleParallellAsync (possiblePromise) {\n if (task.echoes && possiblePromise && possiblePromise.constructor === NativePromise) {\n incrementExpectedAwaits(); \n return possiblePromise.then(x => {\n decrementExpectedAwaits();\n return x;\n }, e => {\n decrementExpectedAwaits();\n return rejection(e);\n });\n }\n return possiblePromise;\n}\n\nfunction zoneEnterEcho(targetZone) {\n ++totalEchoes;\n //console.log(\"Total echoes \", totalEchoes);\n if (!task.echoes || --task.echoes === 0) {\n task.echoes = task.id = 0; // Cancel zone echoing.\n }\n\n zoneStack.push(PSD);\n switchToZone(targetZone, true);\n}\n\nfunction zoneLeaveEcho() {\n var zone = zoneStack[zoneStack.length-1];\n zoneStack.pop();\n switchToZone(zone, false);\n}\n\nfunction switchToZone (targetZone, bEnteringZone) {\n var currentZone = PSD;\n if (bEnteringZone ? task.echoes && (!zoneEchoes++ || targetZone !== PSD) : zoneEchoes && (!--zoneEchoes || targetZone !== PSD)) {\n // Enter or leave zone asynchronically as well, so that tasks initiated during current tick\n // will be surrounded by the zone when they are invoked.\n enqueueNativeMicroTask(bEnteringZone ? zoneEnterEcho.bind(null, targetZone) : zoneLeaveEcho);\n }\n if (targetZone === PSD) return;\n\n PSD = targetZone; // The actual zone switch occurs at this line.\n\n // Snapshot on every leave from global zone.\n if (currentZone === globalPSD) globalPSD.env = snapShot();\n\n if (patchGlobalPromise) {\n // Let's patch the global and native Promises (may be same or may be different)\n var GlobalPromise = globalPSD.env.Promise;\n // Swich environments (may be PSD-zone or the global zone. Both apply.)\n var targetEnv = targetZone.env;\n\n // Change Promise.prototype.then for native and global Promise (they MAY differ on polyfilled environments, but both can be accessed)\n // Must be done on each zone change because the patched method contains targetZone in its closure.\n nativePromiseProto.then = targetEnv.nthen;\n GlobalPromise.prototype.then = targetEnv.gthen;\n\n if (currentZone.global || targetZone.global) {\n // Leaving or entering global zone. It's time to patch / restore global Promise.\n\n // Set this Promise to window.Promise so that transiled async functions will work on Firefox, Safari and IE, as well as with Zonejs and angular.\n Object.defineProperty(_global, 'Promise', targetEnv.PromiseProp);\n\n // Support Promise.all() etc to work indexedDB-safe also when people are including es6-promise as a module (they might\n // not be accessing global.Promise but a local reference to it)\n GlobalPromise.all = targetEnv.all;\n GlobalPromise.race = targetEnv.race;\n GlobalPromise.resolve = targetEnv.resolve;\n GlobalPromise.reject = targetEnv.reject;\n if (targetEnv.allSettled) GlobalPromise.allSettled = targetEnv.allSettled;\n if (targetEnv.any) GlobalPromise.any = targetEnv.any;\n }\n }\n}\n\nfunction snapShot () {\n var GlobalPromise = _global.Promise;\n return patchGlobalPromise ? {\n Promise: GlobalPromise,\n PromiseProp: Object.getOwnPropertyDescriptor(_global, \"Promise\"),\n all: GlobalPromise.all,\n race: GlobalPromise.race,\n allSettled: GlobalPromise.allSettled,\n any: GlobalPromise.any,\n resolve: GlobalPromise.resolve,\n reject: GlobalPromise.reject,\n nthen: nativePromiseProto.then,\n gthen: GlobalPromise.prototype.then\n } : {};\n}\n\nexport function usePSD (psd, fn, a1, a2, a3) {\n var outerScope = PSD;\n try {\n switchToZone(psd, true);\n return fn(a1, a2, a3);\n } finally {\n switchToZone(outerScope, false);\n }\n}\n\nfunction enqueueNativeMicroTask (job) {\n //\n // Precondition: nativePromiseThen !== undefined\n //\n nativePromiseThen.call(resolvedNativePromise, job);\n}\n\nfunction nativeAwaitCompatibleWrap(fn, zone, possibleAwait, cleanup) {\n return typeof fn !== 'function' ? fn : function () {\n var outerZone = PSD;\n if (possibleAwait) incrementExpectedAwaits();\n switchToZone(zone, true);\n try {\n return fn.apply(this, arguments);\n } finally {\n switchToZone(outerZone, false);\n if (cleanup) enqueueNativeMicroTask(decrementExpectedAwaits);\n }\n };\n}\n\nfunction getPatchedPromiseThen (origThen, zone) {\n return function (onResolved, onRejected) {\n return origThen.call(this,\n nativeAwaitCompatibleWrap(onResolved, zone),\n nativeAwaitCompatibleWrap(onRejected, zone));\n };\n}\n\nconst UNHANDLEDREJECTION = \"unhandledrejection\";\n\nfunction globalError(err, promise) {\n var rv;\n try {\n rv = promise.onuncatched(err);\n } catch (e) {}\n if (rv !== false) try {\n var event, eventData = {promise: promise, reason: err};\n if (_global.document && document.createEvent) {\n event = document.createEvent('Event');\n event.initEvent(UNHANDLEDREJECTION, true, true);\n extend(event, eventData);\n } else if (_global.CustomEvent) {\n event = new CustomEvent(UNHANDLEDREJECTION, {detail: eventData});\n extend(event, eventData);\n }\n if (event && _global.dispatchEvent) {\n dispatchEvent(event);\n if (!_global.PromiseRejectionEvent && _global.onunhandledrejection)\n // No native support for PromiseRejectionEvent but user has set window.onunhandledrejection. Manually call it.\n try {_global.onunhandledrejection(event);} catch (_) {}\n }\n if (debug && event && !event.defaultPrevented) {\n console.warn(`Unhandled rejection: ${err.stack || err}`);\n }\n } catch (e) {}\n}\n\nexport var rejection = DexiePromise.reject;\n\nexport {DexiePromise};\n","import { PSD, rejection, newScope } from \"../helpers/promise\";\nimport { DexieOptions } from \"../public/types/dexie-constructor\";\nimport { errnames, exceptions } from \"../errors\";\nimport { nop } from \"./chaining-functions\";\nimport { Transaction } from \"../classes/transaction\";\nimport { Dexie } from '../classes/dexie';\n\n/* Generate a temporary transaction when db operations are done outside a transaction scope.\n*/\nexport function tempTransaction (\n db: Dexie,\n mode: IDBTransactionMode,\n storeNames: string[],\n fn: (resolve, reject, trans: Transaction) => any)\n // Last argument is \"writeLocked\". But this doesnt apply to oneshot direct db operations, so we ignore it.\n{\n if (!db.idbdb || (!db._state.openComplete && (!PSD.letThrough && !db._vip))) {\n if (db._state.openComplete) {\n // db.idbdb is falsy but openComplete is true. Must have been an exception durin open.\n // Don't wait for openComplete as it would lead to infinite loop.\n return rejection(new exceptions.DatabaseClosed(db._state.dbOpenError));\n }\n if (!db._state.isBeingOpened) {\n if (!db._options.autoOpen)\n return rejection(new exceptions.DatabaseClosed());\n db.open().catch(nop); // Open in background. If if fails, it will be catched by the final promise anyway.\n }\n return db._state.dbReadyPromise.then(() => tempTransaction(db, mode, storeNames, fn));\n } else {\n var trans = db._createTransaction(mode, storeNames, db._dbSchema);\n try {\n trans.create();\n db._state.PR1398_maxLoop = 3;\n } catch (ex) {\n if (ex.name === errnames.InvalidState && db.isOpen() && --db._state.PR1398_maxLoop > 0) {\n console.warn('Dexie: Need to reopen db');\n db._close();\n return db.open().then(()=>tempTransaction(db, mode, storeNames, fn));\n }\n return rejection(ex);\n }\n return trans._promise(mode, (resolve, reject) => {\n return newScope(() => { // OPTIMIZATION POSSIBLE? newScope() not needed because it's already done in _promise.\n PSD.trans = trans;\n return fn(resolve, reject, trans);\n });\n }).then(result => {\n // Instead of resolving value directly, wait with resolving it until transaction has completed.\n // Otherwise the data would not be in the DB if requesting it in the then() operation.\n // Specifically, to ensure that the following expression will work:\n //\n // db.friends.put({name: \"Arne\"}).then(function () {\n // db.friends.where(\"name\").equals(\"Arne\").count(function(count) {\n // assert (count === 1);\n // });\n // });\n //\n return trans._completion.then(() => result);\n });/*.catch(err => { // Don't do this as of now. If would affect bulk- and modify methods in a way that could be more intuitive. But wait! Maybe change in next major.\n trans._reject(err);\n return rejection(err);\n });*/\n }\n}\n","import { Dexie } from \"../classes/dexie\";\n\nexport const DEXIE_VERSION = '{version}'; // Replaced by build-script.\nexport const maxString = String.fromCharCode(65535);\nexport const minKey = -Infinity; // minKey can be constant. maxKey must be a prop of Dexie (_maxKey)\nexport const INVALID_KEY_ARGUMENT =\n \"Invalid key provided. Keys must be of type string, number, Date or Array.\";\nexport const STRING_EXPECTED = \"String expected.\";\nexport const connections: Dexie[] = [];\nexport const isIEOrEdge =\n typeof navigator !== 'undefined' && /(MSIE|Trident|Edge)/.test(navigator.userAgent);\nexport const hasIEDeleteObjectStoreBug = isIEOrEdge;\nexport const hangsOnDeleteLargeKeyRange = isIEOrEdge;\nexport const dexieStackFrameFilter = frame => !/(dexie\\.js|dexie\\.min\\.js)/.test(frame);\nexport const DBNAMES_DB = '__dbnames';\nexport const READONLY = 'readonly';\nexport const READWRITE = 'readwrite';\n","export function combine(filter1, filter2) {\n return filter1 ?\n filter2 ?\n function () { return filter1.apply(this, arguments) && filter2.apply(this, arguments); } :\n filter1 :\n filter2;\n}\n","import { DBCoreKeyRange, DBCoreRangeType } from '../public/types/dbcore';\n\nexport const AnyRange: DBCoreKeyRange = {\n type: DBCoreRangeType.Any,\n lower: -Infinity,\n lowerOpen: false,\n upper: [[]],\n upperOpen: false\n}\n\nexport const NeverRange: DBCoreKeyRange = {\n type: DBCoreRangeType.Never,\n lower: -Infinity,\n lowerOpen: true,\n upper: -Infinity,\n upperOpen: true\n}\n","import { deepClone, delByKeyPath, getByKeyPath } from './utils';\n\n// This workaround is needed since obj could be a custom-class instance with an\n// uninitialized keyPath. See the following comment for more context:\n// https://github.com/dfahlander/Dexie.js/issues/1280#issuecomment-823557881\nexport function workaroundForUndefinedPrimKey(keyPath: string | ArrayLike) {\n // Workaround only needed for plain non-dotted keyPaths\n return typeof keyPath === \"string\" && !/\\./.test(keyPath) \n ? (obj: object) => {\n if (obj[keyPath] === undefined && (keyPath in obj)) {\n // property exists but is undefined. This will not be liked by Indexeddb.\n // Need to remove the property before adding it but we need to clone it before\n // doing that to not be intrusive.\n obj = deepClone(obj);\n delete obj[keyPath];\n }\n return obj;\n }\n : (obj: object) => obj;\n}","import { BulkError, exceptions } from '../../errors';\nimport { Table as ITable } from '../../public/types/table';\nimport { TableSchema } from '../../public/types/table-schema';\nimport { TableHooks } from '../../public/types/table-hooks';\nimport { DexiePromise as Promise, PSD, newScope, wrap, rejection, beginMicroTickScope, endMicroTickScope } from '../../helpers/promise';\nimport { Transaction } from '../transaction';\nimport { Dexie } from '../dexie';\nimport { tempTransaction } from '../../functions/temp-transaction';\nimport { Collection } from '../collection';\nimport { isArray, keys, getByKeyPath, hasOwn, setByKeyPath, deepClone, tryCatch, arrayToObject, extend } from '../../functions/utils';\nimport { maxString } from '../../globals/constants';\nimport { combine } from '../../functions/combine';\nimport { PromiseExtended } from \"../../public/types/promise-extended\";\nimport { IndexableType } from '../../public/types/indexable-type';\nimport { debug } from '../../helpers/debug';\nimport { DBCoreTable } from '../../public/types/dbcore';\nimport { AnyRange } from '../../dbcore/keyrange';\nimport { workaroundForUndefinedPrimKey } from '../../functions/workaround-undefined-primkey';\n\n/** class Table\n * \n * https://dexie.org/docs/Table/Table\n */\nexport class Table implements ITable {\n db: Dexie;\n _tx?: Transaction;\n name: string;\n schema: TableSchema;\n hook: TableHooks;\n core: DBCoreTable;\n\n _trans(\n mode: IDBTransactionMode,\n fn: (idbtrans: IDBTransaction, dxTrans: Transaction) => PromiseLike | void,\n writeLocked?: boolean | string) : PromiseExtended\n {\n const trans: Transaction = this._tx || PSD.trans;\n const tableName = this.name;\n \n function checkTableInTransaction(resolve, reject, trans: Transaction) {\n if (!trans.schema[tableName])\n throw new exceptions.NotFound(\"Table \" + tableName + \" not part of transaction\");\n return fn(trans.idbtrans, trans);\n }\n // Surround all in a microtick scope.\n // Reason: Browsers (modern Safari + older others)\n // still as of 2018-10-10 has problems keeping a transaction\n // alive between micro ticks. Safari because if transaction\n // is created but not used in same microtick, it will go\n // away. That specific issue could be solved in DBCore\n // by opening the transaction just before using it instead.\n // But older Firefoxes and IE11 (with Promise polyfills)\n // will still have probs.\n // The beginMicrotickScope()/endMicrotickScope() works\n // in cooperation with Dexie.Promise to orchestrate\n // the micro-ticks in endMicrotickScope() rather than\n // in native engine.\n const wasRootExec = beginMicroTickScope();\n try {\n return trans && trans.db === this.db ?\n trans === PSD.trans ?\n trans._promise(mode, checkTableInTransaction, writeLocked) :\n newScope(() => trans._promise(mode, checkTableInTransaction, writeLocked), { trans: trans, transless: PSD.transless || PSD }) :\n tempTransaction(this.db, mode, [this.name], checkTableInTransaction);\n } finally {\n if (wasRootExec) endMicroTickScope();\n }\n }\n\n /** Table.get()\n * \n * https://dexie.org/docs/Table/Table.get()\n * \n **/\n get(keyOrCrit, cb?) {\n if (keyOrCrit && keyOrCrit.constructor === Object)\n return this.where(keyOrCrit as { [key: string]: IndexableType }).first(cb);\n\n return this._trans('readonly', (trans) => {\n return this.core.get({trans, key: keyOrCrit})\n .then(res => this.hook.reading.fire(res));\n }).then(cb);\n }\n\n /** Table.where()\n * \n * https://dexie.org/docs/Table/Table.where()\n * \n **/\n where(indexOrCrit: string | string[] | { [key: string]: IndexableType }) {\n if (typeof indexOrCrit === 'string')\n return new this.db.WhereClause(this, indexOrCrit);\n if (isArray(indexOrCrit))\n return new this.db.WhereClause(this, `[${indexOrCrit.join('+')}]`);\n // indexOrCrit is an object map of {[keyPath]:value} \n const keyPaths = keys(indexOrCrit);\n if (keyPaths.length === 1)\n // Only one critera. This was the easy case:\n return this\n .where(keyPaths[0])\n .equals(indexOrCrit[keyPaths[0]]);\n\n // Multiple criterias.\n // Let's try finding a compound index that matches all keyPaths in\n // arbritary order:\n const compoundIndex = this.schema.indexes.concat(this.schema.primKey).filter(ix =>\n ix.compound &&\n keyPaths.every(keyPath => ix.keyPath.indexOf(keyPath) >= 0) &&\n (ix.keyPath as string[]).every(keyPath => keyPaths.indexOf(keyPath) >= 0))[0];\n\n if (compoundIndex && this.db._maxKey !== maxString)\n // Cool! We found such compound index\n // and this browser supports compound indexes (maxKey !== maxString)!\n return this\n .where(compoundIndex.name)\n .equals((compoundIndex.keyPath as string[]).map(kp => indexOrCrit[kp]));\n\n if (!compoundIndex && debug) console.warn(\n `The query ${JSON.stringify(indexOrCrit)} on ${this.name} would benefit of a ` +\n `compound index [${keyPaths.join('+')}]`);\n\n // Ok, now let's fallback to finding at least one matching index\n // and filter the rest.\n const { idxByName } = this.schema;\n const idb = this.db._deps.indexedDB;\n\n function equals (a, b) {\n try {\n return idb.cmp(a,b) === 0; // Works with all indexable types including binary keys.\n } catch (e) {\n return false;\n }\n }\n\n const [idx, filterFunction] = keyPaths.reduce(([prevIndex, prevFilterFn], keyPath) => {\n const index = idxByName[keyPath];\n const value = indexOrCrit[keyPath];\n return [\n prevIndex || index, // idx::=Pick index of first matching keypath\n prevIndex || !index ? // filter::=null if not needed, otherwise combine function filter\n combine(\n prevFilterFn,\n index && index.multi ?\n x => {\n const prop = getByKeyPath(x, keyPath);\n return isArray(prop) && prop.some(item => equals(value, item));\n } : x => equals(value, getByKeyPath(x, keyPath)))\n : prevFilterFn\n ];\n }, [null, null]);\n\n return idx ?\n this.where(idx.name).equals(indexOrCrit[idx.keyPath])\n .filter(filterFunction) :\n compoundIndex ?\n this.filter(filterFunction) : // Has compound but browser bad. Allow filter.\n this.where(keyPaths).equals(''); // No index at all. Fail lazily with \"[a+b+c] is not indexed\"\n }\n\n /** Table.filter()\n * \n * https://dexie.org/docs/Table/Table.filter()\n * \n **/\n filter(filterFunction: (obj: any) => boolean) {\n return this.toCollection().and(filterFunction);\n }\n\n /** Table.count()\n * \n * https://dexie.org/docs/Table/Table.count()\n * \n **/\n count(thenShortcut?: any) {\n return this.toCollection().count(thenShortcut);\n }\n\n /** Table.offset()\n * \n * https://dexie.org/docs/Table/Table.offset()\n * \n **/\n offset(offset: number) {\n return this.toCollection().offset(offset);\n }\n\n /** Table.limit()\n * \n * https://dexie.org/docs/Table/Table.limit()\n * \n **/\n limit(numRows: number) {\n return this.toCollection().limit(numRows);\n }\n\n /** Table.each()\n * \n * https://dexie.org/docs/Table/Table.each()\n * \n **/\n each(callback: (obj: any, cursor: { key: IndexableType, primaryKey: IndexableType }) => any) {\n return this.toCollection().each(callback);\n }\n\n /** Table.toArray()\n * \n * https://dexie.org/docs/Table/Table.toArray()\n * \n **/\n toArray(thenShortcut?: any) {\n return this.toCollection().toArray(thenShortcut);\n }\n\n /** Table.toCollection()\n * \n * https://dexie.org/docs/Table/Table.toCollection()\n * \n **/\n toCollection() {\n return new this.db.Collection(new this.db.WhereClause(this));\n }\n\n /** Table.orderBy()\n * \n * https://dexie.org/docs/Table/Table.orderBy()\n * \n **/\n orderBy(index: string | string[]) {\n return new this.db.Collection(\n new this.db.WhereClause(this, isArray(index) ?\n `[${index.join('+')}]` :\n index));\n }\n\n /** Table.reverse()\n * \n * https://dexie.org/docs/Table/Table.reverse()\n * \n **/\n reverse(): Collection {\n return this.toCollection().reverse();\n }\n\n /** Table.mapToClass()\n * \n * https://dexie.org/docs/Table/Table.mapToClass()\n * \n **/\n mapToClass(constructor: Function) {\n this.schema.mappedClass = constructor;\n // Now, subscribe to the when(\"reading\") event to make all objects that come out from this table inherit from given class\n // no matter which method to use for reading (Table.get() or Table.where(...)... )\n const readHook = obj => {\n if (!obj) return obj; // No valid object. (Value is null). Return as is.\n // Create a new object that derives from constructor:\n const res = Object.create(constructor.prototype);\n // Clone members:\n for (var m in obj) if (hasOwn(obj, m)) try { res[m] = obj[m]; } catch (_) { }\n return res;\n };\n\n if (this.schema.readHook) {\n this.hook.reading.unsubscribe(this.schema.readHook);\n }\n this.schema.readHook = readHook;\n this.hook(\"reading\", readHook);\n return constructor;\n }\n\n /** @deprecated */\n defineClass() {\n function Class (content){\n extend(this, content);\n };\n return this.mapToClass(Class);\n }\n\n /** Table.add()\n * \n * https://dexie.org/docs/Table/Table.add()\n * \n **/\n add(obj, key?: IndexableType): PromiseExtended {\n const {auto, keyPath} = this.schema.primKey;\n let objToAdd = obj;\n if (keyPath && auto) {\n objToAdd = workaroundForUndefinedPrimKey(keyPath)(obj);\n }\n return this._trans('readwrite', trans => {\n return this.core.mutate({trans, type: 'add', keys: key != null ? [key] : null, values: [objToAdd]});\n }).then(res => res.numFailures ? Promise.reject(res.failures[0]) : res.lastResult)\n .then(lastResult => {\n if (keyPath) {\n // This part should be here for backward compatibility.\n // If ever feeling too bad about this, please wait to a new major before removing it,\n // and document the change thoroughly.\n try{setByKeyPath(obj, keyPath, lastResult);}catch(_){};\n }\n return lastResult;\n });\n }\n\n /** Table.update()\n * \n * https://dexie.org/docs/Table/Table.update()\n * \n **/\n update(keyOrObject, modifications: { [keyPath: string]: any; } | ((obj: any, ctx:{value: any, primKey: IndexableType}) => void | boolean)): PromiseExtended {\n if (typeof keyOrObject === 'object' && !isArray(keyOrObject)) {\n const key = getByKeyPath(keyOrObject, this.schema.primKey.keyPath);\n if (key === undefined) return rejection(new exceptions.InvalidArgument(\n \"Given object does not contain its primary key\"));\n // object to modify. Also modify given object with the modifications:\n // This part should be here for backward compatibility.\n // If ever feeling too bad about mutating given object, please wait to a new major before removing it,\n // and document the change thoroughly.\n try {\n if (typeof modifications !== \"function\") {\n keys(modifications).forEach(keyPath => {\n setByKeyPath(keyOrObject, keyPath, modifications[keyPath]);\n });\n } else {\n // Now since we support function argument, we should have a similar behavior here as well\n // (as long as we do this mutability stuff on the given object)\n modifications(keyOrObject, {value: keyOrObject, primKey: key});\n }\n } catch {\n // Maybe given object was frozen.\n // This part is not essential. Just move on as nothing happened...\n }\n return this.where(\":id\").equals(key).modify(modifications);\n } else {\n // key to modify\n return this.where(\":id\").equals(keyOrObject).modify(modifications);\n }\n }\n\n /** Table.put()\n * \n * https://dexie.org/docs/Table/Table.put()\n * \n **/\n put(obj, key?: IndexableType): PromiseExtended {\n const {auto, keyPath} = this.schema.primKey;\n let objToAdd = obj;\n if (keyPath && auto) {\n objToAdd = workaroundForUndefinedPrimKey(keyPath)(obj);\n }\n return this._trans(\n 'readwrite',\n trans => this.core.mutate({trans, type: 'put', values: [objToAdd], keys: key != null ? [key] : null}))\n .then(res => res.numFailures ? Promise.reject(res.failures[0]) : res.lastResult)\n .then(lastResult => {\n if (keyPath) {\n // This part should be here for backward compatibility.\n // If ever feeling too bad about this, please wait to a new major before removing it,\n // and document the change thoroughly.\n try{setByKeyPath(obj, keyPath, lastResult);}catch(_){};\n }\n return lastResult;\n });\n }\n\n /** Table.delete()\n * \n * https://dexie.org/docs/Table/Table.delete()\n * \n **/\n delete(key: IndexableType): PromiseExtended {\n return this._trans('readwrite',\n trans => this.core.mutate({trans, type: 'delete', keys: [key]}))\n .then(res => res.numFailures ? Promise.reject(res.failures[0]) : undefined);\n }\n\n /** Table.clear()\n * \n * https://dexie.org/docs/Table/Table.clear()\n * \n **/\n clear() {\n return this._trans('readwrite',\n trans => this.core.mutate({trans, type: 'deleteRange', range: AnyRange}))\n .then(res => res.numFailures ? Promise.reject(res.failures[0]) : undefined);\n }\n\n /** Table.bulkGet()\n * \n * https://dexie.org/docs/Table/Table.bulkGet()\n * \n * @param keys \n */\n bulkGet(keys: IndexableType[]) {\n return this._trans('readonly', trans => {\n return this.core.getMany({\n keys,\n trans\n }).then(result => result.map(res => this.hook.reading.fire(res)));\n });\n }\n\n /** Table.bulkAdd()\n * \n * https://dexie.org/docs/Table/Table.bulkAdd()\n * \n **/\n bulkAdd(\n objects: any[],\n keysOrOptions?: ReadonlyArray | { allKeys?: boolean },\n options?: { allKeys?: boolean }\n ) { \n const keys = Array.isArray(keysOrOptions) ? keysOrOptions : undefined;\n options = options || (keys ? undefined : keysOrOptions as { allKeys?: boolean });\n const wantResults = options ? options.allKeys : undefined;\n\n return this._trans('readwrite', trans => {\n const {auto, keyPath} = this.schema.primKey;\n if (keyPath && keys)\n throw new exceptions.InvalidArgument(\"bulkAdd(): keys argument invalid on tables with inbound keys\");\n if (keys && keys.length !== objects.length)\n throw new exceptions.InvalidArgument(\"Arguments objects and keys must have the same length\");\n\n const numObjects = objects.length; // Pick length here to allow garbage collection of objects later\n let objectsToAdd = keyPath && auto ?\n objects.map(workaroundForUndefinedPrimKey(keyPath)) :\n objects;\n return this.core.mutate(\n {trans, type: 'add', keys: keys as IndexableType[], values: objectsToAdd, wantResults}\n )\n .then(({numFailures, results,lastResult, failures}) => {\n const result = wantResults ? results : lastResult;\n if (numFailures === 0) return result;\n throw new BulkError(\n `${this.name}.bulkAdd(): ${numFailures} of ${numObjects} operations failed`, failures);\n });\n });\n }\n\n /** Table.bulkPut()\n * \n * https://dexie.org/docs/Table/Table.bulkPut()\n * \n **/\n bulkPut(\n objects: any[],\n keysOrOptions?: ReadonlyArray | { allKeys?: boolean },\n options?: { allKeys?: boolean }\n ) { \n const keys = Array.isArray(keysOrOptions) ? keysOrOptions : undefined;\n options = options || (keys ? undefined : keysOrOptions as { allKeys?: boolean });\n const wantResults = options ? options.allKeys : undefined;\n\n return this._trans('readwrite', trans => {\n const {auto, keyPath} = this.schema.primKey;\n if (keyPath && keys)\n throw new exceptions.InvalidArgument(\"bulkPut(): keys argument invalid on tables with inbound keys\");\n if (keys && keys.length !== objects.length)\n throw new exceptions.InvalidArgument(\"Arguments objects and keys must have the same length\");\n\n const numObjects = objects.length; // Pick length here to allow garbage collection of objects later\n let objectsToPut = keyPath && auto ?\n objects.map(workaroundForUndefinedPrimKey(keyPath)) :\n objects;\n\n return this.core.mutate(\n {trans, type: 'put', keys: keys as IndexableType[], values: objectsToPut, wantResults}\n )\n .then(({numFailures, results, lastResult, failures}) => {\n const result = wantResults ? results : lastResult;\n if (numFailures === 0) return result;\n throw new BulkError(\n `${this.name}.bulkPut(): ${numFailures} of ${numObjects} operations failed`, failures);\n });\n });\n }\n\n /** Table.bulkDelete()\n * \n * https://dexie.org/docs/Table/Table.bulkDelete()\n * \n **/\n bulkDelete(keys: ReadonlyArray): PromiseExtended {\n const numKeys = keys.length;\n return this._trans('readwrite', trans => {\n return this.core.mutate({trans, type: 'delete', keys: keys as IndexableType[]});\n }).then(({numFailures, lastResult, failures}) => {\n if (numFailures === 0) return lastResult;\n throw new BulkError(\n `${this.name}.bulkDelete(): ${numFailures} of ${numKeys} operations failed`, failures);\n });\n }\n}\n","import {keys, isArray, asap} from '../functions/utils';\nimport {nop, mirror, reverseStoppableEventChain} from '../functions/chaining-functions';\nimport {exceptions} from '../errors';\n\nexport default function Events(ctx) {\n var evs = {};\n var rv = function (eventName, subscriber) {\n if (subscriber) {\n // Subscribe. If additional arguments than just the subscriber was provided, forward them as well.\n var i = arguments.length, args = new Array(i - 1);\n while (--i) args[i - 1] = arguments[i];\n evs[eventName].subscribe.apply(null, args);\n return ctx;\n } else if (typeof (eventName) === 'string') {\n // Return interface allowing to fire or unsubscribe from event\n return evs[eventName];\n }\n };\n rv.addEventType = add;\n \n for (var i = 1, l = arguments.length; i < l; ++i) {\n add(arguments[i]);\n }\n \n return rv;\n\n function add(eventName, chainFunction, defaultFunction) {\n if (typeof eventName === 'object') return addConfiguredEvents(eventName);\n if (!chainFunction) chainFunction = reverseStoppableEventChain;\n if (!defaultFunction) defaultFunction = nop;\n\n var context = {\n subscribers: [],\n fire: defaultFunction,\n subscribe: function (cb) {\n if (context.subscribers.indexOf(cb) === -1) {\n context.subscribers.push(cb);\n context.fire = chainFunction(context.fire, cb);\n }\n },\n unsubscribe: function (cb) {\n context.subscribers = context.subscribers.filter(function (fn) { return fn !== cb; });\n context.fire = context.subscribers.reduce(chainFunction, defaultFunction);\n }\n };\n evs[eventName] = rv[eventName] = context;\n return context;\n }\n\n function addConfiguredEvents(cfg) {\n // events(this, {reading: [functionChain, nop]});\n keys(cfg).forEach(function (eventName) {\n var args = cfg[eventName];\n if (isArray(args)) {\n add(eventName, cfg[eventName][0], cfg[eventName][1]);\n } else if (args === 'asap') {\n // Rather than approaching event subscription using a functional approach, we here do it in a for-loop where subscriber is executed in its own stack\n // enabling that any exception that occur wont disturb the initiator and also not nescessary be catched and forgotten.\n var context = add(eventName, mirror, function fire() {\n // Optimazation-safe cloning of arguments into args.\n var i = arguments.length, args = new Array(i);\n while (i--) args[i] = arguments[i];\n // All each subscriber:\n context.subscribers.forEach(function (fn) {\n asap(function fireEvent() {\n fn.apply(null, args);\n });\n });\n });\n } else throw new exceptions.InvalidArgument(\"Invalid event config\");\n });\n }\n}\n","import { arrayToObject, derive } from './utils';\n\n\nexport function makeClassConstructor (prototype: Object, constructor: Function) {\n /*const propertyDescriptorMap = arrayToObject(\n Object.getOwnPropertyNames(prototype),\n propKey => [propKey, Object.getOwnPropertyDescriptor(prototype, propKey)]);\n\n // Both derive and clone the prototype.\n // derive: So that x instanceof T returns true when T is the class template.\n // clone: Optimizes method access a bit (but actually not nescessary)\n const derivedPrototypeClone = Object.create(prototype, propertyDescriptorMap);\n derivedPrototypeClone.constructor = constructor;\n constructor.prototype = derivedPrototypeClone;\n return constructor as any as TConstructor;*/\n\n // Keep the above code in case we want to clone AND derive the parent prototype.\n // Reason would be optimization of property access.\n // The code below will only create a prototypal inheritance from given constructor function\n // to given prototype.\n derive(constructor).from({prototype});\n return constructor as any as TConstructor; \n}\n","import { combine } from \"../../functions/combine\";\nimport { exceptions } from \"../../errors\";\nimport { hasOwn } from \"../../functions/utils\";\nimport { wrap } from \"../../helpers/promise\";\nimport { Collection } from './';\nimport { DBCoreCursor, DBCoreTable, DBCoreTransaction, DBCoreTableSchema, DBCoreRangeType } from '../../public/types/dbcore';\nimport { nop } from '../../functions/chaining-functions';\n\ntype CollectionContext = Collection[\"_ctx\"];\n\nexport function isPlainKeyRange (ctx: CollectionContext, ignoreLimitFilter?: boolean) {\n return !(ctx.filter || ctx.algorithm || ctx.or) &&\n (ignoreLimitFilter ? ctx.justLimit : !ctx.replayFilter);\n} \n\nexport function addFilter(ctx: CollectionContext, fn: Function) {\n ctx.filter = combine(ctx.filter, fn);\n}\n\nexport function addReplayFilter (ctx: CollectionContext, factory, isLimitFilter?) {\n var curr = ctx.replayFilter;\n ctx.replayFilter = curr ? ()=>combine(curr(), factory()) : factory;\n ctx.justLimit = isLimitFilter && !curr;\n}\n\nexport function addMatchFilter(ctx: CollectionContext, fn) {\n ctx.isMatch = combine(ctx.isMatch, fn);\n}\n\nexport function getIndexOrStore(ctx: CollectionContext, coreSchema: DBCoreTableSchema) {\n // TODO: Rewrite this. No need to know ctx.isPrimKey. ctx.index should hold the keypath.\n // Still, throw if not found!\n if (ctx.isPrimKey) return coreSchema.primaryKey;\n const index = coreSchema.getIndexByKeyPath(ctx.index);\n if (!index) throw new exceptions.Schema(\"KeyPath \" + ctx.index + \" on object store \" + coreSchema.name + \" is not indexed\");\n return index;\n}\n\nexport function openCursor(ctx: CollectionContext, coreTable: DBCoreTable, trans: DBCoreTransaction) {\n const index = getIndexOrStore(ctx, coreTable.schema);\n return coreTable.openCursor({\n trans,\n values: !ctx.keysOnly,\n reverse: ctx.dir === 'prev',\n unique: !!ctx.unique,\n query: {\n index, \n range: ctx.range\n }\n });\n}\n\nexport function iter (\n ctx: CollectionContext, \n fn: (item, cursor: DBCoreCursor, advance: Function)=>void,\n coreTrans: DBCoreTransaction,\n coreTable: DBCoreTable): Promise\n{\n const filter = ctx.replayFilter ? combine(ctx.filter, ctx.replayFilter()) : ctx.filter;\n if (!ctx.or) {\n return iterate(\n openCursor(ctx, coreTable, coreTrans),\n combine(ctx.algorithm, filter), fn, !ctx.keysOnly && ctx.valueMapper);\n } else {\n const set = {};\n\n const union = (item: any, cursor: DBCoreCursor, advance) => {\n if (!filter || filter(cursor, advance, result=>cursor.stop(result), err => cursor.fail(err))) {\n var primaryKey = cursor.primaryKey;\n var key = '' + primaryKey;\n if (key === '[object ArrayBuffer]') key = '' + new Uint8Array(primaryKey);\n if (!hasOwn(set, key)) {\n set[key] = true;\n fn(item, cursor, advance);\n }\n }\n }\n\n return Promise.all([\n ctx.or._iterate(union, coreTrans),\n iterate(openCursor(ctx, coreTable, coreTrans), ctx.algorithm, union, !ctx.keysOnly && ctx.valueMapper)\n ]);\n }\n}\n\nfunction iterate(cursorPromise: Promise, filter, fn, valueMapper): Promise {\n \n // Apply valueMapper (hook('reading') or mappped class)\n var mappedFn = valueMapper ? (x,c,a) => fn(valueMapper(x),c,a) : fn;\n // Wrap fn with PSD and microtick stuff from Promise.\n var wrappedFn = wrap(mappedFn);\n \n return cursorPromise.then(cursor => {\n if (cursor) {\n return cursor.start(()=>{\n var c = ()=>cursor.continue();\n if (!filter || filter(cursor, advancer => c = advancer, val=>{cursor.stop(val);c=nop}, e => {cursor.fail(e);c = nop;}))\n wrappedFn(cursor.value, cursor, advancer => c = advancer);\n c();\n });\n }\n });\n}\n","// Implementation of https://www.w3.org/TR/IndexedDB-3/#compare-two-keys\n\nimport { toStringTag } from './utils';\n\n// ... with the adjustment to return NaN instead of throwing.\nexport function cmp(a: any, b: any): number {\n try {\n const ta = type(a);\n const tb = type(b);\n if (ta !== tb) {\n if (ta === 'Array') return 1;\n if (tb === 'Array') return -1;\n if (ta === 'binary') return 1;\n if (tb === 'binary') return -1;\n if (ta === 'string') return 1;\n if (tb === 'string') return -1;\n if (ta === 'Date') return 1;\n if (tb !== 'Date') return NaN;\n return -1;\n }\n switch (ta) {\n case 'number':\n case 'Date':\n case 'string':\n return a > b ? 1 : a < b ? -1 : 0;\n case 'binary': {\n return compareUint8Arrays(getUint8Array(a), getUint8Array(b));\n }\n case 'Array':\n return compareArrays(a, b);\n }\n } catch {}\n return NaN; // Return value if any given args are valid keys.\n}\n\nexport function compareArrays(a: any[], b: any[]): number {\n const al = a.length;\n const bl = b.length;\n const l = al < bl ? al : bl;\n for (let i = 0; i < l; ++i) {\n const res = cmp(a[i], b[i]);\n if (res !== 0) return res;\n }\n return al === bl ? 0 : al < bl ? -1 : 1;\n}\n\nexport function compareUint8Arrays(\n a: Uint8Array,\n b: Uint8Array\n) {\n const al = a.length;\n const bl = b.length;\n const l = al < bl ? al : bl;\n for (let i = 0; i < l; ++i) {\n if (a[i] !== b[i]) return a[i] < b[i] ? -1 : 1;\n }\n return al === bl ? 0 : al < bl ? -1 : 1;\n}\n\n// Implementation of https://www.w3.org/TR/IndexedDB-3/#key-type\nfunction type(x: any) {\n const t = typeof x;\n if (t !== 'object') return t;\n if (ArrayBuffer.isView(x)) return 'binary';\n const tsTag = toStringTag(x); // Cannot use instanceof in Safari\n return tsTag === 'ArrayBuffer' ? 'binary' : (tsTag as 'Array' | 'Date');\n}\n\ntype BinaryType =\n | ArrayBuffer\n | DataView\n | Uint8ClampedArray\n | ArrayBufferView\n | Uint8Array\n | Int8Array\n | Uint16Array\n | Int16Array\n | Uint32Array\n | Int32Array\n | Float32Array\n | Float64Array;\n\nfunction getUint8Array(a: BinaryType): Uint8Array {\n if (a instanceof Uint8Array) return a;\n if (ArrayBuffer.isView(a))\n // TypedArray or DataView\n return new Uint8Array(a.buffer, a.byteOffset, a.byteLength);\n return new Uint8Array(a); // ArrayBuffer\n}\n","import { Collection as ICollection } from \"../../public/types/collection\";\nimport { Dexie } from \"../dexie\";\nimport { Table } from \"../table\";\nimport { IndexableType, IndexableTypeArrayReadonly } from \"../../public/types/indexable-type\";\nimport { PromiseExtended } from \"../../public/types/promise-extended\";\nimport { iter, isPlainKeyRange, getIndexOrStore, addReplayFilter, addFilter, addMatchFilter } from \"./collection-helpers\";\nimport { rejection } from \"../../helpers/promise\";\nimport { combine } from \"../../functions/combine\";\nimport { extend, hasOwn, deepClone, keys, setByKeyPath, getByKeyPath } from \"../../functions/utils\";\nimport { ModifyError } from \"../../errors\";\nimport { hangsOnDeleteLargeKeyRange } from \"../../globals/constants\";\nimport { ThenShortcut } from \"../../public/types/then-shortcut\";\nimport { Transaction } from '../transaction';\nimport { DBCoreCursor, DBCoreTransaction, DBCoreRangeType, DBCoreMutateResponse, DBCoreKeyRange } from '../../public/types/dbcore';\nimport { cmp } from \"../../functions/cmp\";\n\n/** class Collection\n * \n * https://dexie.org/docs/Collection/Collection\n */\nexport class Collection implements ICollection {\n db: Dexie;\n _ctx: {\n table: Table;\n index?: string | null;\n isPrimKey?: boolean;\n range: DBCoreKeyRange;\n keysOnly: boolean;\n dir: \"next\" | \"prev\";\n unique: \"\" | \"unique\";\n algorithm?: Function | null;\n filter?: Function | null;\n replayFilter: Function | null;\n justLimit: boolean; // True if a replayFilter is just a filter that performs a \"limit\" operation (or none at all)\n isMatch: Function | null;\n offset: number,\n limit: number,\n error: any, // If set, any promise must be rejected with this error\n or: Collection,\n valueMapper: (any) => any\n }\n \n _ondirectionchange?: Function;\n\n _read(fn: (idbtrans: IDBTransaction, dxTrans: Transaction) => PromiseLike, cb?): PromiseExtended {\n var ctx = this._ctx;\n return ctx.error ?\n ctx.table._trans(null, rejection.bind(null, ctx.error)) :\n ctx.table._trans('readonly', fn).then(cb);\n }\n\n _write(fn: (idbtrans: IDBTransaction, dxTrans: Transaction) => PromiseLike): PromiseExtended {\n var ctx = this._ctx;\n return ctx.error ?\n ctx.table._trans(null, rejection.bind(null, ctx.error)) :\n ctx.table._trans('readwrite', fn, \"locked\"); // When doing write operations on collections, always lock the operation so that upcoming operations gets queued.\n }\n\n _addAlgorithm(fn) {\n var ctx = this._ctx;\n ctx.algorithm = combine(ctx.algorithm, fn);\n }\n\n _iterate(\n fn: (item, cursor: DBCoreCursor, advance: Function) => void,\n coreTrans: DBCoreTransaction) : Promise\n {\n return iter(this._ctx, fn, coreTrans, this._ctx.table.core);\n }\n\n /** Collection.clone()\n * \n * https://dexie.org/docs/Collection/Collection.clone()\n * \n **/\n clone(props?) {\n var rv = Object.create(this.constructor.prototype),\n ctx = Object.create(this._ctx);\n if (props) extend(ctx, props);\n rv._ctx = ctx;\n return rv;\n }\n\n /** Collection.raw()\n * \n * https://dexie.org/docs/Collection/Collection.raw()\n * \n **/\n raw() {\n this._ctx.valueMapper = null;\n return this;\n }\n\n /** Collection.each()\n * \n * https://dexie.org/docs/Collection/Collection.each()\n * \n **/\n each(fn: (obj, cursor: DBCoreCursor) => any): PromiseExtended {\n var ctx = this._ctx;\n\n return this._read(trans => iter(ctx, fn, trans, ctx.table.core));\n }\n\n /** Collection.count()\n * \n * https://dexie.org/docs/Collection/Collection.count()\n * \n **/\n count(cb?) {\n return this._read(trans => {\n const ctx = this._ctx;\n const coreTable = ctx.table.core;\n if (isPlainKeyRange(ctx, true)) {\n // This is a plain key range. We can use the count() method if the index.\n return coreTable.count({\n trans,\n query: {\n index: getIndexOrStore(ctx, coreTable.schema),\n range: ctx.range\n }\n }).then(count => Math.min(count, ctx.limit));\n } else {\n // Algorithms, filters or expressions are applied. Need to count manually.\n var count = 0;\n return iter(ctx, () => { ++count; return false; }, trans, coreTable)\n .then(()=>count);\n }\n }).then(cb);\n }\n\n /** Collection.sortBy()\n * \n * https://dexie.org/docs/Collection/Collection.sortBy()\n * \n **/\n sortBy(keyPath: string): PromiseExtended;\n sortBy(keyPath: string, thenShortcut: ThenShortcut) : PromiseExtended;\n sortBy(keyPath: string, cb?: ThenShortcut) {\n const parts = keyPath.split('.').reverse(),\n lastPart = parts[0],\n lastIndex = parts.length - 1;\n function getval(obj, i) {\n if (i) return getval(obj[parts[i]], i - 1);\n return obj[lastPart];\n }\n var order = this._ctx.dir === \"next\" ? 1 : -1;\n\n function sorter(a, b) {\n var aVal = getval(a, lastIndex),\n bVal = getval(b, lastIndex);\n return aVal < bVal ? -order : aVal > bVal ? order : 0;\n }\n return this.toArray(function (a) {\n return a.sort(sorter);\n }).then(cb);\n }\n\n /** Collection.toArray()\n * \n * https://dexie.org/docs/Collection/Collection.toArray()\n * \n **/\n toArray(cb?): PromiseExtended {\n return this._read(trans => {\n var ctx = this._ctx;\n if (ctx.dir === 'next' && isPlainKeyRange(ctx, true) && ctx.limit > 0) {\n // Special optimation if we could use IDBObjectStore.getAll() or\n // IDBKeyRange.getAll():\n const {valueMapper} = ctx;\n const index = getIndexOrStore(ctx, ctx.table.core.schema);\n return ctx.table.core.query({\n trans,\n limit: ctx.limit,\n values: true,\n query: {\n index,\n range: ctx.range\n }\n }).then(({result}) => valueMapper ? result.map(valueMapper) : result);\n } else {\n // Getting array through a cursor.\n const a = [];\n return iter(ctx, item => a.push(item), trans, ctx.table.core).then(()=>a);\n }\n }, cb);\n }\n\n /** Collection.offset()\n * \n * https://dexie.org/docs/Collection/Collection.offset()\n * \n **/\n offset(offset: number) : Collection{\n var ctx = this._ctx;\n if (offset <= 0) return this;\n ctx.offset += offset; // For count()\n if (isPlainKeyRange(ctx)) {\n addReplayFilter(ctx, () => {\n var offsetLeft = offset;\n return (cursor, advance) => {\n if (offsetLeft === 0) return true;\n if (offsetLeft === 1) { --offsetLeft; return false; }\n advance(() => {\n cursor.advance(offsetLeft);\n offsetLeft = 0;\n });\n return false;\n };\n });\n } else {\n addReplayFilter(ctx, () => {\n var offsetLeft = offset;\n return () => (--offsetLeft < 0);\n });\n }\n return this;\n }\n\n /** Collection.limit()\n * \n * https://dexie.org/docs/Collection/Collection.limit()\n * \n **/\n limit(numRows: number) : Collection {\n this._ctx.limit = Math.min(this._ctx.limit, numRows); // For count()\n addReplayFilter(this._ctx, () => {\n var rowsLeft = numRows;\n return function (cursor, advance, resolve) {\n if (--rowsLeft <= 0) advance(resolve); // Stop after this item has been included\n return rowsLeft >= 0; // If numRows is already below 0, return false because then 0 was passed to numRows initially. Otherwise we wouldnt come here.\n };\n }, true);\n return this;\n }\n\n /** Collection.until()\n * \n * https://dexie.org/docs/Collection/Collection.until()\n * \n **/\n until(filterFunction: (x) => boolean, bIncludeStopEntry?) {\n addFilter(this._ctx, function (cursor, advance, resolve) {\n if (filterFunction(cursor.value)) {\n advance(resolve);\n return bIncludeStopEntry;\n } else {\n return true;\n }\n });\n return this;\n }\n\n /** Collection.first()\n * \n * https://dexie.org/docs/Collection/Collection.first()\n * \n **/\n first(cb?) {\n return this.limit(1).toArray(function (a) { return a[0]; }).then(cb);\n }\n\n /** Collection.last()\n * \n * https://dexie.org/docs/Collection/Collection.last()\n * \n **/\n last(cb?) {\n return this.reverse().first(cb);\n }\n\n /** Collection.filter()\n * \n * https://dexie.org/docs/Collection/Collection.filter()\n * \n **/\n filter(filterFunction: (x) => boolean): Collection {\n /// function(val){return true/false}\n addFilter(this._ctx, function (cursor) {\n return filterFunction(cursor.value);\n });\n // match filters not used in Dexie.js but can be used by 3rd part libraries to test a\n // collection for a match without querying DB. Used by Dexie.Observable.\n addMatchFilter(this._ctx, filterFunction);\n return this;\n }\n\n /** Collection.and()\n * \n * https://dexie.org/docs/Collection/Collection.and()\n * \n **/\n and(filter: (x) => boolean) {\n return this.filter(filter);\n }\n\n /** Collection.or()\n * \n * https://dexie.org/docs/Collection/Collection.or()\n * \n **/\n or(indexName: string) {\n return new this.db.WhereClause(this._ctx.table, indexName, this);\n }\n\n /** Collection.reverse()\n * \n * https://dexie.org/docs/Collection/Collection.reverse()\n * \n **/\n reverse() {\n this._ctx.dir = (this._ctx.dir === \"prev\" ? \"next\" : \"prev\");\n if (this._ondirectionchange) this._ondirectionchange(this._ctx.dir);\n return this;\n }\n\n /** Collection.desc()\n * \n * https://dexie.org/docs/Collection/Collection.desc()\n * \n **/\n desc() {\n return this.reverse();\n }\n\n /** Collection.eachKey()\n * \n * https://dexie.org/docs/Collection/Collection.eachKey()\n * \n **/\n eachKey(cb?) {\n var ctx = this._ctx;\n ctx.keysOnly = !ctx.isMatch;\n return this.each(function (val, cursor) { cb(cursor.key, cursor); });\n }\n\n /** Collection.eachUniqueKey()\n * \n * https://dexie.org/docs/Collection/Collection.eachUniqueKey()\n * \n **/\n eachUniqueKey(cb?) {\n this._ctx.unique = \"unique\";\n return this.eachKey(cb);\n }\n\n /** Collection.eachPrimaryKey()\n * \n * https://dexie.org/docs/Collection/Collection.eachPrimaryKey()\n * \n **/\n eachPrimaryKey(cb?) {\n var ctx = this._ctx;\n ctx.keysOnly = !ctx.isMatch;\n return this.each(function (val, cursor) { cb(cursor.primaryKey, cursor); });\n }\n\n /** Collection.keys()\n * \n * https://dexie.org/docs/Collection/Collection.keys()\n * \n **/\n keys(cb?) {\n var ctx = this._ctx;\n ctx.keysOnly = !ctx.isMatch;\n var a = [];\n return this.each(function (item, cursor) {\n a.push(cursor.key);\n }).then(function () {\n return a;\n }).then(cb);\n }\n\n /** Collection.primaryKeys()\n * \n * https://dexie.org/docs/Collection/Collection.primaryKeys()\n * \n **/\n primaryKeys(cb?) : PromiseExtended {\n var ctx = this._ctx;\n if (ctx.dir === 'next' && isPlainKeyRange(ctx, true) && ctx.limit > 0) {\n // Special optimation if we could use IDBObjectStore.getAllKeys() or\n // IDBKeyRange.getAllKeys():\n return this._read(trans => {\n var index = getIndexOrStore(ctx, ctx.table.core.schema);\n return ctx.table.core.query({\n trans,\n values: false,\n limit: ctx.limit,\n query: {\n index,\n range: ctx.range\n }});\n }).then(({result})=>result).then(cb);\n }\n ctx.keysOnly = !ctx.isMatch;\n var a = [];\n return this.each(function (item, cursor) {\n a.push(cursor.primaryKey);\n }).then(function () {\n return a;\n }).then(cb);\n }\n\n /** Collection.uniqueKeys()\n * \n * https://dexie.org/docs/Collection/Collection.uniqueKeys()\n * \n **/\n uniqueKeys(cb?) {\n this._ctx.unique = \"unique\";\n return this.keys(cb);\n }\n\n /** Collection.firstKey()\n * \n * https://dexie.org/docs/Collection/Collection.firstKey()\n * \n **/\n firstKey(cb?) {\n return this.limit(1).keys(function (a) { return a[0]; }).then(cb);\n }\n\n /** Collection.lastKey()\n * \n * https://dexie.org/docs/Collection/Collection.lastKey()\n * \n **/\n lastKey(cb?) {\n return this.reverse().firstKey(cb);\n }\n\n /** Collection.distinct()\n * \n * https://dexie.org/docs/Collection/Collection.distinct()\n * \n **/\n distinct() {\n var ctx = this._ctx,\n idx = ctx.index && ctx.table.schema.idxByName[ctx.index];\n if (!idx || !idx.multi) return this; // distinct() only makes differencies on multiEntry indexes.\n var set = {};\n addFilter(this._ctx, function (cursor: DBCoreCursor) {\n var strKey = cursor.primaryKey.toString(); // Converts any Date to String, String to String, Number to String and Array to comma-separated string\n var found = hasOwn(set, strKey);\n set[strKey] = true;\n return !found;\n });\n return this;\n }\n\n //\n // Methods that mutate storage\n //\n\n /** Collection.modify()\n * \n * https://dexie.org/docs/Collection/Collection.modify()\n * \n **/\n modify(changes: { [keyPath: string]: any }) : PromiseExtended\n modify(changes: (obj: any, ctx:{value: any, primKey: IndexableType}) => void | boolean): PromiseExtended {\n var ctx = this._ctx;\n return this._write(trans => {\n var modifyer: (obj: any, ctx:{value: any, primKey: IndexableType}) => void | boolean\n if (typeof changes === 'function') {\n // Changes is a function that may update, add or delete propterties or even require a deletion the object itself (delete this.item)\n modifyer = changes;\n } else {\n // changes is a set of {keyPath: value} and no one is listening to the updating hook.\n var keyPaths = keys(changes);\n var numKeys = keyPaths.length;\n modifyer = function (item) {\n var anythingModified = false;\n for (var i = 0; i < numKeys; ++i) {\n var keyPath = keyPaths[i], val = changes[keyPath];\n if (getByKeyPath(item, keyPath) !== val) {\n setByKeyPath(item, keyPath, val); // Adding {keyPath: undefined} means that the keyPath should be deleted. Handled by setByKeyPath\n anythingModified = true;\n }\n }\n return anythingModified;\n };\n }\n\n const coreTable = ctx.table.core;\n const {outbound, extractKey} = coreTable.schema.primaryKey;\n const limit = this.db._options.modifyChunkSize || 200;\n const totalFailures = [];\n let successCount = 0;\n const failedKeys: IndexableType[] = [];\n const applyMutateResult = (expectedCount: number, res: DBCoreMutateResponse) => {\n const {failures, numFailures} = res;\n successCount += expectedCount - numFailures;\n for (let pos of keys(failures)) {\n totalFailures.push(failures[pos]);\n }\n }\n return this.clone().primaryKeys().then(keys => {\n\n const nextChunk = (offset: number) => {\n const count = Math.min(limit, keys.length - offset);\n return coreTable.getMany({\n trans,\n keys: keys.slice(offset, offset + count),\n cache: \"immutable\" // Optimize for 2 things:\n // 1) observability-middleware can track changes better.\n // 2) hooks middleware don't have to query the existing values again when tracking changes.\n // We can use \"immutable\" because we promise to not touch the values we retrieve here!\n }).then(values => {\n const addValues = [];\n const putValues = [];\n const putKeys = outbound ? [] : null;\n const deleteKeys = [];\n for (let i=0; i 0 &&\n coreTable.mutate({trans, type: 'add', values: addValues})\n .then(res => {\n for (let pos in res.failures) {\n // Remove from deleteKeys the key of the object that failed to change its primary key\n deleteKeys.splice(parseInt(pos), 1);\n }\n applyMutateResult(addValues.length, res);\n })\n ).then(()=>(putValues.length > 0 || (criteria && typeof changes === 'object')) &&\n coreTable.mutate({\n trans,\n type: 'put',\n keys: putKeys,\n values: putValues,\n criteria,\n changeSpec: typeof changes !== 'function'\n && changes\n }).then(res=>applyMutateResult(putValues.length, res))\n ).then(()=>(deleteKeys.length > 0 || (criteria && changes === deleteCallback)) &&\n coreTable.mutate({\n trans,\n type: 'delete',\n keys: deleteKeys,\n criteria\n }).then(res=>applyMutateResult(deleteKeys.length, res))\n ).then(()=>{\n return keys.length > offset + count && nextChunk(offset + limit);\n });\n });\n }\n\n return nextChunk(0).then(()=>{\n if (totalFailures.length > 0)\n throw new ModifyError(\"Error modifying one or more objects\", totalFailures, successCount, failedKeys as IndexableTypeArrayReadonly);\n\n return keys.length;\n });\n });\n\n });\n }\n\n /** Collection.delete()\n * \n * https://dexie.org/docs/Collection/Collection.delete()\n * \n **/\n delete() : PromiseExtended {\n var ctx = this._ctx,\n range = ctx.range;\n //deletingHook = ctx.table.hook.deleting.fire,\n //hasDeleteHook = deletingHook !== nop;\n if (isPlainKeyRange(ctx) &&\n ((ctx.isPrimKey && !hangsOnDeleteLargeKeyRange) || range.type === DBCoreRangeType.Any)) // if no range, we'll use clear().\n {\n // May use IDBObjectStore.delete(IDBKeyRange) in this case (Issue #208)\n // For chromium, this is the way most optimized version.\n // For IE/Edge, this could hang the indexedDB engine and make operating system instable\n // (https://gist.github.com/dfahlander/5a39328f029de18222cf2125d56c38f7)\n return this._write(trans => {\n // Our API contract is to return a count of deleted items, so we have to count() before delete().\n const {primaryKey} = ctx.table.core.schema;\n const coreRange = range;\n return ctx.table.core.count({trans, query: {index: primaryKey, range: coreRange}}).then(count => {\n return ctx.table.core.mutate({trans, type: 'deleteRange', range: coreRange})\n .then(({failures, lastResult, results, numFailures}) => {\n if (numFailures) throw new ModifyError(\"Could not delete some values\",\n Object.keys(failures).map(pos => failures[pos]),\n count - numFailures);\n return count - numFailures;\n });\n });\n });\n }\n\n return this.modify(deleteCallback);\n }\n}\n\nconst deleteCallback = (value, ctx) => ctx.value = null;\n","import { IndexableType } from '../public/types/indexable-type';\n\nexport function simpleCompare(a, b) {\n return a < b ? -1 : a === b ? 0 : 1;\n}\n\nexport function simpleCompareReverse(a, b) {\n return a > b ? -1 : a === b ? 0 : 1;\n}\n","import { WhereClause } from './where-clause';\nimport { Collection } from '../collection';\nimport { STRING_EXPECTED } from '../../globals/constants';\nimport { simpleCompare, simpleCompareReverse } from '../../functions/compare-functions';\nimport { IndexableType } from '../../public';\nimport { DBCoreKeyRange, DBCoreRangeType } from '../../public/types/dbcore';\n\nexport function fail(collectionOrWhereClause: Collection | WhereClause, err, T?) {\n var collection = collectionOrWhereClause instanceof WhereClause ?\n new collectionOrWhereClause.Collection (collectionOrWhereClause) :\n collectionOrWhereClause;\n \n collection._ctx.error = T ? new T(err) : new TypeError(err);\n return collection;\n}\n\nexport function emptyCollection(whereClause: WhereClause) {\n return new whereClause.Collection (whereClause, () => rangeEqual(\"\")).limit(0);\n}\n\nexport function upperFactory(dir: 'next' | 'prev') {\n return dir === \"next\" ?\n (s: string) => s.toUpperCase() :\n (s: string) => s.toLowerCase();\n}\n\nexport function lowerFactory(dir: 'next' | 'prev') {\n return dir === \"next\" ?\n (s: string) => s.toLowerCase() :\n (s: string) => s.toUpperCase();\n}\n\nexport function nextCasing(key, lowerKey, upperNeedle, lowerNeedle, cmp, dir) {\n var length = Math.min(key.length, lowerNeedle.length);\n var llp = -1;\n for (var i = 0; i < length; ++i) {\n var lwrKeyChar = lowerKey[i];\n if (lwrKeyChar !== lowerNeedle[i]) {\n if (cmp(key[i], upperNeedle[i]) < 0) return key.substr(0, i) + upperNeedle[i] + upperNeedle.substr(i + 1);\n if (cmp(key[i], lowerNeedle[i]) < 0) return key.substr(0, i) + lowerNeedle[i] + upperNeedle.substr(i + 1);\n if (llp >= 0) return key.substr(0, llp) + lowerKey[llp] + upperNeedle.substr(llp + 1);\n return null;\n }\n if (cmp(key[i], lwrKeyChar) < 0) llp = i;\n }\n if (length < lowerNeedle.length && dir === \"next\") return key + upperNeedle.substr(key.length);\n if (length < key.length && dir === \"prev\") return key.substr(0, upperNeedle.length);\n return (llp < 0 ? null : key.substr(0, llp) + lowerNeedle[llp] + upperNeedle.substr(llp + 1));\n}\n\nexport function addIgnoreCaseAlgorithm(whereClause: WhereClause, match, needles, suffix) {\n /// \n var upper, lower, compare, upperNeedles, lowerNeedles, direction, nextKeySuffix,\n needlesLen = needles.length;\n if (!needles.every(s => typeof s === 'string')) {\n return fail(whereClause, STRING_EXPECTED);\n }\n function initDirection(dir) {\n upper = upperFactory(dir);\n lower = lowerFactory(dir);\n compare = (dir === \"next\" ? simpleCompare : simpleCompareReverse);\n var needleBounds = needles.map(function (needle){\n return {lower: lower(needle), upper: upper(needle)};\n }).sort(function(a,b) {\n return compare(a.lower, b.lower);\n });\n upperNeedles = needleBounds.map(function (nb){ return nb.upper; });\n lowerNeedles = needleBounds.map(function (nb){ return nb.lower; });\n direction = dir;\n nextKeySuffix = (dir === \"next\" ? \"\" : suffix);\n }\n initDirection(\"next\");\n\n var c = new whereClause.Collection (\n whereClause,\n ()=>createRange(upperNeedles[0], lowerNeedles[needlesLen-1] + suffix)\n );\n\n c._ondirectionchange = function (direction) {\n // This event onlys occur before filter is called the first time.\n initDirection(direction);\n };\n\n var firstPossibleNeedle = 0;\n\n c._addAlgorithm(function (cursor, advance, resolve) {\n /// \n /// \n /// \n var key = cursor.key;\n if (typeof key !== 'string') return false;\n var lowerKey = lower(key);\n if (match(lowerKey, lowerNeedles, firstPossibleNeedle)) {\n return true;\n } else {\n var lowestPossibleCasing = null;\n for (var i=firstPossibleNeedle; i 0) {\n lowestPossibleCasing = casing;\n }\n }\n if (lowestPossibleCasing !== null) {\n advance(function () { cursor.continue(lowestPossibleCasing + nextKeySuffix); });\n } else {\n advance(resolve);\n }\n return false;\n }\n });\n return c;\n}\n\nexport function createRange (lower: IndexableType, upper: IndexableType, lowerOpen?: boolean, upperOpen?: boolean): DBCoreKeyRange {\n return {\n type: DBCoreRangeType.Range,\n lower,\n upper,\n lowerOpen,\n upperOpen\n };\n}\n\nexport function rangeEqual (value: IndexableType) : DBCoreKeyRange {\n return {\n type: DBCoreRangeType.Equal,\n lower: value,\n upper: value\n };\n}\n","import { WhereClause as IWhereClause } from \"../../public/types/where-clause\";\nimport { Collection } from \"../collection\";\nimport { Table } from \"../table\";\nimport { IndexableType } from \"../../public/types/indexable-type\";\nimport { emptyCollection, fail, addIgnoreCaseAlgorithm, createRange, rangeEqual } from './where-clause-helpers';\nimport { INVALID_KEY_ARGUMENT, STRING_EXPECTED, maxString, minKey } from '../../globals/constants';\nimport { getArrayOf, NO_CHAR_ARRAY } from '../../functions/utils';\nimport { exceptions } from '../../errors';\nimport { Dexie } from '../dexie';\nimport { Collection as ICollection} from \"../../public/types/collection\";\n\n/** class WhereClause\n * \n * https://dexie.org/docs/WhereClause/WhereClause\n */\nexport class WhereClause implements IWhereClause {\n db: Dexie;\n _IDBKeyRange: typeof IDBKeyRange;\n _ctx: {\n table: Table;\n index: string;\n or: Collection;\n }\n _cmp: (a: IndexableType, b: IndexableType) => number;\n _ascending: (a: IndexableType, b: IndexableType) => number;\n _descending: (a: IndexableType, b: IndexableType) => number;\n _min: (a: IndexableType, b: IndexableType) => IndexableType;\n _max: (a: IndexableType, b: IndexableType) => IndexableType;\n\n get Collection() {\n return this._ctx.table.db.Collection;\n }\n\n /** WhereClause.between()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.between()\n * \n **/\n between(lower: IndexableType, upper: IndexableType, includeLower?: boolean, includeUpper?: boolean) {\n includeLower = includeLower !== false; // Default to true\n includeUpper = includeUpper === true; // Default to false\n try {\n if ((this._cmp(lower, upper) > 0) ||\n (this._cmp(lower, upper) === 0 && (includeLower || includeUpper) && !(includeLower && includeUpper)))\n return emptyCollection(this); // Workaround for idiotic W3C Specification that DataError must be thrown if lower > upper. The natural result would be to return an empty collection.\n return new this.Collection(this, ()=>createRange(lower, upper, !includeLower, !includeUpper));\n } catch (e) {\n return fail(this, INVALID_KEY_ARGUMENT);\n }\n }\n\n /** WhereClause.equals()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.equals()\n * \n **/\n equals(value: IndexableType) {\n if (value == null) return fail(this, INVALID_KEY_ARGUMENT);\n return new this.Collection(this, () => rangeEqual(value)) as ICollection;\n }\n\n /** WhereClause.above()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.above()\n * \n **/\n above(value: IndexableType) {\n if (value == null) return fail(this, INVALID_KEY_ARGUMENT);\n return new this.Collection(this, () => createRange(value, undefined, true));\n }\n\n /** WhereClause.aboveOrEqual()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.aboveOrEqual()\n * \n **/\n aboveOrEqual(value: IndexableType) {\n if (value == null) return fail(this, INVALID_KEY_ARGUMENT);\n return new this.Collection(this, () => createRange(value, undefined, false));\n }\n\n /** WhereClause.below()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.below()\n * \n **/\n below(value: IndexableType) {\n if (value == null) return fail(this, INVALID_KEY_ARGUMENT);\n return new this.Collection(this, () => createRange(undefined, value, false, true));\n }\n\n /** WhereClause.belowOrEqual()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.belowOrEqual()\n * \n **/\n belowOrEqual(value: IndexableType) {\n if (value == null) return fail(this, INVALID_KEY_ARGUMENT);\n return new this.Collection(this, () => createRange(undefined, value));\n }\n\n /** WhereClause.startsWith()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.startsWith()\n * \n **/\n startsWith(str: string) {\n if (typeof str !== 'string') return fail(this, STRING_EXPECTED);\n return this.between(str, str + maxString, true, true);\n }\n\n /** WhereClause.startsWithIgnoreCase()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.startsWithIgnoreCase()\n * \n **/\n startsWithIgnoreCase(str: string) {\n if (str === \"\") return this.startsWith(str);\n return addIgnoreCaseAlgorithm(this, (x, a) => x.indexOf(a[0]) === 0, [str], maxString);\n }\n\n /** WhereClause.equalsIgnoreCase()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.equalsIgnoreCase()\n * \n **/\n equalsIgnoreCase(str: string) {\n return addIgnoreCaseAlgorithm(this, (x, a) => x === a[0], [str], \"\");\n }\n\n /** WhereClause.anyOfIgnoreCase()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.anyOfIgnoreCase()\n * \n **/\n anyOfIgnoreCase(...values: string[]): Collection;\n anyOfIgnoreCase(values: string[]): Collection;\n anyOfIgnoreCase() {\n var set = getArrayOf.apply(NO_CHAR_ARRAY, arguments);\n if (set.length === 0) return emptyCollection(this);\n return addIgnoreCaseAlgorithm(this, (x, a) => a.indexOf(x) !== -1, set, \"\");\n }\n\n /** WhereClause.startsWithAnyOfIgnoreCase()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.startsWithAnyOfIgnoreCase()\n * \n **/\n startsWithAnyOfIgnoreCase(...values: string[]): Collection;\n startsWithAnyOfIgnoreCase(values: string[]): Collection;\n startsWithAnyOfIgnoreCase() {\n var set = getArrayOf.apply(NO_CHAR_ARRAY, arguments);\n if (set.length === 0) return emptyCollection(this);\n return addIgnoreCaseAlgorithm(this, (x, a) => a.some(n => x.indexOf(n) === 0), set, maxString);\n }\n\n /** WhereClause.anyOf()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.anyOf()\n * \n **/\n anyOf(...values: string[]): Collection;\n anyOf(values: string[]): Collection;\n anyOf() {\n const set = getArrayOf.apply(NO_CHAR_ARRAY, arguments);\n let compare = this._cmp;\n try { set.sort(compare); } catch (e) { return fail(this, INVALID_KEY_ARGUMENT); }\n if (set.length === 0) return emptyCollection(this);\n const c = new this.Collection(this, () => createRange(set[0], set[set.length - 1]));\n\n c._ondirectionchange = direction => {\n compare = (direction === \"next\" ?\n this._ascending :\n this._descending);\n set.sort(compare);\n };\n\n let i = 0;\n c._addAlgorithm((cursor, advance, resolve) => {\n const key = cursor.key;\n while (compare(key, set[i]) > 0) {\n // The cursor has passed beyond this key. Check next.\n ++i;\n if (i === set.length) {\n // There is no next. Stop searching.\n advance(resolve);\n return false;\n }\n }\n if (compare(key, set[i]) === 0) {\n // The current cursor value should be included and we should continue a single step in case next item has the same key or possibly our next key in set.\n return true;\n } else {\n // cursor.key not yet at set[i]. Forward cursor to the next key to hunt for.\n advance(() => { cursor.continue(set[i]); });\n return false;\n }\n });\n return c;\n }\n\n /** WhereClause.notEqual()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.notEqual()\n * \n **/\n notEqual(value: IndexableType) {\n return this.inAnyRange([[minKey, value], [value, this.db._maxKey]], { includeLowers: false, includeUppers: false });\n }\n\n /** WhereClause.noneOf()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.noneOf()\n * \n **/\n noneOf(...values: string[]): Collection;\n noneOf(values: string[]): Collection;\n noneOf() {\n const set = getArrayOf.apply(NO_CHAR_ARRAY, arguments);\n if (set.length === 0) return new this.Collection(this); // Return entire collection.\n try { set.sort(this._ascending); } catch (e) { return fail(this, INVALID_KEY_ARGUMENT); }\n // Transform [\"a\",\"b\",\"c\"] to a set of ranges for between/above/below: [[minKey,\"a\"], [\"a\",\"b\"], [\"b\",\"c\"], [\"c\",maxKey]]\n const ranges = set.reduce(\n (res, val) => res ?\n res.concat([[res[res.length - 1][1], val]]) :\n [[minKey, val]],\n null);\n ranges.push([set[set.length - 1], this.db._maxKey]);\n return this.inAnyRange(ranges, { includeLowers: false, includeUppers: false });\n }\n\n /** WhereClause.inAnyRange()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.inAnyRange()\n * \n **/\n inAnyRange(\n ranges: ReadonlyArray<{ 0: IndexableType, 1: IndexableType }>,\n options?: { includeLowers?: boolean, includeUppers?: boolean })\n {\n const cmp = this._cmp,\n ascending = this._ascending,\n descending = this._descending,\n min = this._min,\n max = this._max;\n\n if (ranges.length === 0) return emptyCollection(this);\n if (!ranges.every(range =>\n range[0] !== undefined &&\n range[1] !== undefined &&\n ascending(range[0], range[1]) <= 0)) {\n return fail(\n this,\n \"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower\",\n exceptions.InvalidArgument);\n }\n const includeLowers = !options || options.includeLowers !== false; // Default to true\n const includeUppers = options && options.includeUppers === true; // Default to false\n\n function addRange(ranges, newRange) {\n let i = 0, l = ranges.length;\n for (; i < l; ++i) {\n const range = ranges[i];\n if (cmp(newRange[0], range[1]) < 0 && cmp(newRange[1], range[0]) > 0) {\n range[0] = min(range[0], newRange[0]);\n range[1] = max(range[1], newRange[1]);\n break;\n }\n }\n if (i === l)\n ranges.push(newRange);\n return ranges;\n }\n\n let sortDirection = ascending;\n function rangeSorter(a, b) { return sortDirection(a[0], b[0]); }\n\n // Join overlapping ranges\n let set;\n try {\n set = ranges.reduce(addRange, []);\n set.sort(rangeSorter);\n } catch (ex) {\n return fail(this, INVALID_KEY_ARGUMENT);\n }\n\n let rangePos = 0;\n const keyIsBeyondCurrentEntry = includeUppers ?\n key => ascending(key, set[rangePos][1]) > 0 :\n key => ascending(key, set[rangePos][1]) >= 0;\n\n const keyIsBeforeCurrentEntry = includeLowers ?\n key => descending(key, set[rangePos][0]) > 0 :\n key => descending(key, set[rangePos][0]) >= 0;\n\n function keyWithinCurrentRange(key) {\n return !keyIsBeyondCurrentEntry(key) && !keyIsBeforeCurrentEntry(key);\n }\n\n let checkKey = keyIsBeyondCurrentEntry;\n\n const c = new this.Collection(\n this,\n () => createRange(set[0][0], set[set.length - 1][1], !includeLowers, !includeUppers));\n\n c._ondirectionchange = direction => {\n if (direction === \"next\") {\n checkKey = keyIsBeyondCurrentEntry;\n sortDirection = ascending;\n } else {\n checkKey = keyIsBeforeCurrentEntry;\n sortDirection = descending;\n }\n set.sort(rangeSorter);\n };\n\n c._addAlgorithm((cursor, advance, resolve) => {\n var key = cursor.key;\n while (checkKey(key)) {\n // The cursor has passed beyond this key. Check next.\n ++rangePos;\n if (rangePos === set.length) {\n // There is no next. Stop searching.\n advance(resolve);\n return false;\n }\n }\n if (keyWithinCurrentRange(key)) {\n // The current cursor value should be included and we should continue a single step in case next item has the same key or possibly our next key in set.\n return true;\n } else if (this._cmp(key, set[rangePos][1]) === 0 || this._cmp(key, set[rangePos][0]) === 0) {\n // includeUpper or includeLower is false so keyWithinCurrentRange() returns false even though we are at range border.\n // Continue to next key but don't include this one.\n return false;\n } else {\n // cursor.key not yet at set[i]. Forward cursor to the next key to hunt for.\n advance(() => {\n if (sortDirection === ascending) cursor.continue(set[rangePos][0]);\n else cursor.continue(set[rangePos][1]);\n });\n return false;\n }\n });\n return c;\n }\n\n /** WhereClause.startsWithAnyOf()\n * \n * https://dexie.org/docs/WhereClause/WhereClause.startsWithAnyOf()\n * \n **/\n startsWithAnyOf(...prefixes: string[]): Collection;\n startsWithAnyOf(prefixes: string[]): Collection;\n startsWithAnyOf() {\n const set = getArrayOf.apply(NO_CHAR_ARRAY, arguments);\n\n if (!set.every(s => typeof s === 'string')) {\n return fail(this, \"startsWithAnyOf() only works with strings\");\n }\n if (set.length === 0) return emptyCollection(this);\n\n return this.inAnyRange(set.map((str: string) => [str, str + maxString]));\n }\n\n}\n","import { wrap } from \"../helpers/promise\";\n\nexport function eventRejectHandler(reject) {\n return wrap(function (event) {\n preventDefault(event);\n reject (event.target.error);\n return false;\n });\n}\n\nexport function eventSuccessHandler (resolve) {\n return wrap(function (event){\n resolve(event.target.result);\n });\n}\n\nexport function hookedEventRejectHandler (reject) {\n return wrap(function (event) {\n // See comment on hookedEventSuccessHandler() why wrap() is needed only when supporting hooks.\n \n var req = event.target,\n err = req.error,\n ctx = req._hookCtx,// Contains the hook error handler. Put here instead of closure to boost performance.\n hookErrorHandler = ctx && ctx.onerror;\n hookErrorHandler && hookErrorHandler(err);\n preventDefault(event);\n reject (err);\n return false;\n });\n}\n\nexport function hookedEventSuccessHandler(resolve) {\n // wrap() is needed when calling hooks because the rare scenario of:\n // * hook does a db operation that fails immediately (IDB throws exception)\n // For calling db operations on correct transaction, wrap makes sure to set PSD correctly.\n // wrap() will also execute in a virtual tick.\n // * If not wrapped in a virtual tick, direct exception will launch a new physical tick.\n // * If this was the last event in the bulk, the promise will resolve after a physical tick\n // and the transaction will have committed already.\n // If no hook, the virtual tick will be executed in the reject()/resolve of the final promise,\n // because it is always marked with _lib = true when created using Transaction._promise().\n return wrap(function(event) {\n var req = event.target,\n ctx = req._hookCtx,// Contains the hook error handler. Put here instead of closure to boost performance.\n result = ctx.value || req.result, // Pass the object value on updates. The result from IDB is the primary key.\n hookSuccessHandler = ctx && ctx.onsuccess;\n hookSuccessHandler && hookSuccessHandler(result);\n resolve && resolve(result);\n }, resolve);\n}\n\n\nexport function preventDefault(event) {\n if (event.stopPropagation) // IndexedDBShim doesnt support this on Safari 8 and below.\n event.stopPropagation();\n if (event.preventDefault) // IndexedDBShim doesnt support this on Safari 8 and below.\n event.preventDefault();\n}\n\nexport function BulkErrorHandlerCatchAll(errorList, done?, supportHooks?) {\n return (supportHooks ? hookedEventRejectHandler : eventRejectHandler)(e => {\n errorList.push(e);\n done && done();\n });\n}\n\n","import Events from '../helpers/Events';\nimport { GlobalDexieEvents } from '../public/types/db-events';\n\nexport const DEXIE_STORAGE_MUTATED_EVENT_NAME = 'storagemutated' as 'storagemutated';\n\n// Name of the global event fired using DOM dispatchEvent (if not in node).\n// Reason for propagating this as a DOM event is for getting reactivity across\n// multiple versions of Dexie within the same app (as long as they are\n// compatible with regards to the event data).\n// If the ObservabilitySet protocol change in a way that would not be backward\n// compatible, make sure also update the event name to a new number at the end\n// so that two Dexie instances of different versions continue to work together\n// - maybe not able to communicate but won't fail due to unexpected data in\n// the detail property of the CustomEvent. If so, also make sure to udpate\n// docs and explain at which Dexie version the new name and format of the event\n// is being used.\nexport const STORAGE_MUTATED_DOM_EVENT_NAME = 'x-storagemutated-1';\n\nexport const globalEvents = Events(null, DEXIE_STORAGE_MUTATED_EVENT_NAME) as GlobalDexieEvents;\n","import { Transaction as ITransaction } from '../../public/types/transaction';\nimport { DexiePromise, wrap, rejection } from \"../../helpers/promise\";\nimport { DbSchema } from '../../public/types/db-schema';\nimport { assert, hasOwn } from '../../functions/utils';\nimport { PSD, usePSD } from '../../helpers/promise';\nimport { Dexie } from '../dexie';\nimport { exceptions } from '../../errors';\nimport { safariMultiStoreFix } from '../../functions/quirks';\nimport { preventDefault } from '../../functions/event-wrappers';\nimport { newScope } from '../../helpers/promise';\nimport * as Debug from '../../helpers/debug';\nimport { Table } from '../table';\nimport { globalEvents } from '../../globals/global-events';\n\n/** Transaction\n * \n * https://dexie.org/docs/Transaction/Transaction\n * \n **/\nexport class Transaction implements ITransaction {\n db: Dexie;\n active: boolean;\n mode: IDBTransactionMode;\n chromeTransactionDurability: ChromeTransactionDurability;\n idbtrans: IDBTransaction;\n storeNames: string[];\n on: any;\n parent?: Transaction;\n schema: DbSchema;\n _memoizedTables: {[tableName: string]: Table};\n\n _reculock: number;\n _blockedFuncs: { 0: () => any, 1: any }[];\n _resolve: () => void;\n _reject: (Error) => void;\n _waitingFor: DexiePromise; // for waitFor()\n _waitingQueue: Function[]; // for waitFor()\n _spinCount: number; // Just for debugging waitFor()\n _completion: DexiePromise;\n\n //\n // Transaction internal methods (not required by API users, but needed internally and eventually by dexie extensions)\n //\n\n /** Transaction._lock()\n * \n * Internal method.\n */\n _lock() {\n assert(!PSD.global); // Locking and unlocking reuires to be within a PSD scope.\n // Temporary set all requests into a pending queue if they are called before database is ready.\n ++this._reculock; // Recursive read/write lock pattern using PSD (Promise Specific Data) instead of TLS (Thread Local Storage)\n if (this._reculock === 1 && !PSD.global) PSD.lockOwnerFor = this;\n return this;\n }\n\n /** Transaction._unlock()\n * \n * Internal method.\n */\n _unlock() {\n assert(!PSD.global); // Locking and unlocking reuires to be within a PSD scope.\n if (--this._reculock === 0) {\n if (!PSD.global) PSD.lockOwnerFor = null;\n while (this._blockedFuncs.length > 0 && !this._locked()) {\n var fnAndPSD = this._blockedFuncs.shift();\n try { usePSD(fnAndPSD[1], fnAndPSD[0]); } catch (e) { }\n }\n }\n return this;\n }\n\n /** Transaction._lock()\n * \n * Internal method.\n */\n _locked() {\n // Checks if any write-lock is applied on this transaction.\n // To simplify the Dexie API for extension implementations, we support recursive locks.\n // This is accomplished by using \"Promise Specific Data\" (PSD).\n // PSD data is bound to a Promise and any child Promise emitted through then() or resolve( new Promise() ).\n // PSD is local to code executing on top of the call stacks of any of any code executed by Promise():\n // * callback given to the Promise() constructor (function (resolve, reject){...})\n // * callbacks given to then()/catch()/finally() methods (function (value){...})\n // If creating a new independant Promise instance from within a Promise call stack, the new Promise will derive the PSD from the call stack of the parent Promise.\n // Derivation is done so that the inner PSD __proto__ points to the outer PSD.\n // PSD.lockOwnerFor will point to current transaction object if the currently executing PSD scope owns the lock.\n return this._reculock && PSD.lockOwnerFor !== this;\n }\n\n /** Transaction.create()\n * \n * Internal method.\n * \n */\n create(idbtrans?: IDBTransaction) {\n if (!this.mode) return this;\n const idbdb = this.db.idbdb;\n const dbOpenError = this.db._state.dbOpenError;\n assert(!this.idbtrans);\n if (!idbtrans && !idbdb) {\n switch (dbOpenError && dbOpenError.name) {\n case \"DatabaseClosedError\":\n // Errors where it is no difference whether it was caused by the user operation or an earlier call to db.open()\n throw new exceptions.DatabaseClosed(dbOpenError);\n case \"MissingAPIError\":\n // Errors where it is no difference whether it was caused by the user operation or an earlier call to db.open()\n throw new exceptions.MissingAPI(dbOpenError.message, dbOpenError);\n default:\n // Make it clear that the user operation was not what caused the error - the error had occurred earlier on db.open()!\n throw new exceptions.OpenFailed(dbOpenError);\n }\n }\n if (!this.active) throw new exceptions.TransactionInactive();\n assert(this._completion._state === null); // Completion Promise must still be pending.\n\n idbtrans = this.idbtrans = idbtrans ||\n (this.db.core \n ? this.db.core.transaction(this.storeNames, this.mode as 'readwrite' | 'readonly', { durability: this.chromeTransactionDurability })\n : idbdb.transaction(this.storeNames, this.mode, { durability: this.chromeTransactionDurability })\n ) as IDBTransaction;\n\n idbtrans.onerror = wrap(ev => {\n preventDefault(ev);// Prohibit default bubbling to window.error\n this._reject(idbtrans.error);\n });\n idbtrans.onabort = wrap(ev => {\n preventDefault(ev);\n this.active && this._reject(new exceptions.Abort(idbtrans.error));\n this.active = false;\n this.on(\"abort\").fire(ev);\n });\n idbtrans.oncomplete = wrap(() => {\n this.active = false;\n this._resolve();\n if ('mutatedParts' in idbtrans) {\n globalEvents.storagemutated.fire(idbtrans[\"mutatedParts\"]);\n }\n });\n return this;\n }\n\n /** Transaction._promise()\n * \n * Internal method.\n */\n _promise(\n mode: IDBTransactionMode,\n fn: (resolve, reject, trans: Transaction) => PromiseLike | void,\n bWriteLock?: string | boolean): DexiePromise\n {\n if (mode === 'readwrite' && this.mode !== 'readwrite')\n return rejection(new exceptions.ReadOnly(\"Transaction is readonly\"));\n\n if (!this.active)\n return rejection(new exceptions.TransactionInactive());\n\n if (this._locked()) {\n return new DexiePromise((resolve, reject) => {\n this._blockedFuncs.push([() => {\n this._promise(mode, fn, bWriteLock).then(resolve, reject);\n }, PSD]);\n });\n\n } else if (bWriteLock) {\n return newScope(() => {\n var p = new DexiePromise((resolve, reject) => {\n this._lock();\n const rv = fn(resolve, reject, this);\n if (rv && rv.then) rv.then(resolve, reject);\n });\n p.finally(() => this._unlock());\n p._lib = true;\n return p;\n });\n\n } else {\n var p = new DexiePromise((resolve, reject) => {\n var rv = fn(resolve, reject, this);\n if (rv && rv.then) rv.then(resolve, reject);\n });\n p._lib = true;\n return p;\n }\n }\n\n /** Transaction._root()\n * \n * Internal method. Retrieves the root transaction in the tree of sub transactions.\n */\n _root() {\n return this.parent ? this.parent._root() : this;\n }\n\n /** Transaction.waitFor()\n * \n * Internal method. Can be accessed from the public API through\n * Dexie.waitFor(): https://dexie.org/docs/Dexie/Dexie.waitFor()\n * \n **/\n waitFor(promiseLike: PromiseLike) {\n // Always operate on the root transaction (in case this is a sub stransaction)\n var root = this._root();\n // For stability reasons, convert parameter to promise no matter what type is passed to waitFor().\n // (We must be able to call .then() on it.)\n const promise = DexiePromise.resolve(promiseLike);\n if (root._waitingFor) {\n // Already called waitFor(). Wait for both to complete.\n root._waitingFor = root._waitingFor.then(() => promise);\n } else {\n // We're not in waiting state. Start waiting state.\n root._waitingFor = promise;\n root._waitingQueue = [];\n // Start interacting with indexedDB until promise completes:\n var store = root.idbtrans.objectStore(root.storeNames[0]);\n (function spin() {\n ++root._spinCount; // For debugging only\n while (root._waitingQueue.length) (root._waitingQueue.shift())();\n if (root._waitingFor) store.get(-Infinity).onsuccess = spin;\n }());\n }\n var currentWaitPromise = root._waitingFor;\n return new DexiePromise((resolve, reject) => {\n promise.then(\n res => root._waitingQueue.push(wrap(resolve.bind(null, res))),\n err => root._waitingQueue.push(wrap(reject.bind(null, err)))\n ).finally(() => {\n if (root._waitingFor === currentWaitPromise) {\n // No one added a wait after us. Safe to stop the spinning.\n root._waitingFor = null;\n }\n });\n });\n } \n\n /** Transaction.abort()\n * \n * https://dexie.org/docs/Transaction/Transaction.abort()\n */\n abort() {\n if (this.active) {\n this.active = false;\n if (this.idbtrans) this.idbtrans.abort();\n this._reject(new exceptions.Abort());\n }\n }\n\n /** Transaction.table()\n * \n * https://dexie.org/docs/Transaction/Transaction.table()\n */\n table(tableName: string) {\n const memoizedTables = (this._memoizedTables || (this._memoizedTables = {}));\n if (hasOwn(memoizedTables, tableName))\n return memoizedTables[tableName];\n const tableSchema = this.schema[tableName];\n if (!tableSchema) {\n throw new exceptions.NotFound(\"Table \" + tableName + \" not part of transaction\"); \n }\n\n const transactionBoundTable = new this.db.Table(tableName, tableSchema, this);\n transactionBoundTable.core = this.db.core.table(tableName);\n memoizedTables[tableName] = transactionBoundTable;\n return transactionBoundTable;\n }\n}\n","import { IndexSpec } from '../public/types/index-spec';\n\nexport function createIndexSpec(\n name: string,\n keyPath: string | string[],\n unique: boolean,\n multi: boolean,\n auto: boolean,\n compound: boolean,\n isPrimKey: boolean\n): IndexSpec {\n return {\n name,\n keyPath,\n unique,\n multi,\n auto,\n compound,\n src: (unique && !isPrimKey ? '&' : '') + (multi ? '*' : '') + (auto ? \"++\" : \"\") + nameFromKeyPath(keyPath)\n }\n}\n\nexport function nameFromKeyPath (keyPath?: string | string[]): string {\n return typeof keyPath === 'string' ?\n keyPath :\n keyPath ? ('[' + [].join.call(keyPath, '+') + ']') : \"\";\n}\n","import { IndexSpec } from '../public/types/index-spec';\nimport { TableSchema } from '../public/types/table-schema';\nimport { createIndexSpec } from './index-spec';\nimport { arrayToObject } from '../functions/utils';\n\nexport function createTableSchema (\n name: string,\n primKey: IndexSpec,\n indexes: IndexSpec[]\n): TableSchema {\n return {\n name,\n primKey,\n indexes,\n mappedClass: null,\n idxByName: arrayToObject(indexes, index => [index.name, index])\n };\n}\n","import { maxString } from '../globals/constants';\n\nexport function safariMultiStoreFix(storeNames: string[]) {\n return storeNames.length === 1 ? storeNames[0] : storeNames;\n}\n\nexport function getNativeGetDatabaseNamesFn(indexedDB) {\n var fn = indexedDB && (indexedDB.getDatabaseNames || indexedDB.webkitGetDatabaseNames);\n return fn && fn.bind(indexedDB);\n}\n\nexport let getMaxKey = (IdbKeyRange: typeof IDBKeyRange) => {\n try {\n IdbKeyRange.only([[]]);\n getMaxKey = () => [[]];\n return [[]];\n } catch (e) {\n getMaxKey = () => maxString;\n return maxString;\n }\n}\n","import { getByKeyPath } from '../functions/utils';\n\nexport function getKeyExtractor (keyPath: null | string | string[]) : (a: any) => any {\n if (keyPath == null) {\n return () => undefined;\n } else if (typeof keyPath === 'string') {\n return getSinglePathKeyExtractor(keyPath);\n } else {\n return obj => getByKeyPath(obj, keyPath);\n }\n}\n\nexport function getSinglePathKeyExtractor(keyPath: string) {\n const split = keyPath.split('.');\n if (split.length === 1) {\n return obj => obj[keyPath];\n } else {\n return obj => getByKeyPath(obj, keyPath);\n }\n}\n","import {\n DBCore,\n DBCoreCursor,\n DBCoreOpenCursorRequest,\n DBCoreQueryRequest,\n DBCoreIndex,\n DBCoreKeyRange,\n DBCoreQueryResponse,\n DBCoreRangeType,\n DBCoreSchema,\n DBCoreTableSchema,\n DBCoreTable,\n DBCoreMutateResponse,\n} from \"../public/types/dbcore\";\nimport { isArray } from '../functions/utils';\nimport { eventRejectHandler, preventDefault } from '../functions/event-wrappers';\nimport { wrap } from '../helpers/promise';\nimport { getMaxKey } from '../functions/quirks';\nimport { getKeyExtractor } from './get-key-extractor';\n\nexport function arrayify(arrayLike: {length: number, [index: number]: T}): T[] {\n return [].slice.call(arrayLike);\n}\nexport function pick(obj: T, props: Prop[]): Pick {\n const result = {} as Pick;\n props.forEach(prop => result[prop] = obj[prop]);\n return result;\n}\n\nlet _id_counter = 0;\n\nexport function getKeyPathAlias(keyPath: null | string | string[]) {\n return keyPath == null ?\n \":id\" :\n typeof keyPath === 'string' ?\n keyPath :\n `[${keyPath.join('+')}]`;\n}\n\nexport function createDBCore (\n db: IDBDatabase,\n IdbKeyRange: typeof IDBKeyRange,\n tmpTrans: IDBTransaction) : DBCore\n{\n function extractSchema(db: IDBDatabase, trans: IDBTransaction) : {schema: DBCoreSchema, hasGetAll: boolean} {\n const tables = arrayify(db.objectStoreNames);\n return {\n schema: {\n name: db.name,\n tables: tables.map(table => trans.objectStore(table)).map(store => {\n const {keyPath, autoIncrement} = store;\n const compound = isArray(keyPath);\n const outbound = keyPath == null;\n const indexByKeyPath: {[keyPathAlias: string]: DBCoreIndex} = {};\n const result = {\n name: store.name,\n primaryKey: {\n name: null,\n isPrimaryKey: true,\n outbound,\n compound,\n keyPath,\n autoIncrement,\n unique: true,\n extractKey: getKeyExtractor(keyPath)\n } as DBCoreIndex,\n indexes: arrayify(store.indexNames).map(indexName => store.index(indexName))\n .map(index => {\n const {name, unique, multiEntry, keyPath} = index;\n const compound = isArray(keyPath);\n const result: DBCoreIndex = {\n name,\n compound,\n keyPath,\n unique,\n multiEntry,\n extractKey: getKeyExtractor(keyPath)\n };\n indexByKeyPath[getKeyPathAlias(keyPath)] = result;\n return result;\n }),\n getIndexByKeyPath: (keyPath: null | string | string[]) => indexByKeyPath[getKeyPathAlias(keyPath)]\n };\n indexByKeyPath[\":id\"] = result.primaryKey;\n if (keyPath != null) {\n indexByKeyPath[getKeyPathAlias(keyPath)] = result.primaryKey;\n }\n return result;\n })\n },\n hasGetAll: tables.length > 0 && ('getAll' in trans.objectStore(tables[0])) &&\n !(typeof navigator !== 'undefined' && /Safari/.test(navigator.userAgent) &&\n !/(Chrome\\/|Edge\\/)/.test(navigator.userAgent) &&\n [].concat(navigator.userAgent.match(/Safari\\/(\\d*)/))[1] < 604) // Bug with getAll() on Safari ver<604. See discussion following PR #579\n };\n }\n\n function makeIDBKeyRange (range: DBCoreKeyRange) : IDBKeyRange | null {\n if (range.type === DBCoreRangeType.Any) return null;\n if (range.type === DBCoreRangeType.Never) throw new Error(\"Cannot convert never type to IDBKeyRange\");\n const {lower, upper, lowerOpen, upperOpen} = range;\n const idbRange = lower === undefined ?\n upper === undefined ?\n null : //IDBKeyRange.lowerBound(-Infinity, false) : // Any range (TODO: Should we return null instead?)\n IdbKeyRange.upperBound(upper, !!upperOpen) : // below\n upper === undefined ?\n IdbKeyRange.lowerBound(lower, !!lowerOpen) : // above\n IdbKeyRange.bound(lower, upper, !!lowerOpen, !!upperOpen);\n return idbRange;\n }\n\n function createDbCoreTable(tableSchema: DBCoreTableSchema): DBCoreTable {\n const tableName = tableSchema.name;\n\n function mutate ({trans, type, keys, values, range}) {\n return new Promise((resolve, reject) => {\n resolve = wrap(resolve);\n const store = (trans as IDBTransaction).objectStore(tableName);\n const outbound = store.keyPath == null;\n const isAddOrPut = type === \"put\" || type === \"add\";\n if (!isAddOrPut && type !== 'delete' && type !== 'deleteRange')\n throw new Error (\"Invalid operation type: \" + type);\n\n const {length} = keys || values || {length: 1}; // keys.length if keys. values.length if values. 1 if range.\n if (keys && values && keys.length !== values.length) {\n throw new Error(\"Given keys array must have same length as given values array.\");\n }\n if (length === 0)\n // No items to write. Don't even bother!\n return resolve({numFailures: 0, failures: {}, results: [], lastResult: undefined});\n\n let req: IDBRequest;\n const reqs: IDBRequest[] = [];\n \n const failures: {[operationNumber: number]: Error} = [];\n let numFailures = 0;\n const errorHandler = \n event => {\n ++numFailures;\n preventDefault(event);\n };\n \n if (type === 'deleteRange') {\n // Here the argument is the range\n if (range.type === DBCoreRangeType.Never)\n return resolve({numFailures, failures, results: [], lastResult: undefined}); // Deleting the Never range shoulnt do anything.\n if (range.type === DBCoreRangeType.Any)\n reqs.push(req = store.clear()); // Deleting the Any range is equivalent to store.clear()\n else\n reqs.push(req = store.delete(makeIDBKeyRange(range)));\n } else {\n // No matter add, put or delete - find out arrays of first and second arguments to it.\n const [args1, args2] = isAddOrPut ?\n outbound ?\n [values, keys] :\n [values, null] :\n [keys, null];\n\n if (isAddOrPut) {\n for (let i=0; i {\n const lastResult = event.target.result;\n reqs.forEach((req, i) => req.error != null && (failures[i] = req.error));\n resolve({\n numFailures,\n failures,\n results: type === \"delete\" ? keys : reqs.map(req => req.result),\n lastResult\n });\n };\n \n req.onerror = event => { // wrap() not needed. All paths calling outside will wrap!\n errorHandler(event);\n done(event);\n };\n \n req.onsuccess = done;\n });\n }\n \n function openCursor ({trans, values, query, reverse, unique}: DBCoreOpenCursorRequest): Promise\n {\n return new Promise((resolve, reject) => {\n resolve = wrap(resolve);\n const {index, range} = query;\n const store = (trans as IDBTransaction).objectStore(tableName);\n // source\n const source = index.isPrimaryKey ?\n store :\n store.index(index.name);\n // direction\n const direction = reverse ?\n unique ?\n \"prevunique\" :\n \"prev\" :\n unique ?\n \"nextunique\" :\n \"next\";\n // request\n const req = values || !('openKeyCursor' in source) ?\n source.openCursor(makeIDBKeyRange(range), direction) :\n source.openKeyCursor(makeIDBKeyRange(range), direction);\n \n // iteration\n req.onerror = eventRejectHandler(reject);\n req.onsuccess = wrap(ev => {\n\n const cursor = req.result as unknown as DBCoreCursor;\n if (!cursor) {\n resolve(null);\n return;\n }\n (cursor as any).___id = ++_id_counter;\n (cursor as any).done = false;\n const _cursorContinue = cursor.continue.bind(cursor);\n let _cursorContinuePrimaryKey = cursor.continuePrimaryKey;\n if (_cursorContinuePrimaryKey) _cursorContinuePrimaryKey = _cursorContinuePrimaryKey.bind(cursor);\n const _cursorAdvance = cursor.advance.bind(cursor);\n const doThrowCursorIsNotStarted = ()=>{throw new Error(\"Cursor not started\");}\n const doThrowCursorIsStopped = ()=>{throw new Error(\"Cursor not stopped\");}\n (cursor as any).trans = trans;\n cursor.stop = cursor.continue = cursor.continuePrimaryKey = cursor.advance = doThrowCursorIsNotStarted;\n cursor.fail = wrap(reject);\n cursor.next = function (this: DBCoreCursor) {\n // next() must work with \"this\" pointer in order to function correctly for ProxyCursors (derived objects)\n // without having to re-define next() on each child.\n let gotOne = 1;\n return this.start(() => gotOne-- ? this.continue() : this.stop()).then(() => this);\n };\n cursor.start = (callback) => {\n //console.log(\"Starting cursor\", (cursor as any).___id);\n const iterationPromise = new Promise((resolveIteration, rejectIteration) =>{\n resolveIteration = wrap(resolveIteration);\n req.onerror = eventRejectHandler(rejectIteration);\n cursor.fail = rejectIteration;\n cursor.stop = value => {\n //console.log(\"Cursor stop\", cursor);\n cursor.stop = cursor.continue = cursor.continuePrimaryKey = cursor.advance = doThrowCursorIsStopped;\n resolveIteration(value);\n };\n });\n // Now change req.onsuccess to a callback that doesn't call initCursor but just observer.next()\n const guardedCallback = () => {\n if (req.result) {\n //console.log(\"Next result\", cursor);\n try {\n callback();\n } catch (err) {\n cursor.fail(err);\n }\n } else {\n (cursor as any).done = true;\n cursor.start = ()=>{throw new Error(\"Cursor behind last entry\");}\n cursor.stop();\n }\n }\n req.onsuccess = wrap(ev => {\n //cursor.continue = _cursorContinue;\n //cursor.continuePrimaryKey = _cursorContinuePrimaryKey;\n //cursor.advance = _cursorAdvance;\n req.onsuccess = guardedCallback;\n guardedCallback();\n });\n cursor.continue = _cursorContinue;\n cursor.continuePrimaryKey = _cursorContinuePrimaryKey;\n cursor.advance = _cursorAdvance;\n guardedCallback();\n return iterationPromise;\n };\n resolve(cursor);\n }, reject); \n });\n }\n \n function query (hasGetAll: boolean) {\n return (request: DBCoreQueryRequest) => {\n return new Promise((resolve, reject) => {\n resolve = wrap(resolve);\n const {trans, values, limit, query} = request;\n const nonInfinitLimit = limit === Infinity ? undefined : limit;\n const {index, range} = query;\n const store = (trans as IDBTransaction).objectStore(tableName);\n const source = index.isPrimaryKey ? store : store.index(index.name);\n const idbKeyRange = makeIDBKeyRange(range);\n if (limit === 0) return resolve({result: []});\n if (hasGetAll) {\n const req = values ?\n (source as any).getAll(idbKeyRange, nonInfinitLimit) :\n (source as any).getAllKeys(idbKeyRange, nonInfinitLimit);\n req.onsuccess = event => resolve({result: event.target.result});\n req.onerror = eventRejectHandler(reject);\n } else {\n let count = 0;\n const req = values || !('openKeyCursor' in source) ?\n source.openCursor(idbKeyRange) :\n source.openKeyCursor(idbKeyRange)\n const result = [];\n req.onsuccess = event => {\n const cursor = req.result as IDBCursorWithValue;\n if (!cursor) return resolve({result});\n result.push(values ? cursor.value : cursor.primaryKey);\n if (++count === limit) return resolve({result});\n cursor.continue();\n };\n req.onerror = eventRejectHandler(reject);\n }\n });\n };\n }\n \n return {\n name: tableName,\n schema: tableSchema,\n \n mutate,\n\n getMany ({trans, keys}) {\n return new Promise((resolve, reject) => {\n resolve = wrap(resolve);\n const store = (trans as IDBTransaction).objectStore(tableName);\n const length = keys.length;\n const result = new Array(length);\n let keyCount = 0;\n let callbackCount = 0;\n let valueCount = 0;\n let req: IDBRequest & {_pos?: number};\n \n const successHandler = event => {\n const req = event.target;\n if ((result[req._pos] = req.result) != null) ++valueCount;\n if (++callbackCount === keyCount) resolve(result);\n };\n const errorHandler = eventRejectHandler(reject);\n \n for (let i=0; i((resolve, reject) => {\n resolve = wrap (resolve);\n const store = (trans as IDBTransaction).objectStore(tableName);\n const req = store.get(key);\n req.onsuccess = event => resolve((event.target as any).result);\n req.onerror = eventRejectHandler(reject);\n });\n },\n\n query: query(hasGetAll),\n \n openCursor,\n\n count ({query, trans}) {\n const {index, range} = query;\n return new Promise((resolve, reject) => {\n const store = (trans as IDBTransaction).objectStore(tableName);\n const source = index.isPrimaryKey ? store : store.index(index.name);\n const idbKeyRange = makeIDBKeyRange(range);\n const req = idbKeyRange ? source.count(idbKeyRange) : source.count();\n req.onsuccess = wrap(ev => resolve((ev.target as IDBRequest).result));\n req.onerror = eventRejectHandler(reject);\n });\n }\n };\n }\n\n const {schema, hasGetAll} = extractSchema(db, tmpTrans);\n const tables = schema.tables.map(tableSchema => createDbCoreTable(tableSchema));\n const tableMap: {[name: string]: DBCoreTable} = {};\n tables.forEach(table => tableMap[table.name] = table);\n return {\n stack: \"dbcore\",\n \n transaction: db.transaction.bind(db),\n\n table(name: string) {\n const result = tableMap[name];\n if (!result) throw new Error(`Table '${name}' not found`);\n return tableMap[name];\n },\n\n MIN_KEY: -Infinity,\n\n MAX_KEY: getMaxKey(IdbKeyRange),\n\n schema\n\n };\n}\n","import { Dexie } from './';\nimport { createDBCore } from '../../dbcore/dbcore-indexeddb';\nimport { DBCore } from '../../public/types/dbcore';\nimport { DexieDOMDependencies } from '../../public/types/dexie-dom-dependencies';\nimport { DexieStacks, Middleware } from '../../public/types/middleware';\nimport { exceptions } from '../../errors';\n\nfunction createMiddlewareStack(\n stackImpl: {stack: string},\n middlewares: Middleware<{stack: string}>[]): TStack {\n return middlewares.reduce((down, {create}) => ({...down, ...create(down)}), stackImpl) as TStack;\n} \n\nfunction createMiddlewareStacks(\n middlewares: {[StackName in keyof DexieStacks]?: Middleware[]},\n idbdb: IDBDatabase,\n {IDBKeyRange, indexedDB}: DexieDOMDependencies,\n tmpTrans: IDBTransaction): {[StackName in keyof DexieStacks]?: DexieStacks[StackName]}\n{\n const dbcore = createMiddlewareStack(\n createDBCore(idbdb, IDBKeyRange, tmpTrans),\n middlewares.dbcore);\n \n // TODO: Create other stacks the same way as above. They might be dependant on the result\n // of creating dbcore stack.\n\n return {\n dbcore\n };\n}\n\nexport function generateMiddlewareStacks({_novip: db}: Dexie, tmpTrans: IDBTransaction) {\n const idbdb = tmpTrans.db;\n const stacks = createMiddlewareStacks(db._middlewares, idbdb, db._deps, tmpTrans);\n db.core = stacks.dbcore!;\n db.tables.forEach(table => {\n const tableName = table.name;\n if (db.core.schema.tables.some(tbl => tbl.name === tableName)) {\n table.core = db.core.table(tableName);\n if (db[tableName] instanceof db.Table) {\n db[tableName].core = table.core;\n }\n }\n });\n}\n","import { Dexie } from '../dexie';\nimport { DbSchema } from '../../public/types/db-schema';\nimport { _global } from \"../../globals/global\";\nimport { setProp, keys, slice, isArray, shallowClone, isAsyncFunction, defineProperty, getPropertyDescriptor } from '../../functions/utils';\nimport { Transaction } from '../transaction';\nimport { Version } from './version';\nimport Promise, { PSD, newScope, NativePromise, decrementExpectedAwaits, incrementExpectedAwaits } from '../../helpers/promise';\nimport { exceptions } from '../../errors';\nimport { TableSchema } from '../../public/types/table-schema';\nimport { IndexSpec } from '../../public/types/index-spec';\nimport { hasIEDeleteObjectStoreBug, isIEOrEdge } from '../../globals/constants';\nimport { safariMultiStoreFix } from '../../functions/quirks';\nimport { createIndexSpec, nameFromKeyPath } from '../../helpers/index-spec';\nimport { createTableSchema } from '../../helpers/table-schema';\nimport { generateMiddlewareStacks } from '../dexie/generate-middleware-stacks';\n\nexport function setApiOnPlace({_novip: db}: Dexie, objs: Object[], tableNames: string[], dbschema: DbSchema) {\n tableNames.forEach(tableName => {\n const schema = dbschema[tableName];\n objs.forEach(obj => {\n const propDesc = getPropertyDescriptor(obj, tableName);\n if (!propDesc || (\"value\" in propDesc && propDesc.value === undefined)) {\n // Either the prop is not declared, or it is initialized to undefined.\n if (obj === db.Transaction.prototype || obj instanceof db.Transaction) {\n // obj is a Transaction prototype (or prototype of a subclass to Transaction)\n // Make the API a getter that returns this.table(tableName)\n setProp(obj, tableName, {\n get(this: Transaction) { return this.table(tableName); },\n set(value: any) {\n // Issue #1039\n // Let \"this.schema = dbschema;\" and other props in transaction constructor work even if there's a name collision with the table name.\n defineProperty(this, tableName, {value, writable: true, configurable: true, enumerable: true});\n }\n });\n } else {\n // Table will not be bound to a transaction (will use Dexie.currentTransaction)\n obj[tableName] = new db.Table(tableName, schema);\n }\n }\n });\n });\n}\n\nexport function removeTablesApi({_novip: db}: Dexie, objs: Object[]) {\n objs.forEach(obj => {\n for (let key in obj) {\n if (obj[key] instanceof db.Table) delete obj[key];\n }\n });\n}\n\nexport function lowerVersionFirst(a: Version, b: Version) {\n return a._cfg.version - b._cfg.version;\n}\n\nexport function runUpgraders(db: Dexie, oldVersion: number, idbUpgradeTrans: IDBTransaction, reject) {\n const globalSchema = db._dbSchema;\n const trans = db._createTransaction('readwrite', db._storeNames, globalSchema);\n trans.create(idbUpgradeTrans);\n trans._completion.catch(reject);\n const rejectTransaction = trans._reject.bind(trans);\n const transless = PSD.transless || PSD;\n newScope(() => {\n PSD.trans = trans;\n PSD.transless = transless;\n if (oldVersion === 0) {\n // Create tables:\n keys(globalSchema).forEach(tableName => {\n createTable(idbUpgradeTrans, tableName, globalSchema[tableName].primKey, globalSchema[tableName].indexes);\n });\n generateMiddlewareStacks(db, idbUpgradeTrans);\n Promise.follow(() => db.on.populate.fire(trans)).catch(rejectTransaction);\n } else\n updateTablesAndIndexes(db, oldVersion, trans, idbUpgradeTrans).catch(rejectTransaction);\n });\n}\n\nexport type UpgradeQueueItem = (idbtrans: IDBTransaction) => PromiseLike | void;\n\nexport function updateTablesAndIndexes(\n {_novip: db}: Dexie,\n oldVersion: number,\n trans: Transaction,\n idbUpgradeTrans: IDBTransaction)\n{\n // Upgrade version to version, step-by-step from oldest to newest version.\n // Each transaction object will contain the table set that was current in that version (but also not-yet-deleted tables from its previous version)\n const queue: UpgradeQueueItem[] = [];\n const versions = db._versions;\n let globalSchema = db._dbSchema = buildGlobalSchema(db, db.idbdb, idbUpgradeTrans);\n let anyContentUpgraderHasRun = false;\n\n const versToRun = versions.filter(v => v._cfg.version >= oldVersion);\n versToRun.forEach(version => {\n queue.push(() => {\n const oldSchema = globalSchema;\n const newSchema = version._cfg.dbschema;\n adjustToExistingIndexNames(db, oldSchema, idbUpgradeTrans);\n adjustToExistingIndexNames(db, newSchema, idbUpgradeTrans);\n\n globalSchema = db._dbSchema = newSchema;\n\n const diff = getSchemaDiff(oldSchema, newSchema);\n // Add tables \n diff.add.forEach(tuple => {\n createTable(idbUpgradeTrans, tuple[0], tuple[1].primKey, tuple[1].indexes);\n });\n // Change tables\n diff.change.forEach(change => {\n if (change.recreate) {\n throw new exceptions.Upgrade(\"Not yet support for changing primary key\");\n } else {\n const store = idbUpgradeTrans.objectStore(change.name);\n // Add indexes\n change.add.forEach(idx => addIndex(store, idx));\n // Update indexes\n change.change.forEach(idx => {\n store.deleteIndex(idx.name);\n addIndex(store, idx);\n });\n // Delete indexes\n change.del.forEach(idxName => store.deleteIndex(idxName));\n }\n });\n\n const contentUpgrade = version._cfg.contentUpgrade;\n\n if (contentUpgrade && version._cfg.version > oldVersion) {\n // Update db.core with new tables and indexes:\n generateMiddlewareStacks(db, idbUpgradeTrans);\n trans._memoizedTables = {}; // Invalidate memoization as transaction shape may change between versions.\n\n anyContentUpgraderHasRun = true;\n\n // Add to-be-deleted tables to contentUpgrade transaction\n let upgradeSchema = shallowClone(newSchema);\n diff.del.forEach(table => {\n upgradeSchema[table] = oldSchema[table];\n });\n\n // Safe to affect Transaction.prototype globally in this moment,\n // because when this code runs, there may not be any other code\n // that can access any transaction instance, else than this particular\n // upgrader function.\n removeTablesApi(db, [db.Transaction.prototype]);\n setApiOnPlace(db, [db.Transaction.prototype], keys(upgradeSchema), upgradeSchema);\n trans.schema = upgradeSchema;\n\n // Support for native async await.\n const contentUpgradeIsAsync = isAsyncFunction(contentUpgrade);\n if (contentUpgradeIsAsync) {\n incrementExpectedAwaits();\n }\n \n let returnValue: any;\n const promiseFollowed = Promise.follow(() => {\n // Finally, call the scope function with our table and transaction arguments.\n returnValue = contentUpgrade(trans);\n if (returnValue) {\n if (contentUpgradeIsAsync) {\n // contentUpgrade is a native async function - we know for sure returnValue is native promise.\n var decrementor = decrementExpectedAwaits.bind(null, null);\n returnValue.then(decrementor, decrementor);\n }\n }\n });\n return (returnValue && typeof returnValue.then === 'function' ?\n Promise.resolve(returnValue) : promiseFollowed.then(()=>returnValue));\n }\n });\n queue.push(idbtrans => {\n if (!anyContentUpgraderHasRun || !hasIEDeleteObjectStoreBug) { // Dont delete old tables if ieBug is present and a content upgrader has run. Let tables be left in DB so far. This needs to be taken care of.\n const newSchema = version._cfg.dbschema;\n // Delete old tables\n deleteRemovedTables(newSchema, idbtrans);\n }\n // Restore the final API\n removeTablesApi(db, [db.Transaction.prototype]);\n setApiOnPlace(db, [db.Transaction.prototype], db._storeNames, db._dbSchema);\n trans.schema = db._dbSchema;\n });\n });\n\n // Now, create a queue execution engine\n function runQueue() {\n return queue.length ? Promise.resolve(queue.shift()(trans.idbtrans)).then(runQueue) :\n Promise.resolve();\n }\n\n return runQueue().then(() => {\n createMissingTables(globalSchema, idbUpgradeTrans); // At last, make sure to create any missing tables. (Needed by addons that add stores to DB without specifying version)\n });\n}\n\nexport interface SchemaDiff {\n del: string[],\n add: [string, TableSchema][];\n change: TableSchemaDiff[];\n}\n\nexport interface TableSchemaDiff {\n name: string,\n recreate: boolean,\n del: string[],\n add: IndexSpec[],\n change: IndexSpec[]\n}\n\nexport function getSchemaDiff(oldSchema: DbSchema, newSchema: DbSchema): SchemaDiff {\n const diff: SchemaDiff = {\n del: [], // Array of table names\n add: [], // Array of [tableName, newDefinition]\n change: [] // Array of {name: tableName, recreate: newDefinition, del: delIndexNames, add: newIndexDefs, change: changedIndexDefs}\n };\n let table: string;\n for (table in oldSchema) {\n if (!newSchema[table]) diff.del.push(table);\n }\n for (table in newSchema) {\n const oldDef = oldSchema[table],\n newDef = newSchema[table];\n if (!oldDef) {\n diff.add.push([table, newDef]);\n } else {\n const change = {\n name: table,\n def: newDef,\n recreate: false,\n del: [],\n add: [],\n change: []\n };\n if (\n (\n // compare keyPaths no matter if string or string[]\n // compare falsy keypaths same no matter if they are null or empty string.\n ''+(oldDef.primKey.keyPath||'')\n ) !== (\n ''+(newDef.primKey.keyPath||'')\n ) ||\n // Compare the autoIncrement flag also\n (oldDef.primKey.auto !== newDef.primKey.auto && !isIEOrEdge)) // IE has bug reading autoIncrement prop.\n {\n // Primary key has changed. Remove and re-add table.\n change.recreate = true;\n diff.change.push(change);\n } else {\n // Same primary key. Just find out what differs:\n const oldIndexes = oldDef.idxByName;\n const newIndexes = newDef.idxByName;\n let idxName: string;\n for (idxName in oldIndexes) {\n if (!newIndexes[idxName]) change.del.push(idxName);\n }\n for (idxName in newIndexes) {\n const oldIdx = oldIndexes[idxName],\n newIdx = newIndexes[idxName];\n if (!oldIdx) change.add.push(newIdx);\n else if (oldIdx.src !== newIdx.src) change.change.push(newIdx);\n }\n if (change.del.length > 0 || change.add.length > 0 || change.change.length > 0) {\n diff.change.push(change);\n }\n }\n }\n }\n return diff;\n}\n\nexport function createTable(\n idbtrans: IDBTransaction,\n tableName: string,\n primKey: IndexSpec,\n indexes: IndexSpec[]\n) {\n const store = idbtrans.db.createObjectStore(\n tableName,\n primKey.keyPath ?\n { keyPath: primKey.keyPath, autoIncrement: primKey.auto } :\n { autoIncrement: primKey.auto }\n );\n indexes.forEach(idx => addIndex(store, idx));\n return store;\n}\n\nexport function createMissingTables(newSchema: DbSchema, idbtrans: IDBTransaction) {\n keys(newSchema).forEach(tableName => {\n if (!idbtrans.db.objectStoreNames.contains(tableName)) {\n createTable(idbtrans, tableName, newSchema[tableName].primKey, newSchema[tableName].indexes);\n }\n });\n}\n\nexport function deleteRemovedTables(newSchema: DbSchema, idbtrans: IDBTransaction) {\n [].slice.call(idbtrans.db.objectStoreNames).forEach(storeName =>\n newSchema[storeName] == null && idbtrans.db.deleteObjectStore(storeName));\n}\n\nexport function addIndex(store: IDBObjectStore, idx: IndexSpec) {\n store.createIndex(idx.name, idx.keyPath, { unique: idx.unique, multiEntry: idx.multi });\n}\n\nfunction buildGlobalSchema(\n db: Dexie,\n idbdb: IDBDatabase,\n tmpTrans: IDBTransaction\n) {\n const globalSchema = {};\n const dbStoreNames = slice(idbdb.objectStoreNames, 0);\n dbStoreNames.forEach(storeName => {\n const store = tmpTrans.objectStore(storeName);\n let keyPath = store.keyPath;\n const primKey = createIndexSpec(\n nameFromKeyPath(keyPath),\n keyPath || \"\",\n false,\n false,\n !!store.autoIncrement,\n keyPath && typeof keyPath !== \"string\",\n true\n );\n const indexes: IndexSpec[] = [];\n for (let j = 0; j < store.indexNames.length; ++j) {\n const idbindex = store.index(store.indexNames[j]);\n keyPath = idbindex.keyPath;\n var index = createIndexSpec(\n idbindex.name,\n keyPath,\n !!idbindex.unique,\n !!idbindex.multiEntry,\n false,\n keyPath && typeof keyPath !== \"string\",\n false\n );\n indexes.push(index);\n }\n globalSchema[storeName] = createTableSchema(storeName, primKey, indexes);\n });\n return globalSchema;\n}\n\nexport function readGlobalSchema({_novip: db}: Dexie, idbdb: IDBDatabase, tmpTrans: IDBTransaction) {\n db.verno = idbdb.version / 10;\n const globalSchema = db._dbSchema = buildGlobalSchema(db, idbdb, tmpTrans);\n db._storeNames = slice(idbdb.objectStoreNames, 0);\n setApiOnPlace(db, [db._allTables], keys(globalSchema), globalSchema);\n}\n\nexport function verifyInstalledSchema(db: Dexie, tmpTrans: IDBTransaction): boolean {\n const installedSchema = buildGlobalSchema(db, db.idbdb, tmpTrans);\n const diff = getSchemaDiff(installedSchema, db._dbSchema);\n return !(diff.add.length || diff.change.some(ch => ch.add.length || ch.change.length));\n}\n\nexport function adjustToExistingIndexNames({_novip: db}: Dexie, schema: DbSchema, idbtrans: IDBTransaction) {\n // Issue #30 Problem with existing db - adjust to existing index names when migrating from non-dexie db\n const storeNames = idbtrans.db.objectStoreNames;\n\n for (let i = 0; i < storeNames.length; ++i) {\n const storeName = storeNames[i];\n const store = idbtrans.objectStore(storeName);\n db._hasGetAll = 'getAll' in store;\n\n for (let j = 0; j < store.indexNames.length; ++j) {\n const indexName = store.indexNames[j];\n const keyPath = store.index(indexName).keyPath;\n const dexieName = typeof keyPath === 'string' ? keyPath : \"[\" + slice(keyPath).join('+') + \"]\";\n if (schema[storeName]) {\n const indexSpec = schema[storeName].idxByName[dexieName];\n if (indexSpec) {\n indexSpec.name = indexName;\n delete schema[storeName].idxByName[dexieName];\n schema[storeName].idxByName[indexName] = indexSpec;\n }\n }\n }\n }\n\n // Bug with getAll() on Safari ver<604 on Workers only, see discussion following PR #579\n if (typeof navigator !== 'undefined' && /Safari/.test(navigator.userAgent) &&\n !/(Chrome\\/|Edge\\/)/.test(navigator.userAgent) &&\n _global.WorkerGlobalScope && _global instanceof _global.WorkerGlobalScope &&\n [].concat(navigator.userAgent.match(/Safari\\/(\\d*)/))[1] < 604)\n {\n db._hasGetAll = false;\n }\n}\n\nexport function parseIndexSyntax(primKeyAndIndexes: string): IndexSpec[] {\n return primKeyAndIndexes.split(',').map((index, indexNum) => {\n index = index.trim();\n const name = index.replace(/([&*]|\\+\\+)/g, \"\"); // Remove \"&\", \"++\" and \"*\"\n // Let keyPath of \"[a+b]\" be [\"a\",\"b\"]:\n const keyPath = /^\\[/.test(name) ? name.match(/^\\[(.*)\\]$/)[1].split('+') : name;\n\n return createIndexSpec(\n name,\n keyPath || null,\n /\\&/.test(index),\n /\\*/.test(index),\n /\\+\\+/.test(index),\n isArray(keyPath),\n indexNum === 0\n );\n });\n}\n","import { Version as IVersion } from '../../public/types/version';\nimport { DbSchema } from '../../public/types/db-schema';\nimport { extend, keys } from '../../functions/utils';\nimport { Dexie } from '../dexie';\nimport { Transaction } from '../transaction';\nimport { removeTablesApi, setApiOnPlace, parseIndexSyntax } from './schema-helpers';\nimport { exceptions } from '../../errors';\nimport { createTableSchema } from '../../helpers/table-schema';\nimport { nop, promisableChain } from '../../functions/chaining-functions';\n\n/** class Version\n *\n * https://dexie.org/docs/Version/Version\n */\nexport class Version implements IVersion {\n db: Dexie;\n _cfg: {\n version: number,\n storesSource: { [tableName: string]: string | null },\n dbschema: DbSchema,\n tables: {},\n contentUpgrade: Function | null\n }\n\n _parseStoresSpec(stores: { [tableName: string]: string | null }, outSchema: DbSchema): any {\n keys(stores).forEach(tableName => {\n if (stores[tableName] !== null) {\n var indexes = parseIndexSyntax(stores[tableName]);\n var primKey = indexes.shift();\n if (primKey.multi) throw new exceptions.Schema(\"Primary key cannot be multi-valued\");\n indexes.forEach(idx => {\n if (idx.auto) throw new exceptions.Schema(\"Only primary key can be marked as autoIncrement (++)\");\n if (!idx.keyPath) throw new exceptions.Schema(\"Index must have a name and cannot be an empty string\");\n });\n outSchema[tableName] = createTableSchema(tableName, primKey, indexes);\n }\n });\n }\n\n stores(stores: { [key: string]: string | null; }): IVersion {\n const db = this.db;\n this._cfg.storesSource = this._cfg.storesSource ?\n extend(this._cfg.storesSource, stores) :\n stores;\n const versions = db._versions;\n\n // Derive stores from earlier versions if they are not explicitely specified as null or a new syntax.\n const storesSpec: { [key: string]: string; } = {};\n let dbschema = {};\n versions.forEach(version => { // 'versions' is always sorted by lowest version first.\n extend(storesSpec, version._cfg.storesSource);\n dbschema = (version._cfg.dbschema = {});\n version._parseStoresSpec(storesSpec, dbschema);\n });\n // Update the latest schema to this version\n db._dbSchema = dbschema;\n // Update APIs\n removeTablesApi(db, [db._allTables, db, db.Transaction.prototype]);\n setApiOnPlace(db, [db._allTables, db, db.Transaction.prototype, this._cfg.tables], keys(dbschema), dbschema);\n db._storeNames = keys(dbschema);\n return this;\n }\n\n upgrade(upgradeFunction: (trans: Transaction) => PromiseLike | void): Version {\n this._cfg.contentUpgrade = promisableChain(this._cfg.contentUpgrade || nop, upgradeFunction);\n return this;\n }\n}\n","import { Dexie } from \"../classes/dexie/dexie\";\nimport { Table } from \"../public/types/table\";\nimport { DBNAMES_DB } from \"../globals/constants\";\nimport { DexieDOMDependencies } from \"../public/types/dexie-dom-dependencies\";\nimport { nop } from \"../functions/chaining-functions\";\n\ntype IDBKeyNamesVar = typeof IDBKeyRange;\n\nfunction getDbNamesTable(indexedDB: IDBFactory, IDBKeyRange: IDBKeyNamesVar) {\n let dbNamesDB = indexedDB[\"_dbNamesDB\"];\n if (!dbNamesDB) {\n dbNamesDB = indexedDB[\"_dbNamesDB\"] = new Dexie(DBNAMES_DB, {\n addons: [],\n indexedDB,\n IDBKeyRange,\n });\n dbNamesDB.version(1).stores({ dbnames: \"name\" });\n }\n return dbNamesDB.table(\"dbnames\") as Table<{ name: string }, string>;\n}\n\nfunction hasDatabasesNative(indexedDB: IDBFactory) {\n return indexedDB && typeof indexedDB.databases === \"function\";\n}\n\nexport function getDatabaseNames({\n indexedDB,\n IDBKeyRange,\n}: DexieDOMDependencies) {\n return hasDatabasesNative(indexedDB)\n ? Promise.resolve(indexedDB.databases()).then((infos) =>\n infos\n // Select name prop of infos:\n .map((info) => info.name)\n // Filter out DBNAMES_DB as previous Dexie or browser version would not have included it in the result.\n .filter((name) => name !== DBNAMES_DB)\n )\n : getDbNamesTable(indexedDB, IDBKeyRange).toCollection().primaryKeys();\n}\n\nexport function _onDatabaseCreated(\n { indexedDB, IDBKeyRange }: DexieDOMDependencies,\n name: string\n) {\n !hasDatabasesNative(indexedDB) &&\n name !== DBNAMES_DB &&\n getDbNamesTable(indexedDB, IDBKeyRange).put({name}).catch(nop);\n}\n\nexport function _onDatabaseDeleted(\n { indexedDB, IDBKeyRange }: DexieDOMDependencies,\n name: string\n) {\n !hasDatabasesNative(indexedDB) &&\n name !== DBNAMES_DB &&\n getDbNamesTable(indexedDB, IDBKeyRange).delete(name).catch(nop);\n}\n","import { newScope } from '../../helpers/promise';\nimport { PSD } from '../../helpers/promise';\n\nexport function vip (fn) {\n // To be used by subscribers to the on('ready') event.\n // This will let caller through to access DB even when it is blocked while the db.ready() subscribers are firing.\n // This would have worked automatically if we were certain that the Provider was using Dexie.Promise for all asyncronic operations. The promise PSD\n // from the provider.connect() call would then be derived all the way to when provider would call localDatabase.applyChanges(). But since\n // the provider more likely is using non-promise async APIs or other thenable implementations, we cannot assume that.\n // Note that this method is only useful for on('ready') subscribers that is returning a Promise from the event. If not using vip()\n // the database could deadlock since it wont open until the returned Promise is resolved, and any non-VIPed operation started by\n // the caller will not resolve until database is opened.\n return newScope(function () {\n PSD.letThrough = true; // Make sure we are let through if still blocking db due to onready is firing.\n return fn();\n });\n}\n\n","import { Dexie } from './dexie';\nimport * as Debug from '../../helpers/debug';\nimport { rejection } from '../../helpers/promise';\nimport { exceptions } from '../../errors';\nimport { eventRejectHandler, preventDefault } from '../../functions/event-wrappers';\nimport Promise, { wrap } from '../../helpers/promise';\nimport { connections } from '../../globals/constants';\nimport { runUpgraders, readGlobalSchema, adjustToExistingIndexNames, verifyInstalledSchema } from '../version/schema-helpers';\nimport { safariMultiStoreFix } from '../../functions/quirks';\nimport { _onDatabaseCreated } from '../../helpers/database-enumerator';\nimport { vip } from './vip';\nimport { promisableChain, nop } from '../../functions/chaining-functions';\nimport { generateMiddlewareStacks } from './generate-middleware-stacks';\nimport { slice } from '../../functions/utils';\nimport safari14Workaround from 'safari-14-idb-fix';\n\nexport function dexieOpen (db: Dexie) {\n const state = db._state;\n const {indexedDB} = db._deps;\n if (state.isBeingOpened || db.idbdb)\n return state.dbReadyPromise.then(() => state.dbOpenError ?\n rejection (state.dbOpenError) :\n db);\n Debug.debug && (state.openCanceller._stackHolder = Debug.getErrorWithStack()); // Let stacks point to when open() was called rather than where new Dexie() was called.\n state.isBeingOpened = true;\n state.dbOpenError = null;\n state.openComplete = false;\n const openCanceller = state.openCanceller;\n\n function throwIfCancelled() {\n // If state.openCanceller object reference is replaced, it means db.close() has been called,\n // meaning this open flow should be cancelled.\n if (state.openCanceller !== openCanceller) throw new exceptions.DatabaseClosed('db.open() was cancelled');\n }\n \n // Function pointers to call when the core opening process completes.\n let resolveDbReady = state.dbReadyResolve,\n // upgradeTransaction to abort on failure.\n upgradeTransaction: (IDBTransaction | null) = null,\n wasCreated = false;\n \n // safari14Workaround = Workaround by jakearchibald for new nasty bug in safari 14.\n return Promise.race([openCanceller, (typeof navigator === 'undefined' ? Promise.resolve() : safari14Workaround()).then(() => new Promise((resolve, reject) => {\n // Multiply db.verno with 10 will be needed to workaround upgrading bug in IE:\n // IE fails when deleting objectStore after reading from it.\n // A future version of Dexie.js will stopover an intermediate version to workaround this.\n // At that point, we want to be backward compatible. Could have been multiplied with 2, but by using 10, it is easier to map the number to the real version number.\n \n throwIfCancelled();\n // If no API, throw!\n if (!indexedDB) throw new exceptions.MissingAPI();\n const dbName = db.name;\n \n const req = state.autoSchema ?\n indexedDB.open(dbName) :\n indexedDB.open(dbName, Math.round(db.verno * 10));\n if (!req) throw new exceptions.MissingAPI(); // May happen in Safari private mode, see https://github.com/dfahlander/Dexie.js/issues/134\n req.onerror = eventRejectHandler(reject);\n req.onblocked = wrap(db._fireOnBlocked);\n req.onupgradeneeded = wrap (e => {\n upgradeTransaction = req.transaction;\n if (state.autoSchema && !db._options.allowEmptyDB) { // Unless an addon has specified db._allowEmptyDB, lets make the call fail.\n // Caller did not specify a version or schema. Doing that is only acceptable for opening alread existing databases.\n // If onupgradeneeded is called it means database did not exist. Reject the open() promise and make sure that we\n // do not create a new database by accident here.\n req.onerror = preventDefault; // Prohibit onabort error from firing before we're done!\n upgradeTransaction.abort(); // Abort transaction (would hope that this would make DB disappear but it doesnt.)\n // Close database and delete it.\n req.result.close();\n const delreq = indexedDB.deleteDatabase(dbName); // The upgrade transaction is atomic, and javascript is single threaded - meaning that there is no risk that we delete someone elses database here!\n delreq.onsuccess = delreq.onerror = wrap(() => {\n reject (new exceptions.NoSuchDatabase(`Database ${dbName} doesnt exist`));\n });\n } else {\n upgradeTransaction.onerror = eventRejectHandler(reject);\n var oldVer = e.oldVersion > Math.pow(2, 62) ? 0 : e.oldVersion; // Safari 8 fix.\n wasCreated = oldVer < 1;\n db._novip.idbdb = req.result;// db._novip is because db can be an Object.create(origDb).\n runUpgraders(db, oldVer / 10, upgradeTransaction, reject);\n }\n }, reject);\n \n req.onsuccess = wrap (() => {\n // Core opening procedure complete. Now let's just record some stuff.\n upgradeTransaction = null;\n const idbdb = db._novip.idbdb = req.result; // db._novip is because db can be an Object.create(origDb).\n\n const objectStoreNames = slice(idbdb.objectStoreNames);\n if (objectStoreNames.length > 0) try {\n const tmpTrans = idbdb.transaction(safariMultiStoreFix(objectStoreNames), 'readonly');\n if (state.autoSchema) readGlobalSchema(db, idbdb, tmpTrans);\n else {\n adjustToExistingIndexNames(db, db._dbSchema, tmpTrans);\n if (!verifyInstalledSchema(db, tmpTrans)) {\n console.warn(`Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.`);\n }\n }\n generateMiddlewareStacks(db, tmpTrans);\n } catch (e) {\n // Safari 8 may bail out if > 1 store names. However, this shouldnt be a showstopper. Issue #120.\n // BUGBUG: It will bail out anyway as of Dexie 3.\n // Should we support Safari 8 anymore? Believe all\n // Dexie users use the shim for that platform anyway?!\n // If removing Safari 8 support, go ahead and remove the safariMultiStoreFix() function\n // as well as absurd upgrade version quirk for Safari.\n }\n \n connections.push(db); // Used for emulating versionchange event on IE/Edge/Safari.\n \n idbdb.onversionchange = wrap(ev => {\n state.vcFired = true; // detect implementations that not support versionchange (IE/Edge/Safari)\n db.on(\"versionchange\").fire(ev);\n });\n \n idbdb.onclose = wrap(ev => {\n db.on(\"close\").fire(ev);\n });\n\n if (wasCreated) _onDatabaseCreated(db._deps, dbName);\n\n resolve();\n\n }, reject);\n }))]).then(() => {\n // Before finally resolving the dbReadyPromise and this promise,\n // call and await all on('ready') subscribers:\n // Dexie.vip() makes subscribers able to use the database while being opened.\n // This is a must since these subscribers take part of the opening procedure.\n throwIfCancelled();\n state.onReadyBeingFired = [];\n return Promise.resolve(vip(()=>db.on.ready.fire(db.vip))).then(function fireRemainders() {\n if (state.onReadyBeingFired.length > 0) {\n // In case additional subscribers to db.on('ready') were added during the time db.on.ready.fire was executed.\n let remainders = state.onReadyBeingFired.reduce(promisableChain, nop);\n state.onReadyBeingFired = [];\n return Promise.resolve(vip(()=>remainders(db.vip))).then(fireRemainders)\n }\n });\n }).finally(()=>{\n state.onReadyBeingFired = null;\n state.isBeingOpened = false;\n }).then(()=>{\n // Resolve the db.open() with the db instance.\n return db;\n }).catch(err => {\n state.dbOpenError = err; // Record the error. It will be used to reject further promises of db operations.\n try {\n // Did we fail within onupgradeneeded? Make sure to abort the upgrade transaction so it doesnt commit.\n upgradeTransaction && upgradeTransaction.abort();\n } catch { }\n if (openCanceller === state.openCanceller) {\n // Still in the same open flow - The error reason was not due to external call to db.close().\n // Make sure to call db.close() to finalize resources.\n db._close(); // Closes and resets idbdb, removes connections, resets dbReadyPromise and openCanceller so that a later db.open() is fresh.\n }\n return rejection (err);\n }).finally(()=>{\n state.openComplete = true;\n resolveDbReady(); // dbReadyPromise is resolved no matter if open() rejects or resolved. It's just to wake up waiters.\n });\n}\n","/**\n * Work around Safari 14 IndexedDB open bug.\n *\n * Safari has a horrible bug where IDB requests can hang while the browser is starting up. https://bugs.webkit.org/show_bug.cgi?id=226547\n * The only solution is to keep nudging it until it's awake.\n */\nfunction idbReady() {\n var isSafari = !navigator.userAgentData &&\n /Safari\\//.test(navigator.userAgent) &&\n !/Chrom(e|ium)\\//.test(navigator.userAgent);\n // No point putting other browsers or older versions of Safari through this mess.\n if (!isSafari || !indexedDB.databases)\n return Promise.resolve();\n var intervalId;\n return new Promise(function (resolve) {\n var tryIdb = function () { return indexedDB.databases().finally(resolve); };\n intervalId = setInterval(tryIdb, 100);\n tryIdb();\n }).finally(function () { return clearInterval(intervalId); });\n}\n\nexport default idbReady;\n","import { isArray } from '../functions/utils';\n\nexport function awaitIterator (iterator: Iterator) {\n var callNext = result => iterator.next(result),\n doThrow = error => iterator.throw(error),\n onSuccess = step(callNext),\n onError = step(doThrow);\n\n function step(getNext: (any)=>any) {\n return (val?) => {\n var next = getNext(val),\n value = next.value;\n\n return next.done ? value :\n (!value || typeof value.then !== 'function' ?\n isArray(value) ? Promise.all(value).then(onSuccess, onError) : onSuccess(value) :\n value.then(onSuccess, onError));\n };\n }\n\n return step(callNext)();\n}\n","import { TransactionMode } from '../../public/types/transaction-mode';\nimport { errnames, exceptions } from '../../errors';\nimport { flatten, isAsyncFunction } from '../../functions/utils';\nimport { Dexie } from './dexie';\nimport { Transaction } from '../transaction';\nimport { awaitIterator } from '../../helpers/yield-support';\nimport Promise, {\n PSD,\n NativePromise,\n decrementExpectedAwaits,\n rejection,\n incrementExpectedAwaits\n} from '../../helpers/promise';\n\nexport function extractTransactionArgs(mode: TransactionMode, _tableArgs_, scopeFunc) {\n // Let table arguments be all arguments between mode and last argument.\n var i = arguments.length;\n if (i < 2) throw new exceptions.InvalidArgument(\"Too few arguments\");\n // Prevent optimzation killer (https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments)\n // and clone arguments except the first one into local var 'args'.\n var args = new Array(i - 1);\n while (--i) args[i - 1] = arguments[i];\n // Let scopeFunc be the last argument and pop it so that args now only contain the table arguments.\n scopeFunc = args.pop();\n var tables = flatten(args); // Support using array as middle argument, or a mix of arrays and non-arrays.\n return [mode, tables, scopeFunc];\n}\n\nexport function enterTransactionScope(\n db: Dexie,\n mode: IDBTransactionMode,\n storeNames: string[],\n parentTransaction: Transaction | undefined,\n scopeFunc: ()=>PromiseLike | any\n) {\n return Promise.resolve().then(() => {\n // Keep a pointer to last non-transactional PSD to use if someone calls Dexie.ignoreTransaction().\n const transless = PSD.transless || PSD;\n // Our transaction.\n //return new Promise((resolve, reject) => {\n const trans = db._createTransaction(mode, storeNames, db._dbSchema, parentTransaction);\n // Let the transaction instance be part of a Promise-specific data (PSD) value.\n const zoneProps = {\n trans: trans,\n transless: transless\n };\n\n if (parentTransaction) {\n // Emulate transaction commit awareness for inner transaction (must 'commit' when the inner transaction has no more operations ongoing)\n trans.idbtrans = parentTransaction.idbtrans;\n } else {\n try {\n trans.create(); // Create the native transaction so that complete() or error() will trigger even if no operation is made upon it.\n db._state.PR1398_maxLoop = 3;\n } catch (ex) {\n if (ex.name === errnames.InvalidState && db.isOpen() && --db._state.PR1398_maxLoop > 0) {\n console.warn('Dexie: Need to reopen db');\n db._close();\n return db.open().then(() => enterTransactionScope(\n db,\n mode,\n storeNames,\n null,\n scopeFunc\n ));\n }\n return rejection(ex);\n }\n }\n\n // Support for native async await.\n const scopeFuncIsAsync = isAsyncFunction(scopeFunc);\n if (scopeFuncIsAsync) {\n incrementExpectedAwaits();\n }\n\n let returnValue;\n const promiseFollowed = Promise.follow(() => {\n // Finally, call the scope function with our table and transaction arguments.\n returnValue = scopeFunc.call(trans, trans);\n if (returnValue) {\n if (scopeFuncIsAsync) {\n // scopeFunc is a native async function - we know for sure returnValue is native promise.\n var decrementor = decrementExpectedAwaits.bind(null, null);\n returnValue.then(decrementor, decrementor);\n } else if (typeof returnValue.next === 'function' && typeof returnValue.throw === 'function') {\n // scopeFunc returned an iterator with throw-support. Handle yield as await.\n returnValue = awaitIterator(returnValue);\n }\n }\n }, zoneProps);\n return (returnValue && typeof returnValue.then === 'function' ?\n // Promise returned. User uses promise-style transactions.\n Promise.resolve(returnValue).then(x => trans.active ?\n x // Transaction still active. Continue.\n : rejection(new exceptions.PrematureCommit(\n \"Transaction committed too early. See http://bit.ly/2kdckMn\")))\n // No promise returned. Wait for all outstanding promises before continuing. \n : promiseFollowed.then(() => returnValue)\n ).then(x => {\n // sub transactions don't react to idbtrans.oncomplete. We must trigger a completion:\n if (parentTransaction) trans._resolve();\n // wait for trans._completion\n // (if root transaction, this means 'complete' event. If sub-transaction, we've just fired it ourselves)\n return trans._completion.then(() => x);\n }).catch(e => {\n trans._reject(e); // Yes, above then-handler were maybe not called because of an unhandled rejection in scopeFunc!\n return rejection(e);\n });\n });\n}\n","import {\n DBCore,\n DBCoreIndex,\n DBCoreKeyRange,\n DBCoreQueryRequest,\n DBCoreRangeType,\n DBCoreOpenCursorRequest,\n DBCoreCountRequest,\n DBCoreCursor,\n DBCoreTable,\n} from \"../public/types/dbcore\";\nimport { isArray } from '../functions/utils';\nimport { getKeyExtractor } from './get-key-extractor';\nimport { getKeyPathAlias } from './dbcore-indexeddb';\nimport { Middleware } from '../public/types/middleware';\n\ninterface VirtualIndex extends DBCoreIndex {\n /** True if this index is virtual, i.e. represents a compound index internally,\n * but makes it act as as having a subset of its keyPaths.\n */\n isVirtual: boolean;\n\n /** Number of keypaths that this index comprises. Can be 0..N.\n * Note: This is the length of the *virtual index*, not the real index.\n */\n keyLength: number;\n\n /** Number of popped keypaths from the real index.\n */\n keyTail: number;\n}\n\n// Move into some util:\nexport function pad (a: any | any[], value: any, count: number) {\n const result = isArray(a) ? a.slice() : [a];\n for (let i=0; i 0;\n const virtualIndex = {\n ...lowLevelIndex,\n isVirtual,\n keyTail,\n keyLength,\n extractKey: getKeyExtractor(keyPath),\n unique: !isVirtual && lowLevelIndex.unique\n };\n indexList.push(virtualIndex);\n if (!virtualIndex.isPrimaryKey) {\n allVirtualIndexes.push(virtualIndex);\n }\n if (keyLength > 1) {\n const virtualKeyPath = keyLength === 2 ?\n keyPath[0] : // This is a compound [a, b]. Add a virtual normal index a.\n keyPath.slice(0, keyLength - 1); // This is compound [a,b,c]. Add virtual compound [a,b].\n addVirtualIndexes(virtualKeyPath, keyTail + 1, lowLevelIndex);\n }\n indexList.sort((a,b) => a.keyTail - b.keyTail); // Shortest keyTail is the best one (represents real index)\n return virtualIndex;\n }\n \n const primaryKey = addVirtualIndexes(schema.primaryKey.keyPath, 0, schema.primaryKey);\n indexLookup[\":id\"] = [primaryKey];\n for (const index of schema.indexes) {\n addVirtualIndexes(index.keyPath, 0, index);\n }\n \n function findBestIndex(keyPath: null | string | string[]): VirtualIndex {\n const result = indexLookup[getKeyPathAlias(keyPath)];\n return result && result[0];\n }\n \n function translateRange (range: DBCoreKeyRange, keyTail: number): DBCoreKeyRange {\n return {\n type: range.type === DBCoreRangeType.Equal ?\n DBCoreRangeType.Range :\n range.type,\n lower: pad(range.lower, range.lowerOpen ? down.MAX_KEY : down.MIN_KEY, keyTail),\n lowerOpen: true, // doesn't matter true or false\n upper: pad(range.upper, range.upperOpen ? down.MIN_KEY : down.MAX_KEY, keyTail),\n upperOpen: true // doesn't matter true or false\n };\n }\n \n function translateRequest (req: DBCoreQueryRequest): DBCoreQueryRequest;\n function translateRequest (req: DBCoreOpenCursorRequest): DBCoreOpenCursorRequest;\n function translateRequest (req: DBCoreCountRequest): DBCoreCountRequest {\n const index = req.query.index as VirtualIndex;\n return index.isVirtual ? {\n ...req,\n query: {\n index,\n range: translateRange(req.query.range, index.keyTail)\n }\n } : req;\n }\n \n const result: DBCoreTable = {\n ...table,\n schema: {\n ...schema,\n primaryKey,\n indexes: allVirtualIndexes,\n getIndexByKeyPath: findBestIndex\n },\n\n count(req) {\n return table.count(translateRequest(req));\n }, \n \n query(req) {\n return table.query(translateRequest(req));\n },\n \n openCursor(req) {\n const {keyTail, isVirtual, keyLength} = (req.query.index as VirtualIndex);\n if (!isVirtual) return table.openCursor(req);\n \n function createVirtualCursor(cursor: DBCoreCursor) : DBCoreCursor {\n function _continue (key?: any) {\n key != null ?\n cursor.continue(pad(key, req.reverse ? down.MAX_KEY : down.MIN_KEY, keyTail)) :\n req.unique ?\n cursor.continue(\n cursor.key.slice(0, keyLength)\n .concat(req.reverse\n ? down.MIN_KEY\n : down.MAX_KEY, keyTail)\n ) :\n cursor.continue()\n }\n const virtualCursor = Object.create(cursor, {\n continue: {value: _continue},\n continuePrimaryKey: {\n value(key: any, primaryKey: any) {\n cursor.continuePrimaryKey(pad(key, down.MAX_KEY, keyTail), primaryKey);\n }\n },\n primaryKey: {\n get() {\n return cursor.primaryKey;\n }\n },\n key: {\n get() {\n const key = cursor.key as any[]; // A virtual cursor always operates on compound key\n return keyLength === 1 ?\n key[0] : // Cursor.key should not be an array.\n key.slice(0, keyLength); // Cursor.key should be first part of array.\n }\n },\n value: {\n get() {\n return cursor.value;\n }\n }\n });\n return virtualCursor;\n }\n \n return table.openCursor(translateRequest(req))\n .then(cursor => cursor && createVirtualCursor(cursor));\n }\n };\n return result;\n }\n }\n}\n\nexport const virtualIndexMiddleware : Middleware = {\n stack: \"dbcore\",\n name: \"VirtualIndexMiddleware\",\n level: 1,\n create: createVirtualIndexMiddleware\n};\n\n","import { keys, hasOwn, toStringTag } from './utils';\n\nexport function getObjectDiff(a: any, b: any, rv?: any, prfx?: string) {\n // Compares objects a and b and produces a diff object.\n rv = rv || {};\n prfx = prfx || '';\n keys(a).forEach((prop) => {\n if (!hasOwn(b, prop)) {\n // Property removed\n rv[prfx + prop] = undefined;\n } else {\n var ap = a[prop],\n bp = b[prop];\n if (typeof ap === 'object' && typeof bp === 'object' && ap && bp) {\n const apTypeName = toStringTag(ap);\n const bpTypeName = toStringTag(bp);\n\n if (apTypeName !== bpTypeName) {\n rv[prfx + prop] = b[prop]; // Property changed to other type\n } else if (apTypeName === 'Object') {\n // Pojo objects (not Date, ArrayBuffer, Array etc). Go deep.\n getObjectDiff(ap, bp, rv, prfx + prop + '.');\n } else if (ap !== bp) {\n // Values differ.\n // Could have checked if Date, arrays or binary types have same\n // content here but I think that would be a suboptimation.\n // Prefer simplicity.\n rv[prfx + prop] = b[prop];\n }\n } else if (ap !== bp) rv[prfx + prop] = b[prop]; // Primitive value changed\n }\n });\n keys(b).forEach((prop) => {\n if (!hasOwn(a, prop)) {\n rv[prfx + prop] = b[prop]; // Property added\n }\n });\n return rv;\n}\n","import {\n DBCore,\n DBCoreTable,\n DBCoreMutateResponse,\n DBCoreDeleteRangeRequest,\n DBCoreAddRequest,\n DBCorePutRequest,\n DBCoreDeleteRequest,\n DBCoreTransaction,\n DBCoreKeyRange\n} from \"../public/types/dbcore\";\nimport { nop } from '../functions/chaining-functions';\nimport { hasOwn, setByKeyPath } from '../functions/utils';\nimport { getObjectDiff } from \"../functions/get-object-diff\";\nimport { PSD } from '../helpers/promise';\n//import { LockableTableMiddleware } from '../dbcore/lockable-table-middleware';\nimport { getEffectiveKeys } from '../dbcore/get-effective-keys';\nimport { Middleware } from '../public/types/middleware';\nimport { Transaction } from '../classes/transaction';\n\nexport const hooksMiddleware: Middleware = {\n stack: \"dbcore\",\n name: \"HooksMiddleware\",\n level: 2,\n create: (downCore: DBCore) => ({\n ...downCore,\n table(tableName: string) {\n const downTable = downCore.table(tableName);\n const {primaryKey} = downTable.schema;\n \n const tableMiddleware: DBCoreTable = {\n ...downTable,\n mutate(req):Promise {\n const dxTrans = PSD.trans as Transaction;\n // Hooks can be transaction-bound. Need to grab them from transaction.table and not\n // db.table!\n const {deleting, creating, updating} = dxTrans.table(tableName).hook;\n switch (req.type) {\n case 'add':\n if (creating.fire === nop) break;\n return dxTrans._promise('readwrite', ()=>addPutOrDelete(req), true);\n case 'put':\n if (creating.fire === nop && updating.fire === nop) break;\n return dxTrans._promise('readwrite', ()=>addPutOrDelete(req), true);\n case 'delete':\n if (deleting.fire === nop) break;\n return dxTrans._promise('readwrite', ()=>addPutOrDelete(req), true);\n case 'deleteRange':\n if (deleting.fire === nop) break;\n return dxTrans._promise('readwrite', ()=>deleteRange(req), true);\n }\n // Any of the breaks above happened (no hooks) - do the default:\n return downTable.mutate(req);\n\n\n function addPutOrDelete(req: DBCoreAddRequest | DBCorePutRequest | DBCoreDeleteRequest): Promise {\n const dxTrans = PSD.trans;\n const keys = req.keys || getEffectiveKeys(primaryKey, req);\n if (!keys) throw new Error(\"Keys missing\");\n // Clone Request and set keys arg\n req = req.type === 'add' || req.type === 'put' ?\n {...req, keys} :\n {...req};\n if (req.type !== 'delete') req.values = [...req.values];\n if (req.keys) req.keys = [...req.keys];\n \n return getExistingValues(downTable, req, keys).then (existingValues => {\n const contexts = keys.map((key, i) => {\n const existingValue = existingValues[i];\n const ctx = { onerror: null, onsuccess: null };\n if (req.type === 'delete') {\n // delete operation\n deleting.fire.call(ctx, key, existingValue, dxTrans);\n } else if (req.type === 'add' || existingValue === undefined) {\n // The add() or put() resulted in a create\n const generatedPrimaryKey = creating.fire.call(ctx, key, req.values[i], dxTrans);\n if (key == null && generatedPrimaryKey != null) {\n key = generatedPrimaryKey;\n req.keys[i] = key;\n if (!primaryKey.outbound) {\n setByKeyPath(req.values[i], primaryKey.keyPath, key);\n }\n }\n } else {\n // The put() operation resulted in an update\n const objectDiff = getObjectDiff(existingValue, req.values[i]);\n const additionalChanges = updating.fire.call(ctx, objectDiff, key, existingValue, dxTrans);\n if (additionalChanges) {\n const requestedValue = req.values[i];\n Object.keys(additionalChanges).forEach(keyPath => {\n if (hasOwn(requestedValue, keyPath)) {\n // keyPath is already present as a literal property of the object\n requestedValue[keyPath] = additionalChanges[keyPath];\n } else {\n // keyPath represents a new or existing path into the object\n setByKeyPath(requestedValue, keyPath, additionalChanges[keyPath]);\n }\n });\n }\n }\n return ctx;\n });\n return downTable.mutate(req).then(({failures, results, numFailures, lastResult}) => {\n for (let i=0; i {\n contexts.forEach(ctx => ctx.onerror && ctx.onerror(error));\n return Promise.reject(error);\n });\n });\n }\n \n function deleteRange(req: DBCoreDeleteRangeRequest): Promise {\n return deleteNextChunk(req.trans, req.range, 10000);\n }\n \n function deleteNextChunk(trans: DBCoreTransaction, range: DBCoreKeyRange, limit: number) {\n // Query what keys in the DB within the given range\n return downTable.query({trans, values: false, query: {index: primaryKey, range}, limit})\n .then(({result}) => {\n // Given a set of keys, bulk delete those using the same procedure as in addPutOrDelete().\n // This will make sure that deleting hook is called.\n return addPutOrDelete({type: 'delete', keys: result, trans}).then(res => {\n if (res.numFailures > 0) return Promise.reject(res.failures[0]);\n if (result.length < limit) {\n return {failures: [], numFailures: 0, lastResult: undefined} as DBCoreMutateResponse;\n } else {\n return deleteNextChunk(trans, {...range, lower: result[result.length - 1], lowerOpen: true}, limit);\n }\n });\n })\n }\n }\n };\n //const {lock, lockableMiddleware} = LockableTableMiddleware(tableMiddleware);\n\n return tableMiddleware;\n },\n }) as DBCore\n};\n\nfunction getExistingValues(\n table: DBCoreTable,\n req: DBCoreAddRequest | DBCorePutRequest | DBCoreDeleteRequest,\n effectiveKeys: any[]\n) {\n return req.type === \"add\"\n ? Promise.resolve([])\n : table.getMany({ trans: req.trans, keys: effectiveKeys, cache: \"immutable\" });\n}\n","import {\n DBCoreAddRequest,\n DBCorePutRequest,\n DBCoreDeleteRequest,\n DBCoreIndex,\n DBCoreTable,\n} from \"../public/types/dbcore\";\n\nexport function getEffectiveKeys (\n primaryKey: DBCoreIndex,\n req: (Pick & {keys?: any[]}) | Pick)\n{\n //const {outbound} = primaryKey;\n if (req.type === 'delete') return req.keys;\n return req.keys || req.values.map(primaryKey.extractKey)\n}\n","import { deepClone } from \"../functions/utils\";\nimport { DBCore } from \"../public/types/dbcore\";\nimport { Middleware } from \"../public/types/middleware\";\nimport Promise from \"../helpers/promise\";\nimport { cmp } from '../functions/cmp';\n\nexport function getFromTransactionCache(\n keys: any[],\n cache: { keys: any[]; values: any[] } | undefined | null,\n clone?: boolean\n) {\n try {\n if (!cache) return null;\n if (cache.keys.length < keys.length) return null;\n const result: any[] = [];\n // Compare if the exact same order of keys was retrieved in same transaction:\n // Allow some cached keys to be omitted from provided set of keys\n // Use case: 1. getMany(keys) 2. update a subset of those 3. call put with the updated ones ==> middlewares should be able to find old values\n for (let i = 0, j = 0; i < cache.keys.length && j < keys.length; ++i) {\n if (cmp(cache.keys[i], keys[j]) !== 0) continue;\n result.push(clone ? deepClone(cache.values[i]) : cache.values[i]);\n ++j;\n }\n // If got all keys caller was looking for, return result.\n return result.length === keys.length ? result : null;\n } catch {\n return null;\n }\n}\n\nexport const cacheExistingValuesMiddleware: Middleware = {\n stack: \"dbcore\",\n level: -1,\n create: (core) => {\n return {\n table: (tableName) => {\n const table = core.table(tableName);\n return {\n ...table,\n getMany: (req) => {\n if (!req.cache) {\n return table.getMany(req);\n }\n const cachedResult = getFromTransactionCache(\n req.keys,\n req.trans[\"_cache\"],\n req.cache === \"clone\"\n );\n if (cachedResult) {\n return Promise.resolve(cachedResult);\n }\n return table.getMany(req).then((res) => {\n req.trans[\"_cache\"] = {\n keys: req.keys,\n values: req.cache === \"clone\" ? deepClone(res) : res,\n };\n return res;\n });\n },\n mutate: (req) => {\n // Invalidate cache on any mutate except \"add\" which can't change existing values:\n if (req.type !== \"add\") req.trans[\"_cache\"] = null;\n return table.mutate(req);\n },\n };\n },\n };\n },\n};\n","import { cmp } from \"../functions/cmp\";\nimport { extend, iteratorSymbol, props } from '../functions/utils';\nimport { IndexableType } from '../public';\nimport {\n EmptyRange,\n IntervalTree,\n IntervalTreeNode,\n RangeSetConstructor,\n RangeSetPrototype,\n} from \"../public/types/rangeset\";\n\n/* An interval tree implementation to efficiently detect overlapping ranges of queried indexes.\n *\n * https://en.wikipedia.org/wiki/Interval_tree\n * \n */\n\nfunction isEmptyRange(node: IntervalTree | {from: IndexableType, to: IndexableType}): node is EmptyRange {\n return !(\"from\" in node);\n}\n\nexport type RangeSet = RangeSetPrototype & IntervalTree;\n\nexport const RangeSet = function(fromOrTree: any, to?: any) {\n if (this) {\n // Called with new()\n extend(this, arguments.length ? {d:1, from: fromOrTree, to: arguments.length > 1 ? to : fromOrTree} : {d:0});\n } else {\n // Called without new()\n const rv = new RangeSet();\n if (fromOrTree && (\"d\" in fromOrTree)) {\n extend(rv, fromOrTree);\n }\n return rv;\n }\n} as RangeSetConstructor;\n\nprops(RangeSet.prototype, {\n add(rangeSet: IntervalTree | {from: IndexableType, to: IndexableType}) {\n mergeRanges(this, rangeSet);\n return this;\n },\n addKey(key: IndexableType) {\n addRange(this, key, key);\n return this;\n },\n addKeys(keys: IndexableType[]) {\n keys.forEach(key => addRange(this, key, key));\n return this;\n },\n\n [iteratorSymbol](): Iterator {\n return getRangeSetIterator(this);\n }\n});\n\nfunction addRange(target: IntervalTree, from: IndexableType, to: IndexableType) {\n const diff = cmp(from, to);\n // cmp() returns NaN if one of the args are IDB-invalid keys.\n // Avoid storing invalid keys in rangeset:\n if (isNaN(diff)) return;\n\n // Caller is trying to add a range where from is greater than to:\n if (diff > 0) throw RangeError();\n \n if (isEmptyRange(target)) return extend(target, { from, to, d: 1 });\n const left = target.l;\n const right = target.r;\n if (cmp(to, target.from) < 0) {\n left\n ? addRange(left, from, to)\n : (target.l = { from, to, d: 1, l: null, r: null });\n return rebalance(target);\n }\n if (cmp(from, target.to) > 0) {\n right\n ? addRange(right, from, to)\n : (target.r = { from, to, d: 1, l: null, r: null });\n return rebalance(target);\n }\n // Now we have some kind of overlap. We will be able to merge the new range into the node or let it be swallowed.\n\n // Grow left?\n if (cmp(from, target.from) < 0) {\n target.from = from;\n target.l = null; // Cut off for now. Re-add later.\n target.d = right ? right.d + 1 : 1;\n }\n // Grow right?\n if (cmp(to, target.to) > 0) {\n target.to = to;\n target.r = null; // Cut off for now. Re-add later.\n target.d = target.l ? target.l.d + 1 : 1;\n }\n const rightWasCutOff = !target.r;\n // Re-add left?\n if (left && !target.l) {\n //Ranges to the left may be swallowed. Cut it of and re-add all.\n //Could probably be done more efficiently!\n mergeRanges(target, left);\n }\n // Re-add right?\n if (right && rightWasCutOff) {\n //Ranges to the right may be swallowed. Cut it of and re-add all.\n //Could probably be done more efficiently!\n mergeRanges(target, right);\n }\n}\n\nexport function mergeRanges(target: IntervalTree, newSet: IntervalTree | {from: IndexableType, to: IndexableType}) {\n function _addRangeSet(\n target: IntervalTree,\n { from, to, l, r }: IntervalTreeNode | {from: IndexableType, to: IndexableType, l?: undefined, r?: undefined}\n ) {\n addRange(target, from, to);\n if (l) _addRangeSet(target, l);\n if (r) _addRangeSet(target, r);\n }\n\n if(!isEmptyRange(newSet)) _addRangeSet(target, newSet);\n}\n\nexport function rangesOverlap(\n rangeSet1: IntervalTree,\n rangeSet2: IntervalTree\n): boolean {\n // Start iterating other from scratch.\n const i1 = getRangeSetIterator(rangeSet2);\n let nextResult1 = i1.next();\n if (nextResult1.done) return false;\n let a = nextResult1.value;\n\n // Start iterating this from start of other\n const i2 = getRangeSetIterator(rangeSet1);\n let nextResult2 = i2.next(a.from); // Start from beginning of other range\n let b = nextResult2.value;\n\n while (!nextResult1.done && !nextResult2.done) {\n if (cmp(b!.from, a.to) <= 0 && cmp(b!.to, a.from) >= 0) return true;\n cmp(a.from, b!.from) < 0\n ? (a = (nextResult1 = i1.next(b!.from)).value!) // a is behind. forward it to beginning of next b-range\n : (b = (nextResult2 = i2.next(a.from)).value); // b is behind. forward it to beginning of next a-range\n }\n return false;\n}\n\ntype RangeSetIteratorState =\n | {\n up?: RangeSetIteratorState;\n n: IntervalTreeNode;\n s: 0 | 1 | 2 | 3;\n }\n | undefined\n | null;\nexport function getRangeSetIterator(\n node: EmptyRange | IntervalTreeNode\n): Generator {\n let state: RangeSetIteratorState = isEmptyRange(node) ? null : { s: 0, n: node };\n\n return {\n next(key?) {\n const keyProvided = arguments.length > 0;\n while (state) {\n switch (state.s) {\n case 0:\n // Initial state for node.\n // Fast forward to leftmost node.\n state.s = 1;\n if (keyProvided) {\n while (state.n.l && cmp(key, state.n.from) < 0)\n state = { up: state, n: state.n.l, s: 1 };\n } else {\n while (state.n.l) state = { up: state, n: state.n.l, s: 1 };\n }\n // intentionally fall into case 1:\n case 1:\n // We're on a node where it's left part is already handled or does not exist.\n state.s = 2;\n if (!keyProvided || cmp(key, state.n.to) <= 0)\n return { value: state.n, done: false };\n case 2:\n // We've emitted our node and should continue with the right part or let parent take over from it's state 1\n if (state.n.r) {\n state.s = 3; // So when child is done, we know we're done.\n state = { up: state, n: state.n.r, s: 0 };\n continue; // Will fall in to case 0 with fast forward to left leaf of this subtree.\n }\n // intentionally fall into case 3:\n case 3:\n state = state.up;\n }\n }\n return { done: true };\n },\n } as Generator;\n}\n\nfunction rebalance(target: IntervalTreeNode) {\n const diff = (target.r?.d || 0) - (target.l?.d || 0);\n const r = diff > 1 ? \"r\" : diff < -1 ? \"l\" : \"\";\n if (r) {\n\n // Rotate (https://en.wikipedia.org/wiki/Tree_rotation)\n //\n // \n // [OLDROOT]\n // [OLDROOT.L] [NEWROOT]\n // [NEWROOT.L] [NEWROOT.R]\n //\n // Is going to become:\n //\n // \n // [NEWROOT]\n // [OLDROOT] [NEWROOT.R]\n // [OLDROOT.L] [NEWROOT.L] \n\n // * clone now has the props of OLDROOT\n // Plan:\n // * target must be given the props of NEWROOT\n // * target[l] must point to a new OLDROOT\n // * target[r] must point to NEWROOT.R\n // * OLDROOT[r] must point to NEWROOT.L\n const l = r === \"r\" ? \"l\" : \"r\"; // Support both left/right rotation\n const rootClone = { ...target };\n // We're gonna copy props from target's right node into target so that target will\n // have same range as old target[r] (instead of changing pointers, we copy values.\n // that way we do not need to adjust pointers in parents).\n const oldRootRight = target[r]; \n target.from = oldRootRight.from;\n target.to = oldRootRight.to;\n target[r] = oldRootRight[r];\n rootClone[r] = oldRootRight[l];\n target[l] = rootClone;\n rootClone.d = computeDepth(rootClone);\n }\n target.d = computeDepth(target);\n}\n\nfunction computeDepth({ r, l }: Pick) {\n return (r ? (l ? Math.max(r.d, l.d) : r.d) : l ? l.d : 0) + 1;\n}\n","import { getFromTransactionCache } from \"../dbcore/cache-existing-values-middleware\";\nimport { cmp } from \"../functions/cmp\";\nimport { isArray, keys } from \"../functions/utils\";\nimport { PSD } from \"../helpers/promise\";\nimport { RangeSet } from \"../helpers/rangeset\";\nimport { ObservabilitySet } from \"../public/types/db-events\";\nimport {\n DBCore,\n DBCoreCountRequest,\n DBCoreCursor,\n DBCoreGetManyRequest,\n DBCoreGetRequest,\n DBCoreIndex,\n DBCoreOpenCursorRequest,\n DBCoreQueryRequest,\n DBCoreQueryResponse,\n DBCoreTable,\n DBCoreTableSchema,\n DBCoreTransaction,\n} from \"../public/types/dbcore\";\nimport { Middleware } from \"../public/types/middleware\";\n\nexport const observabilityMiddleware: Middleware = {\n stack: \"dbcore\",\n level: 0,\n create: (core) => {\n const dbName = core.schema.name;\n const FULL_RANGE = new RangeSet(core.MIN_KEY, core.MAX_KEY);\n\n return {\n ...core,\n table: (tableName) => {\n const table = core.table(tableName);\n const { schema } = table;\n const { primaryKey } = schema;\n const { extractKey, outbound } = primaryKey;\n const tableClone: DBCoreTable = {\n ...table,\n mutate: (req) => {\n const trans = req.trans as DBCoreTransaction & {\n mutatedParts?: ObservabilitySet;\n };\n const mutatedParts =\n trans.mutatedParts || (trans.mutatedParts = {});\n const getRangeSet = (indexName: string) => {\n const part = `idb://${dbName}/${tableName}/${indexName}`;\n return (mutatedParts[part] ||\n (mutatedParts[part] = new RangeSet())) as RangeSet;\n };\n const pkRangeSet = getRangeSet(\"\");\n const delsRangeSet = getRangeSet(\":dels\");\n\n const { type } = req;\n let [keys, newObjs] =\n req.type === \"deleteRange\"\n ? [req.range] // keys will be an DBCoreKeyRange object - transformed later on to a [from,to]-style range.\n : req.type === \"delete\"\n ? [req.keys] // keys known already here. newObjs will be undefined.\n : req.values.length < 50\n ? [[], req.values] // keys = empty array - will be resolved in mutate().then(...).\n : []; // keys and newObjs will both be undefined - changeSpec will become true (changed for entire table)\n const oldCache = req.trans[\"_cache\"];\n return table.mutate(req).then((res) => {\n // Add the mutated table and optionally keys to the mutatedTables set on the transaction.\n // Used by subscribers to txcommit event and for Collection.prototype.subscribe().\n if (isArray(keys)) {\n // keys is an array - delete, add or put of less than 50 rows.\n if (type !== \"delete\") keys = res.results;\n // individual keys (add put or delete)\n pkRangeSet.addKeys(keys);\n // Only get oldObjs if they have been cached recently\n // (This applies to Collection.modify() only, but also if updating/deleting hooks have subscribers)\n const oldObjs = getFromTransactionCache(keys, oldCache);\n\n // Supply detailed values per index for both old and new objects:\n if (!oldObjs && type !== \"add\") {\n // delete or put and we don't know old values.\n // Indicate this in the \":dels\" part, for the sake of count() queries only!\n delsRangeSet.addKeys(keys);\n }\n if (oldObjs || newObjs) {\n // No matter if knowning oldObjs or not, track the indices if it's a put, add or delete.\n trackAffectedIndexes(getRangeSet, schema, oldObjs, newObjs);\n }\n } else if (keys) {\n // As we can't know deleted index ranges, mark index-based subscriptions must trigger.\n const range = { from: keys.lower, to: keys.upper };\n delsRangeSet.add(range);\n // deleteRange. keys is a DBCoreKeyRange objects. Transform it to [from,to]-style range.\n pkRangeSet.add(range);\n } else {\n // Too many requests to record the details without slowing down write performance.\n // Let's just record a generic large range on primary key, the virtual :dels index and\n // all secondary indices:\n pkRangeSet.add(FULL_RANGE);\n delsRangeSet.add(FULL_RANGE);\n schema.indexes.forEach(idx => getRangeSet(idx.name).add(FULL_RANGE));\n }\n return res;\n });\n },\n };\n\n const getRange: (req: any) => [DBCoreIndex, RangeSet] = ({\n query: { index, range },\n }:\n | DBCoreQueryRequest\n | DBCoreCountRequest\n | DBCoreOpenCursorRequest) => [\n index,\n new RangeSet(range.lower ?? core.MIN_KEY, range.upper ?? core.MAX_KEY),\n ];\n\n const readSubscribers: {[method in\n Exclude]: \n (req: any) => [DBCoreIndex, RangeSet]\n } = {\n get: (req) => [primaryKey, new RangeSet(req.key)],\n getMany: (req) => [primaryKey, new RangeSet().addKeys(req.keys)],\n count: getRange,\n query: getRange,\n openCursor: getRange,\n }\n\n keys(readSubscribers).forEach(method => {\n tableClone[method] = function (\n req:\n | DBCoreGetRequest\n | DBCoreGetManyRequest\n | DBCoreQueryRequest\n | DBCoreCountRequest\n | DBCoreOpenCursorRequest\n ) {\n const { subscr } = PSD;\n if (subscr) {\n // Current zone want's to track all queries so they can be subscribed to.\n // (The query is executed within a \"liveQuery\" zone)\n // Check whether the query applies to a certain set of ranges:\n // Track what we should be observing:\n const getRangeSet = (indexName: string) => {\n const part = `idb://${dbName}/${tableName}/${indexName}`;\n return (subscr[part] ||\n (subscr[part] = new RangeSet())) as RangeSet;\n };\n const pkRangeSet = getRangeSet(\"\");\n const delsRangeSet = getRangeSet(\":dels\");\n const [queriedIndex, queriedRanges] = readSubscribers[method](req);\n // A generic rule here: queried ranges should always be subscribed to.\n getRangeSet(queriedIndex.name || \"\").add(queriedRanges);\n if (!queriedIndex.isPrimaryKey) {\n // Only count(), query() and openCursor() operates on secondary indices.\n // Since put(), delete() and deleteRange() mutations may happen without knowing oldObjs,\n // the mutate() method will be missing what secondary indices that are being deleted from\n // the subscribed range. We are working around this issue by recording all the resulting\n // primary keys from the queries. This only works for those kinds of queries where we can\n // derive the primary key from the result.\n // In this block we are accomplishing this using various strategies depending on the properties\n // of the query result.\n\n if (method === \"count\") {\n // We've got a problem! Delete and put mutations happen without known the oldObjs.\n // Those mutation could change the count.\n // Solution: Dedicated \":dels\" url represends a subscription to all mutations without oldObjs\n // (specially triggered in the mutators put(), delete() and deleteRange() when they don't know oldObject)\n delsRangeSet.add(FULL_RANGE);\n } else {\n // openCursor() or query()\n\n // Prepare a keysPromise in case the we're doing an IDBIndex.getAll() on a store with outbound keys.\n const keysPromise =\n method === \"query\" &&\n outbound &&\n (req as DBCoreQueryRequest).values &&\n table.query({\n ...(req as DBCoreQueryRequest),\n values: false,\n });\n\n return table[method].apply(this, arguments).then((res) => {\n if (method === \"query\") {\n if (outbound && (req as DBCoreQueryRequest).values) {\n // If keys are outbound, we can't use extractKey to map what keys to observe.\n // We've queried an index (like 'dateTime') on an outbound table\n // and retrieve a list of objects\n // from who we cannot know their primary keys.\n // \"Luckily\" though, we've prepared the keysPromise to assist us in exact this condition.\n return keysPromise.then(\n ({ result: resultingKeys }: DBCoreQueryResponse) => {\n pkRangeSet.addKeys(resultingKeys);\n return res;\n }\n );\n }\n // query() inbound values, keys or outbound keys. Secondary indexes only since\n // for primary keys we would only add results within the already registered range.\n const pKeys = (req as DBCoreQueryRequest).values\n ? (res as DBCoreQueryResponse).result.map(extractKey)\n : (res as DBCoreQueryResponse).result;\n if ((req as DBCoreQueryRequest).values) {\n // Subscribe to any mutation made on the returned keys,\n // so that we detect both deletions and updated properties.\n pkRangeSet.addKeys(pKeys);\n } else {\n // Subscribe only to mutations on the returned keys\n // in case the mutator was unable to know oldObjs.\n // If it has oldObj, the mutator won't put anything in \":dels\" because\n // it can more fine-grained put the exact removed and added index value in the correct\n // index range that we subscribe to in the queried range sets.\n // We don't load values so a change on a property outside our index will not\n // require us to re-execute the query.\n delsRangeSet.addKeys(pKeys);\n }\n } else if (method === \"openCursor\") {\n // Caller requests a cursor.\n // For the same reason as when method===\"query\", we only need to observe\n // those keys whose values are possibly used or rendered - which could\n // only happen on keys where they get the cursor's key, primaryKey or value.\n const cursor: DBCoreCursor | null = res;\n const wantValues = (req as DBCoreOpenCursorRequest).values;\n return (\n cursor &&\n Object.create(cursor, {\n key: {\n get() {\n delsRangeSet.addKey(cursor.primaryKey);\n return cursor.key;\n },\n },\n primaryKey: {\n get() {\n const pkey = cursor.primaryKey;\n delsRangeSet.addKey(pkey);\n return pkey;\n },\n },\n value: {\n get() {\n wantValues && pkRangeSet.addKey(cursor.primaryKey);\n return cursor.value;\n },\n },\n })\n );\n }\n return res;\n });\n }\n }\n }\n return table[method].apply(this, arguments);\n };\n });\n return tableClone;\n },\n };\n },\n};\n\nfunction trackAffectedIndexes(\n getRangeSet: (index: string) => RangeSet,\n schema: DBCoreTableSchema,\n oldObjs: any[] | undefined,\n newObjs: any[] | undefined\n) {\n function addAffectedIndex(ix: DBCoreIndex) {\n const rangeSet = getRangeSet(ix.name || \"\");\n function extractKey(obj: any) {\n return obj != null ? ix.extractKey(obj) : null;\n }\n const addKeyOrKeys = (key: any) => ix.multiEntry && isArray(key)\n // multiEntry and the old property was an array - add each array entry to the rangeSet:\n ? key.forEach(key => rangeSet.addKey(key))\n // Not multiEntry or the old property was not an array - add each array entry to the rangeSet:\n : rangeSet.addKey(key);\n\n (oldObjs || newObjs).forEach((_, i) => {\n const oldKey = oldObjs && extractKey(oldObjs[i]);\n const newKey = newObjs && extractKey(newObjs[i]);\n if (cmp(oldKey, newKey) !== 0) {\n // The index has changed. Add both old and new value of the index.\n if (oldKey != null) addKeyOrKeys(oldKey); // If oldKey is invalid key, addKey() will be a noop.\n if (newKey != null) addKeyOrKeys(newKey); // If newKey is invalid key, addKey() will be a noop.\n }\n });\n }\n schema.indexes.forEach(addAffectedIndex);\n}\n","import {\n Observable as IObservable,\n Observer,\n Subscription,\n} from \"../../public/types/observable\";\n\nconst symbolObservable: typeof Symbol.observable =\n typeof Symbol !== \"undefined\" && \"observable\" in Symbol\n ? Symbol.observable\n : \"@@observable\" as any;\n\nexport class Observable implements IObservable {\n private _subscribe: (observer: Observer) => Subscription;\n hasValue?: ()=>boolean;\n getValue?: ()=>T;\n\n constructor(subscribe: (observer: Observer) => Subscription) {\n this._subscribe = subscribe;\n }\n\n subscribe(\n onNext?: ((value: T) => void) | null,\n onError?: ((error: any) => void) | null,\n onComplete?: (() => void) | null\n ): Subscription;\n subscribe(observer?: Observer | null): Subscription;\n subscribe(x?: any, error?: any, complete?: any): Subscription {\n return this._subscribe(\n !x || typeof x === \"function\" ? { next: x, error, complete } : x\n );\n }\n\n [symbolObservable]() {\n return this;\n }\n}\n","import { _global } from '../../globals/global';\nimport { DexieDOMDependencies } from '../../public/types/dexie-dom-dependencies';\n\nexport let domDeps: DexieDOMDependencies\n\ntry {\n domDeps = {\n // Required:\n indexedDB: _global.indexedDB || _global.mozIndexedDB || _global.webkitIndexedDB || _global.msIndexedDB,\n IDBKeyRange: _global.IDBKeyRange || _global.webkitIDBKeyRange\n };\n} catch (e) {\n domDeps = { indexedDB: null, IDBKeyRange: null };\n}\n","// Import types from the public API\nimport { Dexie as IDexie } from \"../../public/types/dexie\";\nimport { DexieOptions, DexieConstructor } from \"../../public/types/dexie-constructor\";\nimport { DbEvents } from \"../../public/types/db-events\";\n//import { PromiseExtended, PromiseExtendedConstructor } from '../../public/types/promise-extended';\nimport { Table as ITable } from '../../public/types/table';\nimport { TableSchema } from \"../../public/types/table-schema\";\nimport { DbSchema } from '../../public/types/db-schema';\n\n// Internal imports\nimport { Table, TableConstructor, createTableConstructor } from \"../table\";\nimport { Collection, CollectionConstructor, createCollectionConstructor } from '../collection';\nimport { WhereClause } from '../where-clause/where-clause';\nimport { WhereClauseConstructor, createWhereClauseConstructor } from '../where-clause/where-clause-constructor';\nimport { Transaction } from '../transaction';\nimport { TransactionConstructor, createTransactionConstructor } from '../transaction/transaction-constructor';\nimport { Version } from \"../version/version\";\nimport { VersionConstructor, createVersionConstructor } from '../version/version-constructor';\n\n// Other imports...\nimport { DexieEventSet } from '../../public/types/dexie-event-set';\nimport { DexieExceptionClasses } from '../../public/types/errors';\nimport { DexieDOMDependencies } from '../../public/types/dexie-dom-dependencies';\nimport { nop, promisableChain } from '../../functions/chaining-functions';\nimport Promise, { PSD } from '../../helpers/promise';\nimport { extend, override, keys, hasOwn } from '../../functions/utils';\nimport Events from '../../helpers/Events';\nimport { maxString, connections, READONLY, READWRITE } from '../../globals/constants';\nimport { getMaxKey } from '../../functions/quirks';\nimport { exceptions } from '../../errors';\nimport { lowerVersionFirst } from '../version/schema-helpers';\nimport { dexieOpen } from './dexie-open';\nimport { wrap } from '../../helpers/promise';\nimport { _onDatabaseDeleted } from '../../helpers/database-enumerator';\nimport { eventRejectHandler } from '../../functions/event-wrappers';\nimport { extractTransactionArgs, enterTransactionScope } from './transaction-helpers';\nimport { TransactionMode } from '../../public/types/transaction-mode';\nimport { rejection } from '../../helpers/promise';\nimport { usePSD } from '../../helpers/promise';\nimport { DBCore } from '../../public/types/dbcore';\nimport { Middleware, DexieStacks } from '../../public/types/middleware';\nimport { virtualIndexMiddleware } from '../../dbcore/virtual-index-middleware';\nimport { hooksMiddleware } from '../../hooks/hooks-middleware';\nimport { IndexableType } from '../../public';\nimport { observabilityMiddleware } from '../../live-query/observability-middleware';\nimport { cacheExistingValuesMiddleware } from '../../dbcore/cache-existing-values-middleware';\n\nexport interface DbReadyState {\n dbOpenError: any;\n isBeingOpened: boolean;\n onReadyBeingFired: undefined | Function[];\n openComplete: boolean;\n dbReadyResolve: () => void;\n dbReadyPromise: Promise;\n cancelOpen: (reason?: Error) => void;\n openCanceller: Promise & { _stackHolder?: Error };\n autoSchema: boolean;\n vcFired?: boolean;\n PR1398_maxLoop?: number;\n}\n\nexport class Dexie implements IDexie {\n _options: DexieOptions;\n _state: DbReadyState;\n _versions: Version[];\n _storeNames: string[];\n _deps: DexieDOMDependencies;\n _allTables: { [name: string]: Table; };\n _createTransaction: (this: Dexie, mode: IDBTransactionMode, storeNames: ArrayLike, dbschema: { [tableName: string]: TableSchema; }, parentTransaction?: Transaction) => Transaction;\n _dbSchema: { [tableName: string]: TableSchema; };\n _hasGetAll?: boolean;\n _maxKey: IndexableType;\n _fireOnBlocked: (ev: Event) => void;\n _middlewares: {[StackName in keyof DexieStacks]?: Middleware[]} = {};\n _vip?: boolean;\n _novip?: Dexie;// db._novip is to escape to orig db from db.vip.\n core: DBCore;\n\n name: string;\n verno: number = 0;\n idbdb: IDBDatabase | null;\n vip: Dexie;\n on: DbEvents;\n\n Table: TableConstructor;\n WhereClause: WhereClauseConstructor;\n Collection: CollectionConstructor;\n Version: VersionConstructor;\n Transaction: TransactionConstructor;\n\n constructor(name: string, options?: DexieOptions) {\n const deps = (Dexie as any as DexieConstructor).dependencies;\n this._options = options = {\n // Default Options\n addons: (Dexie as any as DexieConstructor).addons, // Pick statically registered addons by default\n autoOpen: true, // Don't require db.open() explicitely.\n // Default DOM dependency implementations from static prop.\n indexedDB: deps.indexedDB, // Backend IndexedDB api. Default to browser env.\n IDBKeyRange: deps.IDBKeyRange, // Backend IDBKeyRange api. Default to browser env.\n ...options\n };\n this._deps = {\n indexedDB: options.indexedDB as IDBFactory,\n IDBKeyRange: options.IDBKeyRange as typeof IDBKeyRange\n };\n const {\n addons,\n } = options;\n this._dbSchema = {};\n this._versions = [];\n this._storeNames = [];\n this._allTables = {};\n this.idbdb = null;\n this._novip = this;\n const state: DbReadyState = {\n dbOpenError: null,\n isBeingOpened: false,\n onReadyBeingFired: null,\n openComplete: false,\n dbReadyResolve: nop,\n dbReadyPromise: null as Promise,\n cancelOpen: nop,\n openCanceller: null as Promise,\n autoSchema: true,\n PR1398_maxLoop: 3\n };\n state.dbReadyPromise = new Promise(resolve => {\n state.dbReadyResolve = resolve;\n });\n state.openCanceller = new Promise((_, reject) => {\n state.cancelOpen = reject;\n });\n this._state = state;\n this.name = name;\n this.on = Events(this, \"populate\", \"blocked\", \"versionchange\", \"close\", { ready: [promisableChain, nop] }) as DbEvents;\n this.on.ready.subscribe = override(this.on.ready.subscribe, subscribe => {\n return (subscriber, bSticky) => {\n (Dexie as any as DexieConstructor).vip(() => {\n const state = this._state;\n if (state.openComplete) {\n // Database already open. Call subscriber asap.\n if (!state.dbOpenError) Promise.resolve().then(subscriber);\n // bSticky: Also subscribe to future open sucesses (after close / reopen) \n if (bSticky) subscribe(subscriber);\n } else if (state.onReadyBeingFired) {\n // db.on('ready') subscribers are currently being executed and have not yet resolved or rejected\n state.onReadyBeingFired.push(subscriber);\n if (bSticky) subscribe(subscriber);\n } else {\n // Database not yet open. Subscribe to it.\n subscribe(subscriber);\n // If bSticky is falsy, make sure to unsubscribe subscriber when fired once.\n const db = this;\n if (!bSticky) subscribe(function unsubscribe() {\n db.on.ready.unsubscribe(subscriber);\n db.on.ready.unsubscribe(unsubscribe);\n });\n }\n });\n }\n });\n\n // Create derived classes bound to this instance of Dexie:\n this.Collection = createCollectionConstructor(this);\n this.Table = createTableConstructor(this);\n this.Transaction = createTransactionConstructor(this);\n this.Version = createVersionConstructor(this);\n this.WhereClause = createWhereClauseConstructor(this);\n\n // Default subscribers to \"versionchange\" and \"blocked\".\n // Can be overridden by custom handlers. If custom handlers return false, these default\n // behaviours will be prevented.\n this.on(\"versionchange\", ev => {\n // Default behavior for versionchange event is to close database connection.\n // Caller can override this behavior by doing db.on(\"versionchange\", function(){ return false; });\n // Let's not block the other window from making it's delete() or open() call.\n // NOTE! This event is never fired in IE,Edge or Safari.\n if (ev.newVersion > 0)\n console.warn(`Another connection wants to upgrade database '${this.name}'. Closing db now to resume the upgrade.`);\n else\n console.warn(`Another connection wants to delete database '${this.name}'. Closing db now to resume the delete request.`);\n this.close();\n // In many web applications, it would be recommended to force window.reload()\n // when this event occurs. To do that, subscribe to the versionchange event\n // and call window.location.reload(true) if ev.newVersion > 0 (not a deletion)\n // The reason for this is that your current web app obviously has old schema code that needs\n // to be updated. Another window got a newer version of the app and needs to upgrade DB but\n // your window is blocking it unless we close it here.\n });\n this.on(\"blocked\", ev => {\n if (!ev.newVersion || ev.newVersion < ev.oldVersion)\n console.warn(`Dexie.delete('${this.name}') was blocked`);\n else\n console.warn(`Upgrade '${this.name}' blocked by other connection holding version ${ev.oldVersion / 10}`);\n });\n\n this._maxKey = getMaxKey(options.IDBKeyRange as typeof IDBKeyRange);\n\n this._createTransaction = (\n mode: IDBTransactionMode,\n storeNames: string[],\n dbschema: DbSchema,\n parentTransaction?: Transaction) => new this.Transaction(mode, storeNames, dbschema, this._options.chromeTransactionDurability, parentTransaction);\n\n this._fireOnBlocked = ev => {\n this.on(\"blocked\").fire(ev);\n // Workaround (not fully*) for missing \"versionchange\" event in IE,Edge and Safari:\n connections\n .filter(c => c.name === this.name && c !== this && !c._state.vcFired)\n .map(c => c.on(\"versionchange\").fire(ev));\n }\n\n // Default middlewares:\n this.use(virtualIndexMiddleware);\n this.use(hooksMiddleware);\n this.use(observabilityMiddleware);\n this.use(cacheExistingValuesMiddleware);\n\n this.vip = Object.create(this, {_vip: {value: true}}) as Dexie;\n\n // Call each addon:\n addons.forEach(addon => addon(this));\n }\n\n version(versionNumber: number): Version {\n if (isNaN(versionNumber) || versionNumber < 0.1) throw new exceptions.Type(`Given version is not a positive number`);\n versionNumber = Math.round(versionNumber * 10) / 10;\n if (this.idbdb || this._state.isBeingOpened)\n throw new exceptions.Schema(\"Cannot add version when database is open\");\n this.verno = Math.max(this.verno, versionNumber);\n const versions = this._versions;\n var versionInstance = versions.filter(\n v => v._cfg.version === versionNumber)[0];\n if (versionInstance) return versionInstance;\n versionInstance = new this.Version(versionNumber);\n versions.push(versionInstance);\n versions.sort(lowerVersionFirst);\n versionInstance.stores({}); // Derive earlier schemas by default.\n // Disable autoschema mode, as at least one version is specified.\n this._state.autoSchema = false;\n return versionInstance;\n }\n\n _whenReady(fn: () => Promise): Promise {\n return (this.idbdb && (this._state.openComplete || PSD.letThrough || this._vip)) ? fn() : new Promise((resolve, reject) => {\n if (this._state.openComplete) {\n // idbdb is falsy but openComplete is true. Must have been an exception durin open.\n // Don't wait for openComplete as it would lead to infinite loop.\n return reject(new exceptions.DatabaseClosed(this._state.dbOpenError));\n }\n if (!this._state.isBeingOpened) {\n if (!this._options.autoOpen) {\n reject(new exceptions.DatabaseClosed());\n return;\n }\n this.open().catch(nop); // Open in background. If if fails, it will be catched by the final promise anyway.\n }\n this._state.dbReadyPromise.then(resolve, reject);\n }).then(fn);\n }\n\n use({stack, create, level, name}: Middleware): this {\n if (name) this.unuse({stack, name}); // Be able to replace existing middleware.\n const middlewares = this._middlewares[stack] || (this._middlewares[stack] = []);\n middlewares.push({stack, create, level: level == null ? 10 : level, name});\n middlewares.sort((a, b) => a.level - b.level);\n // Todo update db.core and db.tables...core ? Or should be expect this to have effect\n // only after next open()?\n return this;\n }\n\n unuse({stack, create}: Middleware<{stack: keyof DexieStacks}>): this;\n unuse({stack, name}: {stack: keyof DexieStacks, name: string}): this;\n unuse({stack, name, create}: {stack: keyof DexieStacks, name?: string, create?: Function}) {\n if (stack && this._middlewares[stack]) {\n this._middlewares[stack] = this._middlewares[stack].filter(mw =>\n create ? mw.create !== create : // Given middleware has a create method. Match that exactly.\n name ? mw.name !== name : // Given middleware spec \n false);\n }\n return this;\n }\n\n open() {\n return dexieOpen(this);\n }\n\n _close(): void {\n const state = this._state;\n const idx = connections.indexOf(this);\n if (idx >= 0) connections.splice(idx, 1);\n if (this.idbdb) {\n try { this.idbdb.close(); } catch (e) { }\n this._novip.idbdb = null; // db._novip is because db can be an Object.create(origDb).\n } \n // Reset dbReadyPromise promise:\n state.dbReadyPromise = new Promise(resolve => {\n state.dbReadyResolve = resolve;\n });\n state.openCanceller = new Promise((_, reject) => {\n state.cancelOpen = reject;\n });\n }\n\n close(): void {\n this._close();\n const state = this._state;\n this._options.autoOpen = false;\n state.dbOpenError = new exceptions.DatabaseClosed();\n if (state.isBeingOpened)\n state.cancelOpen(state.dbOpenError);\n }\n\n delete(): Promise {\n const hasArguments = arguments.length > 0;\n const state = this._state;\n return new Promise((resolve, reject) => {\n const doDelete = () => {\n this.close();\n var req = this._deps.indexedDB.deleteDatabase(this.name);\n req.onsuccess = wrap(() => {\n _onDatabaseDeleted(this._deps, this.name);\n resolve();\n });\n req.onerror = eventRejectHandler(reject);\n req.onblocked = this._fireOnBlocked;\n }\n\n if (hasArguments) throw new exceptions.InvalidArgument(\"Arguments not allowed in db.delete()\");\n if (state.isBeingOpened) {\n state.dbReadyPromise.then(doDelete);\n } else {\n doDelete();\n }\n });\n }\n\n backendDB() {\n return this.idbdb;\n }\n\n isOpen() {\n return this.idbdb !== null;\n }\n\n hasBeenClosed() {\n const dbOpenError = this._state.dbOpenError;\n return dbOpenError && (dbOpenError.name === 'DatabaseClosed');\n }\n\n hasFailed() {\n return this._state.dbOpenError !== null;\n }\n\n dynamicallyOpened() {\n return this._state.autoSchema;\n }\n\n get tables () {\n return keys(this._allTables).map(name => this._allTables[name]);\n }\n\n transaction(): Promise {\n const args = extractTransactionArgs.apply(this, arguments);\n return this._transaction.apply(this, args);\n }\n\n _transaction(mode: TransactionMode, tables: Array, scopeFunc: Function) {\n let parentTransaction = PSD.trans as Transaction | undefined;\n // Check if parent transactions is bound to this db instance, and if caller wants to reuse it\n if (!parentTransaction || parentTransaction.db !== this || mode.indexOf('!') !== -1) parentTransaction = null;\n const onlyIfCompatible = mode.indexOf('?') !== -1;\n mode = mode.replace('!', '').replace('?', '') as TransactionMode; // Ok. Will change arguments[0] as well but we wont touch arguments henceforth.\n let idbMode: IDBTransactionMode,\n storeNames;\n\n try {\n //\n // Get storeNames from arguments. Either through given table instances, or through given table names.\n //\n storeNames = tables.map(table => {\n var storeName = table instanceof this.Table ? table.name : table;\n if (typeof storeName !== 'string') throw new TypeError(\"Invalid table argument to Dexie.transaction(). Only Table or String are allowed\");\n return storeName;\n });\n\n //\n // Resolve mode. Allow shortcuts \"r\" and \"rw\".\n //\n if (mode == \"r\" || mode === READONLY)\n idbMode = READONLY;\n else if (mode == \"rw\" || mode == READWRITE)\n idbMode = READWRITE;\n else\n throw new exceptions.InvalidArgument(\"Invalid transaction mode: \" + mode);\n\n if (parentTransaction) {\n // Basic checks\n if (parentTransaction.mode === READONLY && idbMode === READWRITE) {\n if (onlyIfCompatible) {\n // Spawn new transaction instead.\n parentTransaction = null; \n }\n else throw new exceptions.SubTransaction(\"Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY\");\n }\n if (parentTransaction) {\n storeNames.forEach(storeName => {\n if (parentTransaction && parentTransaction.storeNames.indexOf(storeName) === -1) {\n if (onlyIfCompatible) {\n // Spawn new transaction instead.\n parentTransaction = null; \n }\n else throw new exceptions.SubTransaction(\"Table \" + storeName +\n \" not included in parent transaction.\");\n }\n });\n }\n if (onlyIfCompatible && parentTransaction && !parentTransaction.active) {\n // '?' mode should not keep using an inactive transaction.\n parentTransaction = null;\n }\n }\n } catch (e) {\n return parentTransaction ?\n parentTransaction._promise(null, (_, reject) => {reject(e);}) :\n rejection (e);\n }\n // If this is a sub-transaction, lock the parent and then launch the sub-transaction.\n const enterTransaction = enterTransactionScope.bind(null, this, idbMode, storeNames, parentTransaction, scopeFunc);\n return (parentTransaction ?\n parentTransaction._promise(idbMode, enterTransaction, \"lock\") :\n PSD.trans ?\n // no parent transaction despite PSD.trans exists. Make sure also\n // that the zone we create is not a sub-zone of current, because\n // Promise.follow() should not wait for it if so.\n usePSD(PSD.transless, ()=>this._whenReady(enterTransaction)) :\n this._whenReady (enterTransaction));\n }\n\n table(tableName: string): Table;\n table(tableName: string): ITable;\n table(tableName: string): Table {\n if (!hasOwn(this._allTables, tableName)) {\n throw new exceptions.InvalidTable(`Table ${tableName} does not exist`); }\n return this._allTables[tableName];\n }\n}\n","import { Dexie } from '../../classes/dexie';\nimport { makeClassConstructor } from '../../functions/make-class-constructor';\nimport { Collection } from './collection';\nimport { WhereClause } from '../where-clause/where-clause';\nimport { AnyRange } from '../../dbcore/keyrange';\nimport { DBCoreKeyRange } from '../../public/types/dbcore';\nimport { mirror } from '../../functions/chaining-functions';\n\n/** Constructs a Collection instance. */\nexport interface CollectionConstructor {\n new(whereClause?: WhereClause | null, keyRangeGenerator?: () => DBCoreKeyRange): Collection;\n prototype: Collection;\n}\n\n/** Generates a Collection constructor bound to given Dexie instance.\n * \n * The purpose of having dynamically created constructors, is to allow\n * addons to extend classes for a certain Dexie instance without affecting\n * other db instances.\n */\nexport function createCollectionConstructor(db: Dexie) {\n return makeClassConstructor(\n Collection.prototype,\n\n function Collection(\n this: Collection,\n whereClause?: WhereClause | null,\n keyRangeGenerator?: () => DBCoreKeyRange)\n {\n this.db = db;\n let keyRange = AnyRange, error = null;\n if (keyRangeGenerator) try {\n keyRange = keyRangeGenerator();\n } catch (ex) {\n error = ex;\n }\n\n const whereCtx = whereClause._ctx;\n const table = whereCtx.table;\n const readingHook = table.hook.reading.fire;\n this._ctx = {\n table: table,\n index: whereCtx.index,\n isPrimKey: (!whereCtx.index || (table.schema.primKey.keyPath && whereCtx.index === table.schema.primKey.name)),\n range: keyRange,\n keysOnly: false,\n dir: \"next\",\n unique: \"\",\n algorithm: null,\n filter: null,\n replayFilter: null,\n justLimit: true, // True if a replayFilter is just a filter that performs a \"limit\" operation (or none at all)\n isMatch: null,\n offset: 0,\n limit: Infinity,\n error: error, // If set, any promise must be rejected with this error\n or: whereCtx.or,\n valueMapper: readingHook !== mirror ? readingHook : null\n };\n }\n );\n}\n","import { Dexie } from '../dexie';\nimport { TableSchema } from '../../public/types/table-schema';\nimport { Transaction } from '../transaction/transaction';\nimport { hookCreatingChain, pureFunctionChain, nop, mirror, hookUpdatingChain, hookDeletingChain } from '../../functions/chaining-functions';\nimport { TableHooks } from '../../public/types/table-hooks';\nimport { Table } from './table';\nimport Events from '../../helpers/Events';\nimport { makeClassConstructor } from '../../functions/make-class-constructor';\n\nexport interface TableConstructor {\n new (name: string, tableSchema: TableSchema, optionalTrans?: Transaction) : Table;\n prototype: Table;\n}\n\n/** Generates a Table constructor bound to given Dexie instance.\n * \n * The purpose of having dynamically created constructors, is to allow\n * addons to extend classes for a certain Dexie instance without affecting\n * other db instances.\n */\nexport function createTableConstructor (db: Dexie) {\n return makeClassConstructor(\n Table.prototype,\n\n function Table (this: Table, name: string, tableSchema: TableSchema, trans?: Transaction) {\n this.db = db;\n this._tx = trans;\n this.name = name;\n this.schema = tableSchema;\n this.hook = db._allTables[name] ? db._allTables[name].hook : Events(null, {\n \"creating\": [hookCreatingChain, nop],\n \"reading\": [pureFunctionChain, mirror],\n \"updating\": [hookUpdatingChain, nop],\n \"deleting\": [hookDeletingChain, nop]\n }) as TableHooks;\n }\n\n );\n}\n","import { Dexie } from '../dexie';\nimport { makeClassConstructor } from '../../functions/make-class-constructor';\nimport { Transaction } from './transaction';\nimport { DbSchema } from '../../public/types/db-schema';\nimport Events from '../../helpers/Events';\nimport Promise, { rejection } from '../../helpers/promise';\n\nexport interface TransactionConstructor {\n new (\n mode: IDBTransactionMode,\n storeNames: string[],\n dbschema: DbSchema,\n chromeTransactionDurability: ChromeTransactionDurability,\n parent?: Transaction) : T;\n prototype: T;\n}\n\n/** Generates a Transaction constructor bound to given Dexie instance.\n * \n * The purpose of having dynamically created constructors, is to allow\n * addons to extend classes for a certain Dexie instance without affecting\n * other db instances.\n */\nexport function createTransactionConstructor(db: Dexie) {\n return makeClassConstructor>(\n Transaction.prototype,\n function Transaction (\n this: Transaction,\n mode: IDBTransactionMode,\n storeNames: string[],\n dbschema: DbSchema,\n chromeTransactionDurability: ChromeTransactionDurability,\n parent?: Transaction)\n {\n this.db = db;\n this.mode = mode;\n this.storeNames = storeNames;\n this.schema = dbschema;\n this.chromeTransactionDurability = chromeTransactionDurability;\n this.idbtrans = null;\n this.on = Events(this, \"complete\", \"error\", \"abort\");\n this.parent = parent || null;\n this.active = true;\n this._reculock = 0;\n this._blockedFuncs = [];\n this._resolve = null;\n this._reject = null;\n this._waitingFor = null;\n this._waitingQueue = null;\n this._spinCount = 0; // Just for debugging waitFor()\n this._completion = new Promise ((resolve, reject) => {\n this._resolve = resolve;\n this._reject = reject;\n });\n \n this._completion.then(\n ()=> {\n this.active = false;\n this.on.complete.fire();\n },\n e => {\n var wasActive = this.active;\n this.active = false;\n this.on.error.fire(e);\n this.parent ?\n this.parent._reject(e) :\n wasActive && this.idbtrans && this.idbtrans.abort();\n return rejection(e); // Indicate we actually DO NOT catch this error.\n });\n \n });\n}\n","import { Dexie } from '../dexie';\nimport { makeClassConstructor } from '../../functions/make-class-constructor';\nimport { Version } from './version';\n\nexport interface VersionConstructor {\n new(versionNumber: number): Version;\n prototype: Version;\n}\n\n/** Generates a Version constructor bound to given Dexie instance.\n * \n * The purpose of having dynamically created constructors, is to allow\n * addons to extend classes for a certain Dexie instance without affecting\n * other db instances.\n */\nexport function createVersionConstructor(db: Dexie) {\n return makeClassConstructor(\n Version.prototype,\n\n function Version(this: Version, versionNumber: number) {\n this.db = db;\n this._cfg = {\n version: versionNumber,\n storesSource: null,\n dbschema: {},\n tables: {},\n contentUpgrade: null\n };\n });\n\n}\n","import { Dexie } from '../dexie';\nimport { makeClassConstructor } from '../../functions/make-class-constructor';\nimport { WhereClause } from './where-clause';\nimport { Table } from '../table';\nimport { Collection } from '../collection';\nimport { exceptions } from '../../errors';\n\nexport interface WhereClauseConstructor {\n new(table: Table, index?: string, orCollection?: Collection): WhereClause;\n prototype: WhereClause;\n}\n\n/** Generates a WhereClause constructor.\n * \n * The purpose of having dynamically created constructors, is to allow\n * addons to extend classes for a certain Dexie instance without affecting\n * other db instances.\n */\nexport function createWhereClauseConstructor(db: Dexie) {\n return makeClassConstructor(\n WhereClause.prototype,\n\n function WhereClause(this: WhereClause, table: Table, index?: string, orCollection?: Collection) {\n this.db = db;\n this._ctx = {\n table: table,\n index: index === \":id\" ? null : index,\n or: orCollection\n };\n const indexedDB = db._deps.indexedDB;\n if (!indexedDB) throw new exceptions.MissingAPI();\n this._cmp = this._ascending = indexedDB.cmp.bind(indexedDB);\n this._descending = (a, b) => indexedDB.cmp(b, a);\n this._max = (a, b) => indexedDB.cmp(a,b) > 0 ? a : b;\n this._min = (a, b) => indexedDB.cmp(a,b) < 0 ? a : b;\n this._IDBKeyRange = db._deps.IDBKeyRange;\n }\n );\n}\n","import { deepClone, keys } from \"../functions/utils\";\nimport { mergeRanges, RangeSet } from \"../helpers/rangeset\";\nimport { ObservabilitySet } from \"../public/types/db-events\";\n\nexport function extendObservabilitySet(\n target: ObservabilitySet,\n newSet: ObservabilitySet\n): ObservabilitySet {\n keys(newSet).forEach(part => {\n const rangeSet = target[part] || (target[part] = new RangeSet());\n mergeRanges(rangeSet, newSet[part]);\n });\n return target;\n}\n","import { isAsyncFunction, keys } from \"../functions/utils\";\nimport { globalEvents, DEXIE_STORAGE_MUTATED_EVENT_NAME } from \"../globals/global-events\";\nimport {\n decrementExpectedAwaits,\n incrementExpectedAwaits,\n newScope,\n PSD,\n usePSD,\n} from \"../helpers/promise\";\nimport { ObservabilitySet } from \"../public/types/db-events\";\nimport {\n Observable as IObservable,\n Subscription,\n} from \"../public/types/observable\";\nimport { Observable } from \"../classes/observable/observable\";\nimport { extendObservabilitySet } from \"./extend-observability-set\";\nimport { rangesOverlap } from \"../helpers/rangeset\";\n\nexport function liveQuery(querier: () => T | Promise): IObservable {\n let hasValue = false;\n let currentValue: T = undefined as any;\n const observable = new Observable((observer) => {\n const scopeFuncIsAsync = isAsyncFunction(querier);\n function execute(subscr: ObservabilitySet) {\n if (scopeFuncIsAsync) {\n incrementExpectedAwaits();\n }\n const exec = () => newScope(querier, { subscr, trans: null });\n const rv = PSD.trans\n ? // Ignore current transaction if active when calling subscribe().\n usePSD(PSD.transless, exec)\n : exec();\n if (scopeFuncIsAsync) {\n (rv as Promise).then(\n decrementExpectedAwaits,\n decrementExpectedAwaits\n );\n }\n return rv;\n }\n\n let closed = false;\n\n let accumMuts: ObservabilitySet = {};\n let currentObs: ObservabilitySet = {};\n\n const subscription: Subscription = {\n get closed() {\n return closed;\n },\n unsubscribe: () => {\n closed = true;\n globalEvents.storagemutated.unsubscribe(mutationListener);\n },\n };\n\n observer.start && observer.start(subscription); // https://github.com/tc39/proposal-observable\n\n let querying = false,\n startedListening = false;\n\n function shouldNotify() {\n return keys(currentObs).some(\n (key) =>\n accumMuts[key] && rangesOverlap(accumMuts[key], currentObs[key])\n );\n }\n\n const mutationListener = (parts: ObservabilitySet) => {\n extendObservabilitySet(accumMuts, parts);\n if (shouldNotify()) {\n doQuery();\n }\n };\n\n const doQuery = () => {\n if (querying || closed) return;\n accumMuts = {};\n const subscr: ObservabilitySet = {};\n const ret = execute(subscr);\n if (!startedListening) {\n globalEvents(DEXIE_STORAGE_MUTATED_EVENT_NAME, mutationListener);\n startedListening = true;\n }\n querying = true;\n Promise.resolve(ret).then(\n (result) => {\n hasValue = true;\n currentValue = result;\n querying = false;\n if (closed) return;\n if (shouldNotify()) {\n // Mutations has happened while we were querying. Redo query.\n doQuery();\n } else {\n accumMuts = {};\n // Update what we are subscribing for based on this last run:\n currentObs = subscr;\n observer.next && observer.next(result);\n }\n },\n (err) => {\n querying = false;\n hasValue = false;\n observer.error && observer.error(err);\n subscription.unsubscribe();\n }\n );\n };\n\n doQuery();\n return subscription;\n });\n observable.hasValue = () => hasValue;\n observable.getValue = () => currentValue;\n return observable;\n}\n","import { Dexie as _Dexie } from './dexie';\nimport { _global } from '../../globals/global';\nimport { props, derive, extend, override, getByKeyPath, setByKeyPath, delByKeyPath, shallowClone, deepClone, asap } from '../../functions/utils';\nimport { getObjectDiff } from \"../../functions/get-object-diff\";\nimport { fullNameExceptions } from '../../errors';\nimport { DexieConstructor } from '../../public/types/dexie-constructor';\nimport { getDatabaseNames } from '../../helpers/database-enumerator';\nimport { PSD } from '../../helpers/promise';\nimport { usePSD } from '../../helpers/promise';\nimport { newScope } from '../../helpers/promise';\nimport { rejection } from '../../helpers/promise';\nimport { awaitIterator } from '../../helpers/yield-support';\nimport Promise from '../../helpers/promise';\nimport * as Debug from '../../helpers/debug';\nimport { dexieStackFrameFilter, minKey, connections, DEXIE_VERSION } from '../../globals/constants';\nimport Events from '../../helpers/Events';\nimport { exceptions } from '../../errors';\nimport { errnames } from '../../errors';\nimport { getMaxKey } from '../../functions/quirks';\nimport { vip } from './vip';\nimport { globalEvents } from '../../globals/global-events';\nimport { liveQuery } from '../../live-query/live-query';\nimport { extendObservabilitySet } from '../../live-query/extend-observability-set';\nimport { domDeps } from './dexie-dom-dependencies';\nimport { cmp } from '../../functions/cmp';\n\n/* (Dexie) is an instance of DexieConstructor, as defined in public/types/dexie-constructor.d.ts\n* (new Dexie()) is an instance of Dexie, as defined in public/types/dexie.d.ts\n* \n* Why we're doing this?\n\n* Because we've choosen to define the public Dexie API using a DexieConstructor interface\n* rather than declaring a class. On that interface, all static props are defined.\n* In practice, class Dexie's constructor implements DexieConstructor and all member props\n* are defined in interface Dexie. We could say, it's a typescript limitation of not being\n* able to define a static interface that forces us to do the cast below.\n*/\nconst Dexie = _Dexie as any as DexieConstructor;\n\n//\n// Set all static methods and properties onto Dexie:\n// \nprops(Dexie, {\n\n // Dexie.BulkError = class BulkError {...};\n // Dexie.XXXError = class XXXError {...};\n ...fullNameExceptions,\n\n //\n // Static delete() method.\n //\n delete(databaseName: string) {\n const db = new Dexie(databaseName, {addons: []});\n return db.delete();\n },\n\n //\n // Static exists() method.\n //\n exists(name: string) {\n return new Dexie(name, { addons: [] }).open().then(db => {\n db.close();\n return true;\n }).catch('NoSuchDatabaseError', () => false);\n },\n\n //\n // Static method for retrieving a list of all existing databases at current host.\n //\n getDatabaseNames(cb) {\n try {\n return getDatabaseNames(Dexie.dependencies).then(cb);\n } catch {\n return rejection(new exceptions.MissingAPI());\n }\n },\n\n /** @deprecated */\n defineClass() {\n function Class(content) {\n extend(this, content);\n }\n return Class;\n },\n\n ignoreTransaction(scopeFunc) {\n // In case caller is within a transaction but needs to create a separate transaction.\n // Example of usage:\n //\n // Let's say we have a logger function in our app. Other application-logic should be unaware of the\n // logger function and not need to include the 'logentries' table in all transaction it performs.\n // The logging should always be done in a separate transaction and not be dependant on the current\n // running transaction context. Then you could use Dexie.ignoreTransaction() to run code that starts a new transaction.\n //\n // Dexie.ignoreTransaction(function() {\n // db.logentries.add(newLogEntry);\n // });\n //\n // Unless using Dexie.ignoreTransaction(), the above example would try to reuse the current transaction\n // in current Promise-scope.\n //\n // An alternative to Dexie.ignoreTransaction() would be setImmediate() or setTimeout(). The reason we still provide an\n // API for this because\n // 1) The intention of writing the statement could be unclear if using setImmediate() or setTimeout().\n // 2) setTimeout() would wait unnescessary until firing. This is however not the case with setImmediate().\n // 3) setImmediate() is not supported in the ES standard.\n // 4) You might want to keep other PSD state that was set in a parent PSD, such as PSD.letThrough.\n return PSD.trans ?\n usePSD(PSD.transless, scopeFunc) : // Use the closest parent that was non-transactional.\n scopeFunc(); // No need to change scope because there is no ongoing transaction.\n },\n\n vip,\n\n async: function (generatorFn: Function) {\n return function () {\n try {\n var rv = awaitIterator(generatorFn.apply(this, arguments));\n if (!rv || typeof rv.then !== 'function')\n return Promise.resolve(rv);\n return rv;\n } catch (e) {\n return rejection(e);\n }\n };\n },\n\n spawn: function (generatorFn, args, thiz) {\n try {\n var rv = awaitIterator(generatorFn.apply(thiz, args || []));\n if (!rv || typeof rv.then !== 'function')\n return Promise.resolve(rv);\n return rv;\n } catch (e) {\n return rejection(e);\n }\n },\n\n // Dexie.currentTransaction property\n currentTransaction: {\n get: () => PSD.trans || null\n },\n\n waitFor: function (promiseOrFunction, optionalTimeout) {\n // If a function is provided, invoke it and pass the returning value to Transaction.waitFor()\n const promise = Promise.resolve(\n typeof promiseOrFunction === 'function' ?\n Dexie.ignoreTransaction(promiseOrFunction) :\n promiseOrFunction)\n .timeout(optionalTimeout || 60000); // Default the timeout to one minute. Caller may specify Infinity if required. \n\n // Run given promise on current transaction. If no current transaction, just return a Dexie promise based\n // on given value.\n return PSD.trans ?\n PSD.trans.waitFor(promise) :\n promise;\n },\n\n // Export our Promise implementation since it can be handy as a standalone Promise implementation\n Promise: Promise,\n\n // Dexie.debug proptery:\n // Dexie.debug = false\n // Dexie.debug = true\n // Dexie.debug = \"dexie\" - don't hide dexie's stack frames.\n debug: {\n get: () => Debug.debug,\n set: value => {\n Debug.setDebug(value, value === 'dexie' ? () => true : dexieStackFrameFilter);\n }\n },\n\n // Export our derive/extend/override methodology\n derive: derive, // Deprecate?\n extend: extend, // Deprecate?\n props: props,\n override: override, // Deprecate?\n // Export our Events() function - can be handy as a toolkit\n Events: Events,\n on: globalEvents,\n liveQuery,\n extendObservabilitySet,\n // Utilities\n getByKeyPath: getByKeyPath,\n setByKeyPath: setByKeyPath,\n delByKeyPath: delByKeyPath,\n shallowClone: shallowClone,\n deepClone: deepClone,\n getObjectDiff: getObjectDiff,\n cmp,\n asap: asap,\n //maxKey: new Dexie('',{addons:[]})._maxKey,\n minKey: minKey,\n // Addon registry\n addons: [],\n // Global DB connection list\n connections: connections,\n\n //MultiModifyError: exceptions.Modify, // Obsolete!\n errnames: errnames,\n\n // Export other static classes\n //IndexSpec: IndexSpec, Obsolete!\n //TableSchema: TableSchema, Obsolete!\n\n //\n // Dependencies\n //\n // These will automatically work in browsers with indexedDB support, or where an indexedDB polyfill has been included.\n //\n // In node.js, however, these properties must be set \"manually\" before instansiating a new Dexie().\n // For node.js, you need to require indexeddb-js or similar and then set these deps.\n //\n dependencies: domDeps,\n\n // API Version Number: Type Number, make sure to always set a version number that can be comparable correctly. Example: 0.9, 0.91, 0.92, 1.0, 1.01, 1.1, 1.2, 1.21, etc.\n semVer: DEXIE_VERSION,\n version: DEXIE_VERSION.split('.')\n .map(n => parseInt(n))\n .reduce((p, c, i) => p + (c / Math.pow(10, i * 2))),\n\n // https://github.com/dfahlander/Dexie.js/issues/186\n // typescript compiler tsc in mode ts-->es5 & commonJS, will expect require() to return\n // x.default. Workaround: Set Dexie.default = Dexie.\n // default: Dexie, // Commented because solved in index-umd.ts instead.\n // Make it possible to import {Dexie} (non-default import)\n // Reason 1: May switch to that in future.\n // Reason 2: We declare it both default and named exported in d.ts to make it possible\n // to let addons extend the Dexie interface with Typescript 2.1 (works only when explicitely\n // exporting the symbol, not just default exporting)\n // Dexie: Dexie // Commented because solved in index-umd.ts instead.\n});\n\nDexie.maxKey = getMaxKey(Dexie.dependencies.IDBKeyRange);\n","import { isIEOrEdge } from '../globals/constants';\nimport { globalEvents, DEXIE_STORAGE_MUTATED_EVENT_NAME, STORAGE_MUTATED_DOM_EVENT_NAME } from '../globals/global-events';\nimport { ObservabilitySet } from \"../public/types/db-events\";\n\nif (typeof dispatchEvent !== 'undefined' && typeof addEventListener !== 'undefined') {\n globalEvents(DEXIE_STORAGE_MUTATED_EVENT_NAME, updatedParts => {\n if (!propagatingLocally) {\n let event: CustomEvent;\n if (isIEOrEdge) {\n event = document.createEvent('CustomEvent');\n event.initCustomEvent(STORAGE_MUTATED_DOM_EVENT_NAME, true, true, updatedParts);\n } else {\n event = new CustomEvent(STORAGE_MUTATED_DOM_EVENT_NAME, {\n detail: updatedParts\n });\n }\n propagatingLocally = true;\n dispatchEvent(event);\n propagatingLocally = false;\n }\n });\n addEventListener(STORAGE_MUTATED_DOM_EVENT_NAME, ({detail}: CustomEvent) => {\n if (!propagatingLocally) {\n propagateLocally(detail);\n }\n });\n}\n\nexport function propagateLocally(updateParts: ObservabilitySet) {\n let wasMe = propagatingLocally;\n try {\n propagatingLocally = true;\n globalEvents.storagemutated.fire(updateParts);\n } finally {\n propagatingLocally = wasMe;\n }\n}\n\nexport let propagatingLocally = false;\n","import {\n globalEvents,\n STORAGE_MUTATED_DOM_EVENT_NAME,\n DEXIE_STORAGE_MUTATED_EVENT_NAME,\n} from '../globals/global-events';\nimport { propagateLocally, propagatingLocally } from './propagate-locally';\n\nif (typeof BroadcastChannel !== 'undefined') {\n const bc = new BroadcastChannel(STORAGE_MUTATED_DOM_EVENT_NAME);\n\n /**\n * The Node.js BroadcastChannel will prevent the node process from exiting\n * if the BroadcastChannel is not closed.\n * Therefore we have to call unref() which allows the process to finish\n * properly even when the BroadcastChannel is never closed.\n * @link https://nodejs.org/api/worker_threads.html#broadcastchannelunref\n * @link https://github.com/dexie/Dexie.js/pull/1576\n */\n if (typeof (bc as any).unref === 'function') {\n (bc as any).unref();\n } \n \n //\n // Propagate local changes to remote tabs, windows and workers via BroadcastChannel\n //\n globalEvents(DEXIE_STORAGE_MUTATED_EVENT_NAME, (changedParts) => {\n if (!propagatingLocally) {\n bc.postMessage(changedParts);\n }\n });\n\n //\n // Propagate remote changes locally via storage event:\n //\n bc.onmessage = (ev) => {\n if (ev.data) propagateLocally(ev.data);\n };\n} else if (typeof self !== 'undefined' && typeof navigator !== 'undefined') {\n // DOM verified - when typeof self !== \"undefined\", we are a window or worker. Not a Node process.\n\n //\n // Propagate local changes to remote tabs/windows via storage event and service worker\n // via messages. We have this code here because of https://bugs.webkit.org/show_bug.cgi?id=161472.\n //\n globalEvents(DEXIE_STORAGE_MUTATED_EVENT_NAME, (changedParts) => {\n try {\n if (!propagatingLocally) {\n if (typeof localStorage !== 'undefined') {\n // We're a browsing window or tab. Propagate to other windows/tabs via storage event:\n localStorage.setItem(\n STORAGE_MUTATED_DOM_EVENT_NAME,\n JSON.stringify({\n trig: Math.random(),\n changedParts,\n })\n );\n }\n if (typeof self['clients'] === 'object') {\n // We're a service worker. Propagate to our browser clients.\n [...self['clients'].matchAll({ includeUncontrolled: true })].forEach(\n (client) =>\n client.postMessage({\n type: STORAGE_MUTATED_DOM_EVENT_NAME,\n changedParts,\n })\n );\n }\n }\n } catch {}\n });\n\n //\n // Propagate remote changes locally via storage event:\n //\n if (typeof addEventListener !== 'undefined') {\n addEventListener('storage', (ev: StorageEvent) => {\n if (ev.key === STORAGE_MUTATED_DOM_EVENT_NAME) {\n const data = JSON.parse(ev.newValue);\n if (data) propagateLocally(data.changedParts);\n }\n });\n }\n\n //\n // Propagate messages from service worker\n //\n const swContainer = self.document && navigator.serviceWorker; // self.document is to verify we're not the SW ourself\n if (swContainer) {\n // We're a browser window and want to propagate message from the SW:\n swContainer.addEventListener('message', propagateMessageLocally);\n }\n}\n\nfunction propagateMessageLocally({ data }: MessageEvent) {\n if (data && data.type === STORAGE_MUTATED_DOM_EVENT_NAME) {\n propagateLocally(data.changedParts);\n }\n}\n","import { Dexie } from './classes/dexie';\nimport { DexieConstructor } from './public/types/dexie-constructor';\nimport { DexiePromise } from './helpers/promise';\nimport { mapError } from './errors';\nimport * as Debug from './helpers/debug';\nimport { dexieStackFrameFilter } from './globals/constants';\n\n// Generate all static properties such as Dexie.maxKey etc\n// (implement interface DexieConstructor):\nimport './classes/dexie/dexie-static-props';\nimport './live-query/enable-broadcast';\nimport { liveQuery } from './live-query/live-query';\n\n// Set rejectionMapper of DexiePromise so that it generally tries to map\n// DOMErrors and DOMExceptions to a DexieError instance with same name but with\n// async stack support and with a prototypal inheritance from DexieError and Error.\n// of Map DOMErrors and DOMExceptions to corresponding Dexie errors.\nDexiePromise.rejectionMapper = mapError;\n\n// Let the async stack filter focus on app code and filter away frames from dexie.min.js:\nDebug.setDebug(Debug.debug, dexieStackFrameFilter);\n\nexport { RangeSet, mergeRanges, rangesOverlap } from \"./helpers/rangeset\";\nexport { Dexie, liveQuery }; // Comply with public/index.d.ts.\nexport default Dexie;\n","require('./helpers/bundle-manifest').register(JSON.parse(\"{\\\"kXHk2\\\":\\\"index.74fa8025.js\\\",\\\"4cvKi\\\":\\\"ticker.5331175f.js\\\",\\\"bGRlQ\\\":\\\"index.ddab7344.css\\\"}\"));","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) resolve(value);\n else Promise.resolve(value).then(_next, _throw);\n}\nexport function _async_to_generator(fn) {\n return function() {\n var self = this, args = arguments;\n\n return new Promise(function(resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}\nexport { _async_to_generator as _ };\n","export function _class_call_check(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nexport { _class_call_check as _ };\n","export function _array_with_holes(arr) {\n if (Array.isArray(arr)) return arr;\n}\nexport { _array_with_holes as _ };\n","export function _iterable_to_array_limit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\nexport { _iterable_to_array_limit as _ };\n","export function _non_iterable_rest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _non_iterable_rest as _ };\n","export function _array_like_to_array(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\nexport { _array_like_to_array as _ };\n","import { _array_like_to_array } from \"./_array_like_to_array.js\";\n\nexport function _unsupported_iterable_to_array(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _array_like_to_array(o, minLen);\n\n var n = Object.prototype.toString.call(o).slice(8, -1);\n\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);\n}\nexport { _unsupported_iterable_to_array as _ };\n","import { _array_with_holes } from \"./_array_with_holes.js\";\nimport { _iterable_to_array_limit } from \"./_iterable_to_array_limit.js\";\nimport { _non_iterable_rest } from \"./_non_iterable_rest.js\";\nimport { _unsupported_iterable_to_array } from \"./_unsupported_iterable_to_array.js\";\n\nexport function _sliced_to_array(arr, i) {\n return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();\n}\nexport { _sliced_to_array as _ };\n","import { _array_like_to_array } from \"./_array_like_to_array.js\";\n\nexport function _array_without_holes(arr) {\n if (Array.isArray(arr)) return _array_like_to_array(arr);\n}\nexport { _array_without_holes as _ };\n","export function _iterable_to_array(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) {\n return Array.from(iter);\n }\n}\nexport { _iterable_to_array as _ };\n","export function _non_iterable_spread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _non_iterable_spread as _ };\n","import { _array_without_holes } from \"./_array_without_holes.js\";\nimport { _iterable_to_array } from \"./_iterable_to_array.js\";\nimport { _non_iterable_spread } from \"./_non_iterable_spread.js\";\nimport { _unsupported_iterable_to_array } from \"./_unsupported_iterable_to_array.js\";\n\nexport function _to_consumable_array(arr) {\n return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();\n}\nexport { _to_consumable_array as _ };\n","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n function next() {\r\n while (env.stack.length) {\r\n var rec = env.stack.pop();\r\n try {\r\n var result = rec.dispose && rec.dispose.call(rec.value);\r\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n};\r\n","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n\n if (\"value\" in descriptor) descriptor.writable = true;\n\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nexport function _create_class(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n\n return Constructor;\n}\nexport { _create_class as _ };\n","export function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });\n } else obj[key] = value;\n\n return obj;\n}\nexport { _define_property as _ };\n","export function _set_prototype_of(o, p) {\n _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {\n o.__proto__ = p;\n\n return o;\n };\n\n return _set_prototype_of(o, p);\n}\nexport { _set_prototype_of as _ };\n","import { _set_prototype_of } from \"./_set_prototype_of.js\";\n\nexport function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });\n\n if (superClass) _set_prototype_of(subClass, superClass);\n}\nexport { _inherits as _ };\n","export function _is_native_reflect_construct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n\n return true;\n } catch (e) {\n return false;\n }\n}\nexport { _is_native_reflect_construct as _ };\n","import { _is_native_reflect_construct } from \"./_is_native_reflect_construct.js\";\nimport { _set_prototype_of } from \"./_set_prototype_of.js\";\nexport function _construct(Parent, args, Class) {\n if (_is_native_reflect_construct()) _construct = Reflect.construct;\n else {\n _construct = function construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n\n if (Class) _set_prototype_of(instance, Class.prototype);\n\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\nexport { _construct as _ };\n","export function _get_prototype_of(o) {\n _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n\n return _get_prototype_of(o);\n}\nexport { _get_prototype_of as _ };\n","import { _construct } from \"./_construct.js\";\nimport { _get_prototype_of } from \"./_get_prototype_of.js\";\nimport { _is_native_function } from \"./_is_native_function.js\";\nimport { _set_prototype_of } from \"./_set_prototype_of.js\";\n\nexport function _wrap_native_super(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n _wrap_native_super = function(Class) {\n if (Class === null || !_is_native_function(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return _construct(Class, arguments, _get_prototype_of(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } });\n\n return _set_prototype_of(Wrapper, Class);\n };\n\n return _wrap_native_super(Class);\n}\nexport { _wrap_native_super as _ };\n","export function _is_native_function(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\nexport { _is_native_function as _ };\n","export function _assert_this_initialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\n return self;\n}\nexport { _assert_this_initialized as _ };\n","////////////////////////////////////////////////////////////////////////////////\n//#region Types and Constants\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Actions represent the type of change to a location value.\n */\nexport enum Action {\n /**\n * A POP indicates a change to an arbitrary index in the history stack, such\n * as a back or forward navigation. It does not describe the direction of the\n * navigation, only that the current index changed.\n *\n * Note: This is the default action for newly created history objects.\n */\n Pop = \"POP\",\n\n /**\n * A PUSH indicates a new entry being added to the history stack, such as when\n * a link is clicked and a new page loads. When this happens, all subsequent\n * entries in the stack are lost.\n */\n Push = \"PUSH\",\n\n /**\n * A REPLACE indicates the entry at the current index in the history stack\n * being replaced by a new one.\n */\n Replace = \"REPLACE\",\n}\n\n/**\n * The pathname, search, and hash values of a URL.\n */\nexport interface Path {\n /**\n * A URL pathname, beginning with a /.\n */\n pathname: string;\n\n /**\n * A URL search string, beginning with a ?.\n */\n search: string;\n\n /**\n * A URL fragment identifier, beginning with a #.\n */\n hash: string;\n}\n\n// TODO: (v7) Change the Location generic default from `any` to `unknown` and\n// remove Remix `useLocation` wrapper.\n\n/**\n * An entry in a history stack. A location contains information about the\n * URL path, as well as possibly some arbitrary state and a key.\n */\nexport interface Location extends Path {\n /**\n * A value of arbitrary data associated with this location.\n */\n state: State;\n\n /**\n * A unique string associated with this location. May be used to safely store\n * and retrieve data in some other storage API, like `localStorage`.\n *\n * Note: This value is always \"default\" on the initial location.\n */\n key: string;\n}\n\n/**\n * A change to the current location.\n */\nexport interface Update {\n /**\n * The action that triggered the change.\n */\n action: Action;\n\n /**\n * The new location.\n */\n location: Location;\n\n /**\n * The delta between this location and the former location in the history stack\n */\n delta: number | null;\n}\n\n/**\n * A function that receives notifications about location changes.\n */\nexport interface Listener {\n (update: Update): void;\n}\n\n/**\n * Describes a location that is the destination of some navigation, either via\n * `history.push` or `history.replace`. This may be either a URL or the pieces\n * of a URL path.\n */\nexport type To = string | Partial;\n\n/**\n * A history is an interface to the navigation stack. The history serves as the\n * source of truth for the current location, as well as provides a set of\n * methods that may be used to change it.\n *\n * It is similar to the DOM's `window.history` object, but with a smaller, more\n * focused API.\n */\nexport interface History {\n /**\n * The last action that modified the current location. This will always be\n * Action.Pop when a history instance is first created. This value is mutable.\n */\n readonly action: Action;\n\n /**\n * The current location. This value is mutable.\n */\n readonly location: Location;\n\n /**\n * Returns a valid href for the given `to` value that may be used as\n * the value of an attribute.\n *\n * @param to - The destination URL\n */\n createHref(to: To): string;\n\n /**\n * Returns a URL for the given `to` value\n *\n * @param to - The destination URL\n */\n createURL(to: To): URL;\n\n /**\n * Encode a location the same way window.history would do (no-op for memory\n * history) so we ensure our PUSH/REPLACE navigations for data routers\n * behave the same as POP\n *\n * @param to Unencoded path\n */\n encodeLocation(to: To): Path;\n\n /**\n * Pushes a new location onto the history stack, increasing its length by one.\n * If there were any entries in the stack after the current one, they are\n * lost.\n *\n * @param to - The new URL\n * @param state - Data to associate with the new location\n */\n push(to: To, state?: any): void;\n\n /**\n * Replaces the current location in the history stack with a new one. The\n * location that was replaced will no longer be available.\n *\n * @param to - The new URL\n * @param state - Data to associate with the new location\n */\n replace(to: To, state?: any): void;\n\n /**\n * Navigates `n` entries backward/forward in the history stack relative to the\n * current index. For example, a \"back\" navigation would use go(-1).\n *\n * @param delta - The delta in the stack index\n */\n go(delta: number): void;\n\n /**\n * Sets up a listener that will be called whenever the current location\n * changes.\n *\n * @param listener - A function that will be called when the location changes\n * @returns unlisten - A function that may be used to stop listening\n */\n listen(listener: Listener): () => void;\n}\n\ntype HistoryState = {\n usr: any;\n key?: string;\n idx: number;\n};\n\nconst PopStateEventType = \"popstate\";\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Memory History\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A user-supplied object that describes a location. Used when providing\n * entries to `createMemoryHistory` via its `initialEntries` option.\n */\nexport type InitialEntry = string | Partial;\n\nexport type MemoryHistoryOptions = {\n initialEntries?: InitialEntry[];\n initialIndex?: number;\n v5Compat?: boolean;\n};\n\n/**\n * A memory history stores locations in memory. This is useful in stateful\n * environments where there is no web browser, such as node tests or React\n * Native.\n */\nexport interface MemoryHistory extends History {\n /**\n * The current index in the history stack.\n */\n readonly index: number;\n}\n\n/**\n * Memory history stores the current location in memory. It is designed for use\n * in stateful non-browser environments like tests and React Native.\n */\nexport function createMemoryHistory(\n options: MemoryHistoryOptions = {}\n): MemoryHistory {\n let { initialEntries = [\"/\"], initialIndex, v5Compat = false } = options;\n let entries: Location[]; // Declare so we can access from createMemoryLocation\n entries = initialEntries.map((entry, index) =>\n createMemoryLocation(\n entry,\n typeof entry === \"string\" ? null : entry.state,\n index === 0 ? \"default\" : undefined\n )\n );\n let index = clampIndex(\n initialIndex == null ? entries.length - 1 : initialIndex\n );\n let action = Action.Pop;\n let listener: Listener | null = null;\n\n function clampIndex(n: number): number {\n return Math.min(Math.max(n, 0), entries.length - 1);\n }\n function getCurrentLocation(): Location {\n return entries[index];\n }\n function createMemoryLocation(\n to: To,\n state: any = null,\n key?: string\n ): Location {\n let location = createLocation(\n entries ? getCurrentLocation().pathname : \"/\",\n to,\n state,\n key\n );\n warning(\n location.pathname.charAt(0) === \"/\",\n `relative pathnames are not supported in memory history: ${JSON.stringify(\n to\n )}`\n );\n return location;\n }\n\n function createHref(to: To) {\n return typeof to === \"string\" ? to : createPath(to);\n }\n\n let history: MemoryHistory = {\n get index() {\n return index;\n },\n get action() {\n return action;\n },\n get location() {\n return getCurrentLocation();\n },\n createHref,\n createURL(to) {\n return new URL(createHref(to), \"http://localhost\");\n },\n encodeLocation(to: To) {\n let path = typeof to === \"string\" ? parsePath(to) : to;\n return {\n pathname: path.pathname || \"\",\n search: path.search || \"\",\n hash: path.hash || \"\",\n };\n },\n push(to, state) {\n action = Action.Push;\n let nextLocation = createMemoryLocation(to, state);\n index += 1;\n entries.splice(index, entries.length, nextLocation);\n if (v5Compat && listener) {\n listener({ action, location: nextLocation, delta: 1 });\n }\n },\n replace(to, state) {\n action = Action.Replace;\n let nextLocation = createMemoryLocation(to, state);\n entries[index] = nextLocation;\n if (v5Compat && listener) {\n listener({ action, location: nextLocation, delta: 0 });\n }\n },\n go(delta) {\n action = Action.Pop;\n let nextIndex = clampIndex(index + delta);\n let nextLocation = entries[nextIndex];\n index = nextIndex;\n if (listener) {\n listener({ action, location: nextLocation, delta });\n }\n },\n listen(fn: Listener) {\n listener = fn;\n return () => {\n listener = null;\n };\n },\n };\n\n return history;\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Browser History\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A browser history stores the current location in regular URLs in a web\n * browser environment. This is the standard for most web apps and provides the\n * cleanest URLs the browser's address bar.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#browserhistory\n */\nexport interface BrowserHistory extends UrlHistory {}\n\nexport type BrowserHistoryOptions = UrlHistoryOptions;\n\n/**\n * Browser history stores the location in regular URLs. This is the standard for\n * most web apps, but it requires some configuration on the server to ensure you\n * serve the same app at multiple URLs.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory\n */\nexport function createBrowserHistory(\n options: BrowserHistoryOptions = {}\n): BrowserHistory {\n function createBrowserLocation(\n window: Window,\n globalHistory: Window[\"history\"]\n ) {\n let { pathname, search, hash } = window.location;\n return createLocation(\n \"\",\n { pathname, search, hash },\n // state defaults to `null` because `window.history.state` does\n (globalHistory.state && globalHistory.state.usr) || null,\n (globalHistory.state && globalHistory.state.key) || \"default\"\n );\n }\n\n function createBrowserHref(window: Window, to: To) {\n return typeof to === \"string\" ? to : createPath(to);\n }\n\n return getUrlBasedHistory(\n createBrowserLocation,\n createBrowserHref,\n null,\n options\n );\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Hash History\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A hash history stores the current location in the fragment identifier portion\n * of the URL in a web browser environment.\n *\n * This is ideal for apps that do not control the server for some reason\n * (because the fragment identifier is never sent to the server), including some\n * shared hosting environments that do not provide fine-grained controls over\n * which pages are served at which URLs.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#hashhistory\n */\nexport interface HashHistory extends UrlHistory {}\n\nexport type HashHistoryOptions = UrlHistoryOptions;\n\n/**\n * Hash history stores the location in window.location.hash. This makes it ideal\n * for situations where you don't want to send the location to the server for\n * some reason, either because you do cannot configure it or the URL space is\n * reserved for something else.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory\n */\nexport function createHashHistory(\n options: HashHistoryOptions = {}\n): HashHistory {\n function createHashLocation(\n window: Window,\n globalHistory: Window[\"history\"]\n ) {\n let {\n pathname = \"/\",\n search = \"\",\n hash = \"\",\n } = parsePath(window.location.hash.substr(1));\n\n // Hash URL should always have a leading / just like window.location.pathname\n // does, so if an app ends up at a route like /#something then we add a\n // leading slash so all of our path-matching behaves the same as if it would\n // in a browser router. This is particularly important when there exists a\n // root splat route () since that matches internally against\n // \"/*\" and we'd expect /#something to 404 in a hash router app.\n if (!pathname.startsWith(\"/\") && !pathname.startsWith(\".\")) {\n pathname = \"/\" + pathname;\n }\n\n return createLocation(\n \"\",\n { pathname, search, hash },\n // state defaults to `null` because `window.history.state` does\n (globalHistory.state && globalHistory.state.usr) || null,\n (globalHistory.state && globalHistory.state.key) || \"default\"\n );\n }\n\n function createHashHref(window: Window, to: To) {\n let base = window.document.querySelector(\"base\");\n let href = \"\";\n\n if (base && base.getAttribute(\"href\")) {\n let url = window.location.href;\n let hashIndex = url.indexOf(\"#\");\n href = hashIndex === -1 ? url : url.slice(0, hashIndex);\n }\n\n return href + \"#\" + (typeof to === \"string\" ? to : createPath(to));\n }\n\n function validateHashLocation(location: Location, to: To) {\n warning(\n location.pathname.charAt(0) === \"/\",\n `relative pathnames are not supported in hash history.push(${JSON.stringify(\n to\n )})`\n );\n }\n\n return getUrlBasedHistory(\n createHashLocation,\n createHashHref,\n validateHashLocation,\n options\n );\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region UTILS\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * @private\n */\nexport function invariant(value: boolean, message?: string): asserts value;\nexport function invariant(\n value: T | null | undefined,\n message?: string\n): asserts value is T;\nexport function invariant(value: any, message?: string) {\n if (value === false || value === null || typeof value === \"undefined\") {\n throw new Error(message);\n }\n}\n\nexport function warning(cond: any, message: string) {\n if (!cond) {\n // eslint-disable-next-line no-console\n if (typeof console !== \"undefined\") console.warn(message);\n\n try {\n // Welcome to debugging history!\n //\n // This error is thrown as a convenience, so you can more easily\n // find the source for a warning that appears in the console by\n // enabling \"pause on exceptions\" in your JavaScript debugger.\n throw new Error(message);\n // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n}\n\nfunction createKey() {\n return Math.random().toString(36).substr(2, 8);\n}\n\n/**\n * For browser-based histories, we combine the state and key into an object\n */\nfunction getHistoryState(location: Location, index: number): HistoryState {\n return {\n usr: location.state,\n key: location.key,\n idx: index,\n };\n}\n\n/**\n * Creates a Location object with a unique key from the given Path\n */\nexport function createLocation(\n current: string | Location,\n to: To,\n state: any = null,\n key?: string\n): Readonly {\n let location: Readonly = {\n pathname: typeof current === \"string\" ? current : current.pathname,\n search: \"\",\n hash: \"\",\n ...(typeof to === \"string\" ? parsePath(to) : to),\n state,\n // TODO: This could be cleaned up. push/replace should probably just take\n // full Locations now and avoid the need to run through this flow at all\n // But that's a pretty big refactor to the current test suite so going to\n // keep as is for the time being and just let any incoming keys take precedence\n key: (to && (to as Location).key) || key || createKey(),\n };\n return location;\n}\n\n/**\n * Creates a string URL path from the given pathname, search, and hash components.\n */\nexport function createPath({\n pathname = \"/\",\n search = \"\",\n hash = \"\",\n}: Partial) {\n if (search && search !== \"?\")\n pathname += search.charAt(0) === \"?\" ? search : \"?\" + search;\n if (hash && hash !== \"#\")\n pathname += hash.charAt(0) === \"#\" ? hash : \"#\" + hash;\n return pathname;\n}\n\n/**\n * Parses a string URL path into its separate pathname, search, and hash components.\n */\nexport function parsePath(path: string): Partial {\n let parsedPath: Partial = {};\n\n if (path) {\n let hashIndex = path.indexOf(\"#\");\n if (hashIndex >= 0) {\n parsedPath.hash = path.substr(hashIndex);\n path = path.substr(0, hashIndex);\n }\n\n let searchIndex = path.indexOf(\"?\");\n if (searchIndex >= 0) {\n parsedPath.search = path.substr(searchIndex);\n path = path.substr(0, searchIndex);\n }\n\n if (path) {\n parsedPath.pathname = path;\n }\n }\n\n return parsedPath;\n}\n\nexport interface UrlHistory extends History {}\n\nexport type UrlHistoryOptions = {\n window?: Window;\n v5Compat?: boolean;\n};\n\nfunction getUrlBasedHistory(\n getLocation: (window: Window, globalHistory: Window[\"history\"]) => Location,\n createHref: (window: Window, to: To) => string,\n validateLocation: ((location: Location, to: To) => void) | null,\n options: UrlHistoryOptions = {}\n): UrlHistory {\n let { window = document.defaultView!, v5Compat = false } = options;\n let globalHistory = window.history;\n let action = Action.Pop;\n let listener: Listener | null = null;\n\n let index = getIndex()!;\n // Index should only be null when we initialize. If not, it's because the\n // user called history.pushState or history.replaceState directly, in which\n // case we should log a warning as it will result in bugs.\n if (index == null) {\n index = 0;\n globalHistory.replaceState({ ...globalHistory.state, idx: index }, \"\");\n }\n\n function getIndex(): number {\n let state = globalHistory.state || { idx: null };\n return state.idx;\n }\n\n function handlePop() {\n action = Action.Pop;\n let nextIndex = getIndex();\n let delta = nextIndex == null ? null : nextIndex - index;\n index = nextIndex;\n if (listener) {\n listener({ action, location: history.location, delta });\n }\n }\n\n function push(to: To, state?: any) {\n action = Action.Push;\n let location = createLocation(history.location, to, state);\n if (validateLocation) validateLocation(location, to);\n\n index = getIndex() + 1;\n let historyState = getHistoryState(location, index);\n let url = history.createHref(location);\n\n // try...catch because iOS limits us to 100 pushState calls :/\n try {\n globalHistory.pushState(historyState, \"\", url);\n } catch (error) {\n // If the exception is because `state` can't be serialized, let that throw\n // outwards just like a replace call would so the dev knows the cause\n // https://html.spec.whatwg.org/multipage/nav-history-apis.html#shared-history-push/replace-state-steps\n // https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializeinternal\n if (error instanceof DOMException && error.name === \"DataCloneError\") {\n throw error;\n }\n // They are going to lose state here, but there is no real\n // way to warn them about it since the page will refresh...\n window.location.assign(url);\n }\n\n if (v5Compat && listener) {\n listener({ action, location: history.location, delta: 1 });\n }\n }\n\n function replace(to: To, state?: any) {\n action = Action.Replace;\n let location = createLocation(history.location, to, state);\n if (validateLocation) validateLocation(location, to);\n\n index = getIndex();\n let historyState = getHistoryState(location, index);\n let url = history.createHref(location);\n globalHistory.replaceState(historyState, \"\", url);\n\n if (v5Compat && listener) {\n listener({ action, location: history.location, delta: 0 });\n }\n }\n\n function createURL(to: To): URL {\n // window.location.origin is \"null\" (the literal string value) in Firefox\n // under certain conditions, notably when serving from a local HTML file\n // See https://bugzilla.mozilla.org/show_bug.cgi?id=878297\n let base =\n window.location.origin !== \"null\"\n ? window.location.origin\n : window.location.href;\n\n let href = typeof to === \"string\" ? to : createPath(to);\n invariant(\n base,\n `No window.location.(origin|href) available to create URL for href: ${href}`\n );\n return new URL(href, base);\n }\n\n let history: History = {\n get action() {\n return action;\n },\n get location() {\n return getLocation(window, globalHistory);\n },\n listen(fn: Listener) {\n if (listener) {\n throw new Error(\"A history only accepts one active listener\");\n }\n window.addEventListener(PopStateEventType, handlePop);\n listener = fn;\n\n return () => {\n window.removeEventListener(PopStateEventType, handlePop);\n listener = null;\n };\n },\n createHref(to) {\n return createHref(window, to);\n },\n createURL,\n encodeLocation(to) {\n // Encode a Location the same way window.location would\n let url = createURL(to);\n return {\n pathname: url.pathname,\n search: url.search,\n hash: url.hash,\n };\n },\n push,\n replace,\n go(n) {\n return globalHistory.go(n);\n },\n };\n\n return history;\n}\n\n//#endregion\n","import { _assert_this_initialized } from \"./_assert_this_initialized.js\";\nimport { _type_of } from \"./_type_of.js\";\n\nexport function _possible_constructor_return(self, call) {\n if (call && (_type_of(call) === \"object\" || typeof call === \"function\")) return call;\n\n return _assert_this_initialized(self);\n}\nexport { _possible_constructor_return as _ };\n","import { _get_prototype_of } from \"./_get_prototype_of.js\";\nimport { _is_native_reflect_construct } from \"./_is_native_reflect_construct.js\";\nimport { _possible_constructor_return } from \"./_possible_constructor_return.js\";\n\nexport function _create_super(Derived) {\n var hasNativeReflectConstruct = _is_native_reflect_construct();\n\n return function _createSuperInternal() {\n var Super = _get_prototype_of(Derived), result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = _get_prototype_of(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possible_constructor_return(this, result);\n };\n}\nexport { _create_super as _ };\n","import type { Location, Path, To } from \"./history\";\nimport { invariant, parsePath, warning } from \"./history\";\n\n/**\n * Map of routeId -> data returned from a loader/action/error\n */\nexport interface RouteData {\n [routeId: string]: any;\n}\n\nexport enum ResultType {\n data = \"data\",\n deferred = \"deferred\",\n redirect = \"redirect\",\n error = \"error\",\n}\n\n/**\n * Successful result from a loader or action\n */\nexport interface SuccessResult {\n type: ResultType.data;\n data: any;\n statusCode?: number;\n headers?: Headers;\n}\n\n/**\n * Successful defer() result from a loader or action\n */\nexport interface DeferredResult {\n type: ResultType.deferred;\n deferredData: DeferredData;\n statusCode?: number;\n headers?: Headers;\n}\n\n/**\n * Redirect result from a loader or action\n */\nexport interface RedirectResult {\n type: ResultType.redirect;\n status: number;\n location: string;\n revalidate: boolean;\n reloadDocument?: boolean;\n}\n\n/**\n * Unsuccessful result from a loader or action\n */\nexport interface ErrorResult {\n type: ResultType.error;\n error: any;\n headers?: Headers;\n}\n\n/**\n * Result from a loader or action - potentially successful or unsuccessful\n */\nexport type DataResult =\n | SuccessResult\n | DeferredResult\n | RedirectResult\n | ErrorResult;\n\ntype LowerCaseFormMethod = \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\";\ntype UpperCaseFormMethod = Uppercase;\n\n/**\n * Users can specify either lowercase or uppercase form methods on `
`,\n * useSubmit(), ``, etc.\n */\nexport type HTMLFormMethod = LowerCaseFormMethod | UpperCaseFormMethod;\n\n/**\n * Active navigation/fetcher form methods are exposed in lowercase on the\n * RouterState\n */\nexport type FormMethod = LowerCaseFormMethod;\nexport type MutationFormMethod = Exclude;\n\n/**\n * In v7, active navigation/fetcher form methods are exposed in uppercase on the\n * RouterState. This is to align with the normalization done via fetch().\n */\nexport type V7_FormMethod = UpperCaseFormMethod;\nexport type V7_MutationFormMethod = Exclude;\n\nexport type FormEncType =\n | \"application/x-www-form-urlencoded\"\n | \"multipart/form-data\"\n | \"application/json\"\n | \"text/plain\";\n\n// Thanks https://github.com/sindresorhus/type-fest!\ntype JsonObject = { [Key in string]: JsonValue } & {\n [Key in string]?: JsonValue | undefined;\n};\ntype JsonArray = JsonValue[] | readonly JsonValue[];\ntype JsonPrimitive = string | number | boolean | null;\ntype JsonValue = JsonPrimitive | JsonObject | JsonArray;\n\n/**\n * @private\n * Internal interface to pass around for action submissions, not intended for\n * external consumption\n */\nexport type Submission =\n | {\n formMethod: FormMethod | V7_FormMethod;\n formAction: string;\n formEncType: FormEncType;\n formData: FormData;\n json: undefined;\n text: undefined;\n }\n | {\n formMethod: FormMethod | V7_FormMethod;\n formAction: string;\n formEncType: FormEncType;\n formData: undefined;\n json: JsonValue;\n text: undefined;\n }\n | {\n formMethod: FormMethod | V7_FormMethod;\n formAction: string;\n formEncType: FormEncType;\n formData: undefined;\n json: undefined;\n text: string;\n };\n\n/**\n * @private\n * Arguments passed to route loader/action functions. Same for now but we keep\n * this as a private implementation detail in case they diverge in the future.\n */\ninterface DataFunctionArgs {\n request: Request;\n params: Params;\n context?: Context;\n}\n\n// TODO: (v7) Change the defaults from any to unknown in and remove Remix wrappers:\n// ActionFunction, ActionFunctionArgs, LoaderFunction, LoaderFunctionArgs\n// Also, make them a type alias instead of an interface\n\n/**\n * Arguments passed to loader functions\n */\nexport interface LoaderFunctionArgs\n extends DataFunctionArgs {}\n\n/**\n * Arguments passed to action functions\n */\nexport interface ActionFunctionArgs\n extends DataFunctionArgs {}\n\n/**\n * Loaders and actions can return anything except `undefined` (`null` is a\n * valid return value if there is no data to return). Responses are preferred\n * and will ease any future migration to Remix\n */\ntype DataFunctionValue = Response | NonNullable | null;\n\n/**\n * Route loader function signature\n */\nexport interface LoaderFunction {\n (args: LoaderFunctionArgs):\n | Promise\n | DataFunctionValue;\n}\n\n/**\n * Route action function signature\n */\nexport interface ActionFunction {\n (args: ActionFunctionArgs):\n | Promise\n | DataFunctionValue;\n}\n\n/**\n * Arguments passed to shouldRevalidate function\n */\nexport interface ShouldRevalidateFunctionArgs {\n currentUrl: URL;\n currentParams: AgnosticDataRouteMatch[\"params\"];\n nextUrl: URL;\n nextParams: AgnosticDataRouteMatch[\"params\"];\n formMethod?: Submission[\"formMethod\"];\n formAction?: Submission[\"formAction\"];\n formEncType?: Submission[\"formEncType\"];\n text?: Submission[\"text\"];\n formData?: Submission[\"formData\"];\n json?: Submission[\"json\"];\n actionResult?: any;\n defaultShouldRevalidate: boolean;\n}\n\n/**\n * Route shouldRevalidate function signature. This runs after any submission\n * (navigation or fetcher), so we flatten the navigation/fetcher submission\n * onto the arguments. It shouldn't matter whether it came from a navigation\n * or a fetcher, what really matters is the URLs and the formData since loaders\n * have to re-run based on the data models that were potentially mutated.\n */\nexport interface ShouldRevalidateFunction {\n (args: ShouldRevalidateFunctionArgs): boolean;\n}\n\n/**\n * Function provided by the framework-aware layers to set `hasErrorBoundary`\n * from the framework-aware `errorElement` prop\n *\n * @deprecated Use `mapRouteProperties` instead\n */\nexport interface DetectErrorBoundaryFunction {\n (route: AgnosticRouteObject): boolean;\n}\n\n/**\n * Function provided by the framework-aware layers to set any framework-specific\n * properties from framework-agnostic properties\n */\nexport interface MapRoutePropertiesFunction {\n (route: AgnosticRouteObject): {\n hasErrorBoundary: boolean;\n } & Record;\n}\n\n/**\n * Keys we cannot change from within a lazy() function. We spread all other keys\n * onto the route. Either they're meaningful to the router, or they'll get\n * ignored.\n */\nexport type ImmutableRouteKey =\n | \"lazy\"\n | \"caseSensitive\"\n | \"path\"\n | \"id\"\n | \"index\"\n | \"children\";\n\nexport const immutableRouteKeys = new Set([\n \"lazy\",\n \"caseSensitive\",\n \"path\",\n \"id\",\n \"index\",\n \"children\",\n]);\n\ntype RequireOne = Exclude<\n {\n [K in keyof T]: K extends Key ? Omit & Required> : never;\n }[keyof T],\n undefined\n>;\n\n/**\n * lazy() function to load a route definition, which can add non-matching\n * related properties to a route\n */\nexport interface LazyRouteFunction {\n (): Promise>>;\n}\n\n/**\n * Base RouteObject with common props shared by all types of routes\n */\ntype AgnosticBaseRouteObject = {\n caseSensitive?: boolean;\n path?: string;\n id?: string;\n loader?: LoaderFunction;\n action?: ActionFunction;\n hasErrorBoundary?: boolean;\n shouldRevalidate?: ShouldRevalidateFunction;\n handle?: any;\n lazy?: LazyRouteFunction;\n};\n\n/**\n * Index routes must not have children\n */\nexport type AgnosticIndexRouteObject = AgnosticBaseRouteObject & {\n children?: undefined;\n index: true;\n};\n\n/**\n * Non-index routes may have children, but cannot have index\n */\nexport type AgnosticNonIndexRouteObject = AgnosticBaseRouteObject & {\n children?: AgnosticRouteObject[];\n index?: false;\n};\n\n/**\n * A route object represents a logical route, with (optionally) its child\n * routes organized in a tree-like structure.\n */\nexport type AgnosticRouteObject =\n | AgnosticIndexRouteObject\n | AgnosticNonIndexRouteObject;\n\nexport type AgnosticDataIndexRouteObject = AgnosticIndexRouteObject & {\n id: string;\n};\n\nexport type AgnosticDataNonIndexRouteObject = AgnosticNonIndexRouteObject & {\n children?: AgnosticDataRouteObject[];\n id: string;\n};\n\n/**\n * A data route object, which is just a RouteObject with a required unique ID\n */\nexport type AgnosticDataRouteObject =\n | AgnosticDataIndexRouteObject\n | AgnosticDataNonIndexRouteObject;\n\nexport type RouteManifest = Record;\n\n// Recursive helper for finding path parameters in the absence of wildcards\ntype _PathParam =\n // split path into individual path segments\n Path extends `${infer L}/${infer R}`\n ? _PathParam | _PathParam\n : // find params after `:`\n Path extends `:${infer Param}`\n ? Param extends `${infer Optional}?`\n ? Optional\n : Param\n : // otherwise, there aren't any params present\n never;\n\n/**\n * Examples:\n * \"/a/b/*\" -> \"*\"\n * \":a\" -> \"a\"\n * \"/a/:b\" -> \"b\"\n * \"/a/blahblahblah:b\" -> \"b\"\n * \"/:a/:b\" -> \"a\" | \"b\"\n * \"/:a/b/:c/*\" -> \"a\" | \"c\" | \"*\"\n */\ntype PathParam =\n // check if path is just a wildcard\n Path extends \"*\" | \"/*\"\n ? \"*\"\n : // look for wildcard at the end of the path\n Path extends `${infer Rest}/*`\n ? \"*\" | _PathParam\n : // look for params in the absence of wildcards\n _PathParam;\n\n// Attempt to parse the given string segment. If it fails, then just return the\n// plain string type as a default fallback. Otherwise, return the union of the\n// parsed string literals that were referenced as dynamic segments in the route.\nexport type ParamParseKey =\n // if you could not find path params, fallback to `string`\n [PathParam] extends [never] ? string : PathParam;\n\n/**\n * The parameters that were parsed from the URL path.\n */\nexport type Params = {\n readonly [key in Key]: string | undefined;\n};\n\n/**\n * A RouteMatch contains info about how a route matched a URL.\n */\nexport interface AgnosticRouteMatch<\n ParamKey extends string = string,\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n> {\n /**\n * The names and values of dynamic parameters in the URL.\n */\n params: Params;\n /**\n * The portion of the URL pathname that was matched.\n */\n pathname: string;\n /**\n * The portion of the URL pathname that was matched before child routes.\n */\n pathnameBase: string;\n /**\n * The route object that was used to match.\n */\n route: RouteObjectType;\n}\n\nexport interface AgnosticDataRouteMatch\n extends AgnosticRouteMatch {}\n\nfunction isIndexRoute(\n route: AgnosticRouteObject\n): route is AgnosticIndexRouteObject {\n return route.index === true;\n}\n\n// Walk the route tree generating unique IDs where necessary, so we are working\n// solely with AgnosticDataRouteObject's within the Router\nexport function convertRoutesToDataRoutes(\n routes: AgnosticRouteObject[],\n mapRouteProperties: MapRoutePropertiesFunction,\n parentPath: number[] = [],\n manifest: RouteManifest = {}\n): AgnosticDataRouteObject[] {\n return routes.map((route, index) => {\n let treePath = [...parentPath, index];\n let id = typeof route.id === \"string\" ? route.id : treePath.join(\"-\");\n invariant(\n route.index !== true || !route.children,\n `Cannot specify children on an index route`\n );\n invariant(\n !manifest[id],\n `Found a route id collision on id \"${id}\". Route ` +\n \"id's must be globally unique within Data Router usages\"\n );\n\n if (isIndexRoute(route)) {\n let indexRoute: AgnosticDataIndexRouteObject = {\n ...route,\n ...mapRouteProperties(route),\n id,\n };\n manifest[id] = indexRoute;\n return indexRoute;\n } else {\n let pathOrLayoutRoute: AgnosticDataNonIndexRouteObject = {\n ...route,\n ...mapRouteProperties(route),\n id,\n children: undefined,\n };\n manifest[id] = pathOrLayoutRoute;\n\n if (route.children) {\n pathOrLayoutRoute.children = convertRoutesToDataRoutes(\n route.children,\n mapRouteProperties,\n treePath,\n manifest\n );\n }\n\n return pathOrLayoutRoute;\n }\n });\n}\n\n/**\n * Matches the given routes to a location and returns the match data.\n *\n * @see https://reactrouter.com/utils/match-routes\n */\nexport function matchRoutes<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n>(\n routes: RouteObjectType[],\n locationArg: Partial | string,\n basename = \"/\"\n): AgnosticRouteMatch[] | null {\n let location =\n typeof locationArg === \"string\" ? parsePath(locationArg) : locationArg;\n\n let pathname = stripBasename(location.pathname || \"/\", basename);\n\n if (pathname == null) {\n return null;\n }\n\n let branches = flattenRoutes(routes);\n rankRouteBranches(branches);\n\n let matches = null;\n for (let i = 0; matches == null && i < branches.length; ++i) {\n matches = matchRouteBranch(\n branches[i],\n // Incoming pathnames are generally encoded from either window.location\n // or from router.navigate, but we want to match against the unencoded\n // paths in the route definitions. Memory router locations won't be\n // encoded here but there also shouldn't be anything to decode so this\n // should be a safe operation. This avoids needing matchRoutes to be\n // history-aware.\n safelyDecodeURI(pathname)\n );\n }\n\n return matches;\n}\n\nexport interface UIMatch {\n id: string;\n pathname: string;\n params: AgnosticRouteMatch[\"params\"];\n data: Data;\n handle: Handle;\n}\n\nexport function convertRouteMatchToUiMatch(\n match: AgnosticDataRouteMatch,\n loaderData: RouteData\n): UIMatch {\n let { route, pathname, params } = match;\n return {\n id: route.id,\n pathname,\n params,\n data: loaderData[route.id],\n handle: route.handle,\n };\n}\n\ninterface RouteMeta<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n> {\n relativePath: string;\n caseSensitive: boolean;\n childrenIndex: number;\n route: RouteObjectType;\n}\n\ninterface RouteBranch<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n> {\n path: string;\n score: number;\n routesMeta: RouteMeta[];\n}\n\nfunction flattenRoutes<\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n>(\n routes: RouteObjectType[],\n branches: RouteBranch[] = [],\n parentsMeta: RouteMeta[] = [],\n parentPath = \"\"\n): RouteBranch[] {\n let flattenRoute = (\n route: RouteObjectType,\n index: number,\n relativePath?: string\n ) => {\n let meta: RouteMeta = {\n relativePath:\n relativePath === undefined ? route.path || \"\" : relativePath,\n caseSensitive: route.caseSensitive === true,\n childrenIndex: index,\n route,\n };\n\n if (meta.relativePath.startsWith(\"/\")) {\n invariant(\n meta.relativePath.startsWith(parentPath),\n `Absolute route path \"${meta.relativePath}\" nested under path ` +\n `\"${parentPath}\" is not valid. An absolute child route path ` +\n `must start with the combined path of all its parent routes.`\n );\n\n meta.relativePath = meta.relativePath.slice(parentPath.length);\n }\n\n let path = joinPaths([parentPath, meta.relativePath]);\n let routesMeta = parentsMeta.concat(meta);\n\n // Add the children before adding this route to the array, so we traverse the\n // route tree depth-first and child routes appear before their parents in\n // the \"flattened\" version.\n if (route.children && route.children.length > 0) {\n invariant(\n // Our types know better, but runtime JS may not!\n // @ts-expect-error\n route.index !== true,\n `Index routes must not have child routes. Please remove ` +\n `all child routes from route path \"${path}\".`\n );\n\n flattenRoutes(route.children, branches, routesMeta, path);\n }\n\n // Routes without a path shouldn't ever match by themselves unless they are\n // index routes, so don't add them to the list of possible branches.\n if (route.path == null && !route.index) {\n return;\n }\n\n branches.push({\n path,\n score: computeScore(path, route.index),\n routesMeta,\n });\n };\n routes.forEach((route, index) => {\n // coarse-grain check for optional params\n if (route.path === \"\" || !route.path?.includes(\"?\")) {\n flattenRoute(route, index);\n } else {\n for (let exploded of explodeOptionalSegments(route.path)) {\n flattenRoute(route, index, exploded);\n }\n }\n });\n\n return branches;\n}\n\n/**\n * Computes all combinations of optional path segments for a given path,\n * excluding combinations that are ambiguous and of lower priority.\n *\n * For example, `/one/:two?/three/:four?/:five?` explodes to:\n * - `/one/three`\n * - `/one/:two/three`\n * - `/one/three/:four`\n * - `/one/three/:five`\n * - `/one/:two/three/:four`\n * - `/one/:two/three/:five`\n * - `/one/three/:four/:five`\n * - `/one/:two/three/:four/:five`\n */\nfunction explodeOptionalSegments(path: string): string[] {\n let segments = path.split(\"/\");\n if (segments.length === 0) return [];\n\n let [first, ...rest] = segments;\n\n // Optional path segments are denoted by a trailing `?`\n let isOptional = first.endsWith(\"?\");\n // Compute the corresponding required segment: `foo?` -> `foo`\n let required = first.replace(/\\?$/, \"\");\n\n if (rest.length === 0) {\n // Intepret empty string as omitting an optional segment\n // `[\"one\", \"\", \"three\"]` corresponds to omitting `:two` from `/one/:two?/three` -> `/one/three`\n return isOptional ? [required, \"\"] : [required];\n }\n\n let restExploded = explodeOptionalSegments(rest.join(\"/\"));\n\n let result: string[] = [];\n\n // All child paths with the prefix. Do this for all children before the\n // optional version for all children, so we get consistent ordering where the\n // parent optional aspect is preferred as required. Otherwise, we can get\n // child sections interspersed where deeper optional segments are higher than\n // parent optional segments, where for example, /:two would explode _earlier_\n // then /:one. By always including the parent as required _for all children_\n // first, we avoid this issue\n result.push(\n ...restExploded.map((subpath) =>\n subpath === \"\" ? required : [required, subpath].join(\"/\")\n )\n );\n\n // Then, if this is an optional value, add all child versions without\n if (isOptional) {\n result.push(...restExploded);\n }\n\n // for absolute paths, ensure `/` instead of empty segment\n return result.map((exploded) =>\n path.startsWith(\"/\") && exploded === \"\" ? \"/\" : exploded\n );\n}\n\nfunction rankRouteBranches(branches: RouteBranch[]): void {\n branches.sort((a, b) =>\n a.score !== b.score\n ? b.score - a.score // Higher score first\n : compareIndexes(\n a.routesMeta.map((meta) => meta.childrenIndex),\n b.routesMeta.map((meta) => meta.childrenIndex)\n )\n );\n}\n\nconst paramRe = /^:\\w+$/;\nconst dynamicSegmentValue = 3;\nconst indexRouteValue = 2;\nconst emptySegmentValue = 1;\nconst staticSegmentValue = 10;\nconst splatPenalty = -2;\nconst isSplat = (s: string) => s === \"*\";\n\nfunction computeScore(path: string, index: boolean | undefined): number {\n let segments = path.split(\"/\");\n let initialScore = segments.length;\n if (segments.some(isSplat)) {\n initialScore += splatPenalty;\n }\n\n if (index) {\n initialScore += indexRouteValue;\n }\n\n return segments\n .filter((s) => !isSplat(s))\n .reduce(\n (score, segment) =>\n score +\n (paramRe.test(segment)\n ? dynamicSegmentValue\n : segment === \"\"\n ? emptySegmentValue\n : staticSegmentValue),\n initialScore\n );\n}\n\nfunction compareIndexes(a: number[], b: number[]): number {\n let siblings =\n a.length === b.length && a.slice(0, -1).every((n, i) => n === b[i]);\n\n return siblings\n ? // If two routes are siblings, we should try to match the earlier sibling\n // first. This allows people to have fine-grained control over the matching\n // behavior by simply putting routes with identical paths in the order they\n // want them tried.\n a[a.length - 1] - b[b.length - 1]\n : // Otherwise, it doesn't really make sense to rank non-siblings by index,\n // so they sort equally.\n 0;\n}\n\nfunction matchRouteBranch<\n ParamKey extends string = string,\n RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject\n>(\n branch: RouteBranch,\n pathname: string\n): AgnosticRouteMatch[] | null {\n let { routesMeta } = branch;\n\n let matchedParams = {};\n let matchedPathname = \"/\";\n let matches: AgnosticRouteMatch[] = [];\n for (let i = 0; i < routesMeta.length; ++i) {\n let meta = routesMeta[i];\n let end = i === routesMeta.length - 1;\n let remainingPathname =\n matchedPathname === \"/\"\n ? pathname\n : pathname.slice(matchedPathname.length) || \"/\";\n let match = matchPath(\n { path: meta.relativePath, caseSensitive: meta.caseSensitive, end },\n remainingPathname\n );\n\n if (!match) return null;\n\n Object.assign(matchedParams, match.params);\n\n let route = meta.route;\n\n matches.push({\n // TODO: Can this as be avoided?\n params: matchedParams as Params,\n pathname: joinPaths([matchedPathname, match.pathname]),\n pathnameBase: normalizePathname(\n joinPaths([matchedPathname, match.pathnameBase])\n ),\n route,\n });\n\n if (match.pathnameBase !== \"/\") {\n matchedPathname = joinPaths([matchedPathname, match.pathnameBase]);\n }\n }\n\n return matches;\n}\n\n/**\n * Returns a path with params interpolated.\n *\n * @see https://reactrouter.com/utils/generate-path\n */\nexport function generatePath(\n originalPath: Path,\n params: {\n [key in PathParam]: string | null;\n } = {} as any\n): string {\n let path: string = originalPath;\n if (path.endsWith(\"*\") && path !== \"*\" && !path.endsWith(\"/*\")) {\n warning(\n false,\n `Route path \"${path}\" will be treated as if it were ` +\n `\"${path.replace(/\\*$/, \"/*\")}\" because the \\`*\\` character must ` +\n `always follow a \\`/\\` in the pattern. To get rid of this warning, ` +\n `please change the route path to \"${path.replace(/\\*$/, \"/*\")}\".`\n );\n path = path.replace(/\\*$/, \"/*\") as Path;\n }\n\n // ensure `/` is added at the beginning if the path is absolute\n const prefix = path.startsWith(\"/\") ? \"/\" : \"\";\n\n const stringify = (p: any) =>\n p == null ? \"\" : typeof p === \"string\" ? p : String(p);\n\n const segments = path\n .split(/\\/+/)\n .map((segment, index, array) => {\n const isLastSegment = index === array.length - 1;\n\n // only apply the splat if it's the last segment\n if (isLastSegment && segment === \"*\") {\n const star = \"*\" as PathParam;\n // Apply the splat\n return stringify(params[star]);\n }\n\n const keyMatch = segment.match(/^:(\\w+)(\\??)$/);\n if (keyMatch) {\n const [, key, optional] = keyMatch;\n let param = params[key as PathParam];\n invariant(optional === \"?\" || param != null, `Missing \":${key}\" param`);\n return stringify(param);\n }\n\n // Remove any optional markers from optional static segments\n return segment.replace(/\\?$/g, \"\");\n })\n // Remove empty segments\n .filter((segment) => !!segment);\n\n return prefix + segments.join(\"/\");\n}\n\n/**\n * A PathPattern is used to match on some portion of a URL pathname.\n */\nexport interface PathPattern {\n /**\n * A string to match against a URL pathname. May contain `:id`-style segments\n * to indicate placeholders for dynamic parameters. May also end with `/*` to\n * indicate matching the rest of the URL pathname.\n */\n path: Path;\n /**\n * Should be `true` if the static portions of the `path` should be matched in\n * the same case.\n */\n caseSensitive?: boolean;\n /**\n * Should be `true` if this pattern should match the entire URL pathname.\n */\n end?: boolean;\n}\n\n/**\n * A PathMatch contains info about how a PathPattern matched on a URL pathname.\n */\nexport interface PathMatch {\n /**\n * The names and values of dynamic parameters in the URL.\n */\n params: Params;\n /**\n * The portion of the URL pathname that was matched.\n */\n pathname: string;\n /**\n * The portion of the URL pathname that was matched before child routes.\n */\n pathnameBase: string;\n /**\n * The pattern that was used to match.\n */\n pattern: PathPattern;\n}\n\ntype Mutable = {\n -readonly [P in keyof T]: T[P];\n};\n\n/**\n * Performs pattern matching on a URL pathname and returns information about\n * the match.\n *\n * @see https://reactrouter.com/utils/match-path\n */\nexport function matchPath<\n ParamKey extends ParamParseKey,\n Path extends string\n>(\n pattern: PathPattern | Path,\n pathname: string\n): PathMatch | null {\n if (typeof pattern === \"string\") {\n pattern = { path: pattern, caseSensitive: false, end: true };\n }\n\n let [matcher, paramNames] = compilePath(\n pattern.path,\n pattern.caseSensitive,\n pattern.end\n );\n\n let match = pathname.match(matcher);\n if (!match) return null;\n\n let matchedPathname = match[0];\n let pathnameBase = matchedPathname.replace(/(.)\\/+$/, \"$1\");\n let captureGroups = match.slice(1);\n let params: Params = paramNames.reduce>(\n (memo, paramName, index) => {\n // We need to compute the pathnameBase here using the raw splat value\n // instead of using params[\"*\"] later because it will be decoded then\n if (paramName === \"*\") {\n let splatValue = captureGroups[index] || \"\";\n pathnameBase = matchedPathname\n .slice(0, matchedPathname.length - splatValue.length)\n .replace(/(.)\\/+$/, \"$1\");\n }\n\n memo[paramName] = safelyDecodeURIComponent(\n captureGroups[index] || \"\",\n paramName\n );\n return memo;\n },\n {}\n );\n\n return {\n params,\n pathname: matchedPathname,\n pathnameBase,\n pattern,\n };\n}\n\nfunction compilePath(\n path: string,\n caseSensitive = false,\n end = true\n): [RegExp, string[]] {\n warning(\n path === \"*\" || !path.endsWith(\"*\") || path.endsWith(\"/*\"),\n `Route path \"${path}\" will be treated as if it were ` +\n `\"${path.replace(/\\*$/, \"/*\")}\" because the \\`*\\` character must ` +\n `always follow a \\`/\\` in the pattern. To get rid of this warning, ` +\n `please change the route path to \"${path.replace(/\\*$/, \"/*\")}\".`\n );\n\n let paramNames: string[] = [];\n let regexpSource =\n \"^\" +\n path\n .replace(/\\/*\\*?$/, \"\") // Ignore trailing / and /*, we'll handle it below\n .replace(/^\\/*/, \"/\") // Make sure it has a leading /\n .replace(/[\\\\.*+^$?{}|()[\\]]/g, \"\\\\$&\") // Escape special regex chars\n .replace(/\\/:(\\w+)/g, (_: string, paramName: string) => {\n paramNames.push(paramName);\n return \"/([^\\\\/]+)\";\n });\n\n if (path.endsWith(\"*\")) {\n paramNames.push(\"*\");\n regexpSource +=\n path === \"*\" || path === \"/*\"\n ? \"(.*)$\" // Already matched the initial /, just match the rest\n : \"(?:\\\\/(.+)|\\\\/*)$\"; // Don't include the / in params[\"*\"]\n } else if (end) {\n // When matching to the end, ignore trailing slashes\n regexpSource += \"\\\\/*$\";\n } else if (path !== \"\" && path !== \"/\") {\n // If our path is non-empty and contains anything beyond an initial slash,\n // then we have _some_ form of path in our regex, so we should expect to\n // match only if we find the end of this path segment. Look for an optional\n // non-captured trailing slash (to match a portion of the URL) or the end\n // of the path (if we've matched to the end). We used to do this with a\n // word boundary but that gives false positives on routes like\n // /user-preferences since `-` counts as a word boundary.\n regexpSource += \"(?:(?=\\\\/|$))\";\n } else {\n // Nothing to match for \"\" or \"/\"\n }\n\n let matcher = new RegExp(regexpSource, caseSensitive ? undefined : \"i\");\n\n return [matcher, paramNames];\n}\n\nfunction safelyDecodeURI(value: string) {\n try {\n return decodeURI(value);\n } catch (error) {\n warning(\n false,\n `The URL path \"${value}\" could not be decoded because it is is a ` +\n `malformed URL segment. This is probably due to a bad percent ` +\n `encoding (${error}).`\n );\n\n return value;\n }\n}\n\nfunction safelyDecodeURIComponent(value: string, paramName: string) {\n try {\n return decodeURIComponent(value);\n } catch (error) {\n warning(\n false,\n `The value for the URL param \"${paramName}\" will not be decoded because` +\n ` the string \"${value}\" is a malformed URL segment. This is probably` +\n ` due to a bad percent encoding (${error}).`\n );\n\n return value;\n }\n}\n\n/**\n * @private\n */\nexport function stripBasename(\n pathname: string,\n basename: string\n): string | null {\n if (basename === \"/\") return pathname;\n\n if (!pathname.toLowerCase().startsWith(basename.toLowerCase())) {\n return null;\n }\n\n // We want to leave trailing slash behavior in the user's control, so if they\n // specify a basename with a trailing slash, we should support it\n let startIndex = basename.endsWith(\"/\")\n ? basename.length - 1\n : basename.length;\n let nextChar = pathname.charAt(startIndex);\n if (nextChar && nextChar !== \"/\") {\n // pathname does not start with basename/\n return null;\n }\n\n return pathname.slice(startIndex) || \"/\";\n}\n\n/**\n * Returns a resolved path object relative to the given pathname.\n *\n * @see https://reactrouter.com/utils/resolve-path\n */\nexport function resolvePath(to: To, fromPathname = \"/\"): Path {\n let {\n pathname: toPathname,\n search = \"\",\n hash = \"\",\n } = typeof to === \"string\" ? parsePath(to) : to;\n\n let pathname = toPathname\n ? toPathname.startsWith(\"/\")\n ? toPathname\n : resolvePathname(toPathname, fromPathname)\n : fromPathname;\n\n return {\n pathname,\n search: normalizeSearch(search),\n hash: normalizeHash(hash),\n };\n}\n\nfunction resolvePathname(relativePath: string, fromPathname: string): string {\n let segments = fromPathname.replace(/\\/+$/, \"\").split(\"/\");\n let relativeSegments = relativePath.split(\"/\");\n\n relativeSegments.forEach((segment) => {\n if (segment === \"..\") {\n // Keep the root \"\" segment so the pathname starts at /\n if (segments.length > 1) segments.pop();\n } else if (segment !== \".\") {\n segments.push(segment);\n }\n });\n\n return segments.length > 1 ? segments.join(\"/\") : \"/\";\n}\n\nfunction getInvalidPathError(\n char: string,\n field: string,\n dest: string,\n path: Partial\n) {\n return (\n `Cannot include a '${char}' character in a manually specified ` +\n `\\`to.${field}\\` field [${JSON.stringify(\n path\n )}]. Please separate it out to the ` +\n `\\`to.${dest}\\` field. Alternatively you may provide the full path as ` +\n `a string in and the router will parse it for you.`\n );\n}\n\n/**\n * @private\n *\n * When processing relative navigation we want to ignore ancestor routes that\n * do not contribute to the path, such that index/pathless layout routes don't\n * interfere.\n *\n * For example, when moving a route element into an index route and/or a\n * pathless layout route, relative link behavior contained within should stay\n * the same. Both of the following examples should link back to the root:\n *\n * \n * \n * \n *\n * \n * \n * }> // <-- Does not contribute\n * // <-- Does not contribute\n * \n * \n */\nexport function getPathContributingMatches<\n T extends AgnosticRouteMatch = AgnosticRouteMatch\n>(matches: T[]) {\n return matches.filter(\n (match, index) =>\n index === 0 || (match.route.path && match.route.path.length > 0)\n );\n}\n\n/**\n * @private\n */\nexport function resolveTo(\n toArg: To,\n routePathnames: string[],\n locationPathname: string,\n isPathRelative = false\n): Path {\n let to: Partial;\n if (typeof toArg === \"string\") {\n to = parsePath(toArg);\n } else {\n to = { ...toArg };\n\n invariant(\n !to.pathname || !to.pathname.includes(\"?\"),\n getInvalidPathError(\"?\", \"pathname\", \"search\", to)\n );\n invariant(\n !to.pathname || !to.pathname.includes(\"#\"),\n getInvalidPathError(\"#\", \"pathname\", \"hash\", to)\n );\n invariant(\n !to.search || !to.search.includes(\"#\"),\n getInvalidPathError(\"#\", \"search\", \"hash\", to)\n );\n }\n\n let isEmptyPath = toArg === \"\" || to.pathname === \"\";\n let toPathname = isEmptyPath ? \"/\" : to.pathname;\n\n let from: string;\n\n // Routing is relative to the current pathname if explicitly requested.\n //\n // If a pathname is explicitly provided in `to`, it should be relative to the\n // route context. This is explained in `Note on `` values` in our\n // migration guide from v5 as a means of disambiguation between `to` values\n // that begin with `/` and those that do not. However, this is problematic for\n // `to` values that do not provide a pathname. `to` can simply be a search or\n // hash string, in which case we should assume that the navigation is relative\n // to the current location's pathname and *not* the route pathname.\n if (isPathRelative || toPathname == null) {\n from = locationPathname;\n } else {\n let routePathnameIndex = routePathnames.length - 1;\n\n if (toPathname.startsWith(\"..\")) {\n let toSegments = toPathname.split(\"/\");\n\n // Each leading .. segment means \"go up one route\" instead of \"go up one\n // URL segment\". This is a key difference from how works and a\n // major reason we call this a \"to\" value instead of a \"href\".\n while (toSegments[0] === \"..\") {\n toSegments.shift();\n routePathnameIndex -= 1;\n }\n\n to.pathname = toSegments.join(\"/\");\n }\n\n // If there are more \"..\" segments than parent routes, resolve relative to\n // the root / URL.\n from = routePathnameIndex >= 0 ? routePathnames[routePathnameIndex] : \"/\";\n }\n\n let path = resolvePath(to, from);\n\n // Ensure the pathname has a trailing slash if the original \"to\" had one\n let hasExplicitTrailingSlash =\n toPathname && toPathname !== \"/\" && toPathname.endsWith(\"/\");\n // Or if this was a link to the current path which has a trailing slash\n let hasCurrentTrailingSlash =\n (isEmptyPath || toPathname === \".\") && locationPathname.endsWith(\"/\");\n if (\n !path.pathname.endsWith(\"/\") &&\n (hasExplicitTrailingSlash || hasCurrentTrailingSlash)\n ) {\n path.pathname += \"/\";\n }\n\n return path;\n}\n\n/**\n * @private\n */\nexport function getToPathname(to: To): string | undefined {\n // Empty strings should be treated the same as / paths\n return to === \"\" || (to as Path).pathname === \"\"\n ? \"/\"\n : typeof to === \"string\"\n ? parsePath(to).pathname\n : to.pathname;\n}\n\n/**\n * @private\n */\nexport const joinPaths = (paths: string[]): string =>\n paths.join(\"/\").replace(/\\/\\/+/g, \"/\");\n\n/**\n * @private\n */\nexport const normalizePathname = (pathname: string): string =>\n pathname.replace(/\\/+$/, \"\").replace(/^\\/*/, \"/\");\n\n/**\n * @private\n */\nexport const normalizeSearch = (search: string): string =>\n !search || search === \"?\"\n ? \"\"\n : search.startsWith(\"?\")\n ? search\n : \"?\" + search;\n\n/**\n * @private\n */\nexport const normalizeHash = (hash: string): string =>\n !hash || hash === \"#\" ? \"\" : hash.startsWith(\"#\") ? hash : \"#\" + hash;\n\nexport type JsonFunction = (\n data: Data,\n init?: number | ResponseInit\n) => Response;\n\n/**\n * This is a shortcut for creating `application/json` responses. Converts `data`\n * to JSON and sets the `Content-Type` header.\n */\nexport const json: JsonFunction = (data, init = {}) => {\n let responseInit = typeof init === \"number\" ? { status: init } : init;\n\n let headers = new Headers(responseInit.headers);\n if (!headers.has(\"Content-Type\")) {\n headers.set(\"Content-Type\", \"application/json; charset=utf-8\");\n }\n\n return new Response(JSON.stringify(data), {\n ...responseInit,\n headers,\n });\n};\n\nexport interface TrackedPromise extends Promise {\n _tracked?: boolean;\n _data?: any;\n _error?: any;\n}\n\nexport class AbortedDeferredError extends Error {}\n\nexport class DeferredData {\n private pendingKeysSet: Set = new Set();\n private controller: AbortController;\n private abortPromise: Promise;\n private unlistenAbortSignal: () => void;\n private subscribers: Set<(aborted: boolean, settledKey?: string) => void> =\n new Set();\n data: Record;\n init?: ResponseInit;\n deferredKeys: string[] = [];\n\n constructor(data: Record, responseInit?: ResponseInit) {\n invariant(\n data && typeof data === \"object\" && !Array.isArray(data),\n \"defer() only accepts plain objects\"\n );\n\n // Set up an AbortController + Promise we can race against to exit early\n // cancellation\n let reject: (e: AbortedDeferredError) => void;\n this.abortPromise = new Promise((_, r) => (reject = r));\n this.controller = new AbortController();\n let onAbort = () =>\n reject(new AbortedDeferredError(\"Deferred data aborted\"));\n this.unlistenAbortSignal = () =>\n this.controller.signal.removeEventListener(\"abort\", onAbort);\n this.controller.signal.addEventListener(\"abort\", onAbort);\n\n this.data = Object.entries(data).reduce(\n (acc, [key, value]) =>\n Object.assign(acc, {\n [key]: this.trackPromise(key, value),\n }),\n {}\n );\n\n if (this.done) {\n // All incoming values were resolved\n this.unlistenAbortSignal();\n }\n\n this.init = responseInit;\n }\n\n private trackPromise(\n key: string,\n value: Promise | unknown\n ): TrackedPromise | unknown {\n if (!(value instanceof Promise)) {\n return value;\n }\n\n this.deferredKeys.push(key);\n this.pendingKeysSet.add(key);\n\n // We store a little wrapper promise that will be extended with\n // _data/_error props upon resolve/reject\n let promise: TrackedPromise = Promise.race([value, this.abortPromise]).then(\n (data) => this.onSettle(promise, key, undefined, data as unknown),\n (error) => this.onSettle(promise, key, error as unknown)\n );\n\n // Register rejection listeners to avoid uncaught promise rejections on\n // errors or aborted deferred values\n promise.catch(() => {});\n\n Object.defineProperty(promise, \"_tracked\", { get: () => true });\n return promise;\n }\n\n private onSettle(\n promise: TrackedPromise,\n key: string,\n error: unknown,\n data?: unknown\n ): unknown {\n if (\n this.controller.signal.aborted &&\n error instanceof AbortedDeferredError\n ) {\n this.unlistenAbortSignal();\n Object.defineProperty(promise, \"_error\", { get: () => error });\n return Promise.reject(error);\n }\n\n this.pendingKeysSet.delete(key);\n\n if (this.done) {\n // Nothing left to abort!\n this.unlistenAbortSignal();\n }\n\n // If the promise was resolved/rejected with undefined, we'll throw an error as you\n // should always resolve with a value or null\n if (error === undefined && data === undefined) {\n let undefinedError = new Error(\n `Deferred data for key \"${key}\" resolved/rejected with \\`undefined\\`, ` +\n `you must resolve/reject with a value or \\`null\\`.`\n );\n Object.defineProperty(promise, \"_error\", { get: () => undefinedError });\n this.emit(false, key);\n return Promise.reject(undefinedError);\n }\n\n if (data === undefined) {\n Object.defineProperty(promise, \"_error\", { get: () => error });\n this.emit(false, key);\n return Promise.reject(error);\n }\n\n Object.defineProperty(promise, \"_data\", { get: () => data });\n this.emit(false, key);\n return data;\n }\n\n private emit(aborted: boolean, settledKey?: string) {\n this.subscribers.forEach((subscriber) => subscriber(aborted, settledKey));\n }\n\n subscribe(fn: (aborted: boolean, settledKey?: string) => void) {\n this.subscribers.add(fn);\n return () => this.subscribers.delete(fn);\n }\n\n cancel() {\n this.controller.abort();\n this.pendingKeysSet.forEach((v, k) => this.pendingKeysSet.delete(k));\n this.emit(true);\n }\n\n async resolveData(signal: AbortSignal) {\n let aborted = false;\n if (!this.done) {\n let onAbort = () => this.cancel();\n signal.addEventListener(\"abort\", onAbort);\n aborted = await new Promise((resolve) => {\n this.subscribe((aborted) => {\n signal.removeEventListener(\"abort\", onAbort);\n if (aborted || this.done) {\n resolve(aborted);\n }\n });\n });\n }\n return aborted;\n }\n\n get done() {\n return this.pendingKeysSet.size === 0;\n }\n\n get unwrappedData() {\n invariant(\n this.data !== null && this.done,\n \"Can only unwrap data on initialized and settled deferreds\"\n );\n\n return Object.entries(this.data).reduce(\n (acc, [key, value]) =>\n Object.assign(acc, {\n [key]: unwrapTrackedPromise(value),\n }),\n {}\n );\n }\n\n get pendingKeys() {\n return Array.from(this.pendingKeysSet);\n }\n}\n\nfunction isTrackedPromise(value: any): value is TrackedPromise {\n return (\n value instanceof Promise && (value as TrackedPromise)._tracked === true\n );\n}\n\nfunction unwrapTrackedPromise(value: any) {\n if (!isTrackedPromise(value)) {\n return value;\n }\n\n if (value._error) {\n throw value._error;\n }\n return value._data;\n}\n\nexport type DeferFunction = (\n data: Record,\n init?: number | ResponseInit\n) => DeferredData;\n\nexport const defer: DeferFunction = (data, init = {}) => {\n let responseInit = typeof init === \"number\" ? { status: init } : init;\n\n return new DeferredData(data, responseInit);\n};\n\nexport type RedirectFunction = (\n url: string,\n init?: number | ResponseInit\n) => Response;\n\n/**\n * A redirect response. Sets the status code and the `Location` header.\n * Defaults to \"302 Found\".\n */\nexport const redirect: RedirectFunction = (url, init = 302) => {\n let responseInit = init;\n if (typeof responseInit === \"number\") {\n responseInit = { status: responseInit };\n } else if (typeof responseInit.status === \"undefined\") {\n responseInit.status = 302;\n }\n\n let headers = new Headers(responseInit.headers);\n headers.set(\"Location\", url);\n\n return new Response(null, {\n ...responseInit,\n headers,\n });\n};\n\n/**\n * A redirect response that will force a document reload to the new location.\n * Sets the status code and the `Location` header.\n * Defaults to \"302 Found\".\n */\nexport const redirectDocument: RedirectFunction = (url, init) => {\n let response = redirect(url, init);\n response.headers.set(\"X-Remix-Reload-Document\", \"true\");\n return response;\n};\n\nexport type ErrorResponse = {\n status: number;\n statusText: string;\n data: any;\n};\n\n/**\n * @private\n * Utility class we use to hold auto-unwrapped 4xx/5xx Response bodies\n *\n * We don't export the class for public use since it's an implementation\n * detail, but we export the interface above so folks can build their own\n * abstractions around instances via isRouteErrorResponse()\n */\nexport class ErrorResponseImpl implements ErrorResponse {\n status: number;\n statusText: string;\n data: any;\n private error?: Error;\n private internal: boolean;\n\n constructor(\n status: number,\n statusText: string | undefined,\n data: any,\n internal = false\n ) {\n this.status = status;\n this.statusText = statusText || \"\";\n this.internal = internal;\n if (data instanceof Error) {\n this.data = data.toString();\n this.error = data;\n } else {\n this.data = data;\n }\n }\n}\n\n/**\n * Check if the given error is an ErrorResponse generated from a 4xx/5xx\n * Response thrown from an action/loader\n */\nexport function isRouteErrorResponse(error: any): error is ErrorResponse {\n return (\n error != null &&\n typeof error.status === \"number\" &&\n typeof error.statusText === \"string\" &&\n typeof error.internal === \"boolean\" &&\n \"data\" in error\n );\n}\n","import { _array_with_holes } from \"./_array_with_holes.js\";\nimport { _iterable_to_array } from \"./_iterable_to_array.js\";\nimport { _non_iterable_rest } from \"./_non_iterable_rest.js\";\nimport { _unsupported_iterable_to_array } from \"./_unsupported_iterable_to_array.js\";\n\nexport function _to_array(arr) {\n return _array_with_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_rest();\n}\nexport { _to_array as _ };\n","import type { History, Location, Path, To } from \"./history\";\nimport {\n Action as HistoryAction,\n createLocation,\n createPath,\n invariant,\n parsePath,\n warning,\n} from \"./history\";\nimport type {\n ActionFunction,\n AgnosticDataRouteMatch,\n AgnosticDataRouteObject,\n AgnosticRouteObject,\n DataResult,\n DeferredData,\n DeferredResult,\n DetectErrorBoundaryFunction,\n ErrorResult,\n FormEncType,\n FormMethod,\n HTMLFormMethod,\n ImmutableRouteKey,\n LoaderFunction,\n MapRoutePropertiesFunction,\n MutationFormMethod,\n RedirectResult,\n RouteData,\n RouteManifest,\n ShouldRevalidateFunctionArgs,\n Submission,\n SuccessResult,\n UIMatch,\n V7_FormMethod,\n V7_MutationFormMethod,\n} from \"./utils\";\nimport {\n ErrorResponseImpl,\n ResultType,\n convertRouteMatchToUiMatch,\n convertRoutesToDataRoutes,\n getPathContributingMatches,\n immutableRouteKeys,\n isRouteErrorResponse,\n joinPaths,\n matchRoutes,\n resolveTo,\n stripBasename,\n} from \"./utils\";\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Types and Constants\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A Router instance manages all navigation and data loading/mutations\n */\nexport interface Router {\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Return the basename for the router\n */\n get basename(): RouterInit[\"basename\"];\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Return the current state of the router\n */\n get state(): RouterState;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Return the routes for this router instance\n */\n get routes(): AgnosticDataRouteObject[];\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Return the window associated with the router\n */\n get window(): RouterInit[\"window\"];\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Initialize the router, including adding history listeners and kicking off\n * initial data fetches. Returns a function to cleanup listeners and abort\n * any in-progress loads\n */\n initialize(): Router;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Subscribe to router.state updates\n *\n * @param fn function to call with the new state\n */\n subscribe(fn: RouterSubscriber): () => void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Enable scroll restoration behavior in the router\n *\n * @param savedScrollPositions Object that will manage positions, in case\n * it's being restored from sessionStorage\n * @param getScrollPosition Function to get the active Y scroll position\n * @param getKey Function to get the key to use for restoration\n */\n enableScrollRestoration(\n savedScrollPositions: Record,\n getScrollPosition: GetScrollPositionFunction,\n getKey?: GetScrollRestorationKeyFunction\n ): () => void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Navigate forward/backward in the history stack\n * @param to Delta to move in the history stack\n */\n navigate(to: number): Promise;\n\n /**\n * Navigate to the given path\n * @param to Path to navigate to\n * @param opts Navigation options (method, submission, etc.)\n */\n navigate(to: To | null, opts?: RouterNavigateOptions): Promise;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Trigger a fetcher load/submission\n *\n * @param key Fetcher key\n * @param routeId Route that owns the fetcher\n * @param href href to fetch\n * @param opts Fetcher options, (method, submission, etc.)\n */\n fetch(\n key: string,\n routeId: string,\n href: string | null,\n opts?: RouterFetchOptions\n ): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Trigger a revalidation of all current route loaders and fetcher loads\n */\n revalidate(): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Utility function to create an href for the given location\n * @param location\n */\n createHref(location: Location | URL): string;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Utility function to URL encode a destination path according to the internal\n * history implementation\n * @param to\n */\n encodeLocation(to: To): Path;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Get/create a fetcher for the given key\n * @param key\n */\n getFetcher(key?: string): Fetcher;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Delete the fetcher for a given key\n * @param key\n */\n deleteFetcher(key?: string): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Cleanup listeners and abort any in-progress loads\n */\n dispose(): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Get a navigation blocker\n * @param key The identifier for the blocker\n * @param fn The blocker function implementation\n */\n getBlocker(key: string, fn: BlockerFunction): Blocker;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Delete a navigation blocker\n * @param key The identifier for the blocker\n */\n deleteBlocker(key: string): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * HMR needs to pass in-flight route updates to React Router\n * TODO: Replace this with granular route update APIs (addRoute, updateRoute, deleteRoute)\n */\n _internalSetRoutes(routes: AgnosticRouteObject[]): void;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Internal fetch AbortControllers accessed by unit tests\n */\n _internalFetchControllers: Map;\n\n /**\n * @internal\n * PRIVATE - DO NOT USE\n *\n * Internal pending DeferredData instances accessed by unit tests\n */\n _internalActiveDeferreds: Map;\n}\n\n/**\n * State maintained internally by the router. During a navigation, all states\n * reflect the the \"old\" location unless otherwise noted.\n */\nexport interface RouterState {\n /**\n * The action of the most recent navigation\n */\n historyAction: HistoryAction;\n\n /**\n * The current location reflected by the router\n */\n location: Location;\n\n /**\n * The current set of route matches\n */\n matches: AgnosticDataRouteMatch[];\n\n /**\n * Tracks whether we've completed our initial data load\n */\n initialized: boolean;\n\n /**\n * Current scroll position we should start at for a new view\n * - number -> scroll position to restore to\n * - false -> do not restore scroll at all (used during submissions)\n * - null -> don't have a saved position, scroll to hash or top of page\n */\n restoreScrollPosition: number | false | null;\n\n /**\n * Indicate whether this navigation should skip resetting the scroll position\n * if we are unable to restore the scroll position\n */\n preventScrollReset: boolean;\n\n /**\n * Tracks the state of the current navigation\n */\n navigation: Navigation;\n\n /**\n * Tracks any in-progress revalidations\n */\n revalidation: RevalidationState;\n\n /**\n * Data from the loaders for the current matches\n */\n loaderData: RouteData;\n\n /**\n * Data from the action for the current matches\n */\n actionData: RouteData | null;\n\n /**\n * Errors caught from loaders for the current matches\n */\n errors: RouteData | null;\n\n /**\n * Map of current fetchers\n */\n fetchers: Map;\n\n /**\n * Map of current blockers\n */\n blockers: Map;\n}\n\n/**\n * Data that can be passed into hydrate a Router from SSR\n */\nexport type HydrationState = Partial<\n Pick\n>;\n\n/**\n * Future flags to toggle new feature behavior\n */\nexport interface FutureConfig {\n v7_normalizeFormMethod: boolean;\n v7_prependBasename: boolean;\n}\n\n/**\n * Initialization options for createRouter\n */\nexport interface RouterInit {\n routes: AgnosticRouteObject[];\n history: History;\n basename?: string;\n /**\n * @deprecated Use `mapRouteProperties` instead\n */\n detectErrorBoundary?: DetectErrorBoundaryFunction;\n mapRouteProperties?: MapRoutePropertiesFunction;\n future?: Partial;\n hydrationData?: HydrationState;\n window?: Window;\n}\n\n/**\n * State returned from a server-side query() call\n */\nexport interface StaticHandlerContext {\n basename: Router[\"basename\"];\n location: RouterState[\"location\"];\n matches: RouterState[\"matches\"];\n loaderData: RouterState[\"loaderData\"];\n actionData: RouterState[\"actionData\"];\n errors: RouterState[\"errors\"];\n statusCode: number;\n loaderHeaders: Record;\n actionHeaders: Record;\n activeDeferreds: Record | null;\n _deepestRenderedBoundaryId?: string | null;\n}\n\n/**\n * A StaticHandler instance manages a singular SSR navigation/fetch event\n */\nexport interface StaticHandler {\n dataRoutes: AgnosticDataRouteObject[];\n query(\n request: Request,\n opts?: { requestContext?: unknown }\n ): Promise;\n queryRoute(\n request: Request,\n opts?: { routeId?: string; requestContext?: unknown }\n ): Promise;\n}\n\ntype ViewTransitionOpts = {\n currentLocation: Location;\n nextLocation: Location;\n};\n\n/**\n * Subscriber function signature for changes to router state\n */\nexport interface RouterSubscriber {\n (\n state: RouterState,\n opts: {\n unstable_viewTransitionOpts?: ViewTransitionOpts;\n }\n ): void;\n}\n\n/**\n * Function signature for determining the key to be used in scroll restoration\n * for a given location\n */\nexport interface GetScrollRestorationKeyFunction {\n (location: Location, matches: UIMatch[]): string | null;\n}\n\n/**\n * Function signature for determining the current scroll position\n */\nexport interface GetScrollPositionFunction {\n (): number;\n}\n\nexport type RelativeRoutingType = \"route\" | \"path\";\n\n// Allowed for any navigation or fetch\ntype BaseNavigateOrFetchOptions = {\n preventScrollReset?: boolean;\n relative?: RelativeRoutingType;\n};\n\n// Only allowed for navigations\ntype BaseNavigateOptions = BaseNavigateOrFetchOptions & {\n replace?: boolean;\n state?: any;\n fromRouteId?: string;\n unstable_viewTransition?: boolean;\n};\n\n// Only allowed for submission navigations\ntype BaseSubmissionOptions = {\n formMethod?: HTMLFormMethod;\n formEncType?: FormEncType;\n} & (\n | { formData: FormData; body?: undefined }\n | { formData?: undefined; body: any }\n);\n\n/**\n * Options for a navigate() call for a normal (non-submission) navigation\n */\ntype LinkNavigateOptions = BaseNavigateOptions;\n\n/**\n * Options for a navigate() call for a submission navigation\n */\ntype SubmissionNavigateOptions = BaseNavigateOptions & BaseSubmissionOptions;\n\n/**\n * Options to pass to navigate() for a navigation\n */\nexport type RouterNavigateOptions =\n | LinkNavigateOptions\n | SubmissionNavigateOptions;\n\n/**\n * Options for a fetch() load\n */\ntype LoadFetchOptions = BaseNavigateOrFetchOptions;\n\n/**\n * Options for a fetch() submission\n */\ntype SubmitFetchOptions = BaseNavigateOrFetchOptions & BaseSubmissionOptions;\n\n/**\n * Options to pass to fetch()\n */\nexport type RouterFetchOptions = LoadFetchOptions | SubmitFetchOptions;\n\n/**\n * Potential states for state.navigation\n */\nexport type NavigationStates = {\n Idle: {\n state: \"idle\";\n location: undefined;\n formMethod: undefined;\n formAction: undefined;\n formEncType: undefined;\n formData: undefined;\n json: undefined;\n text: undefined;\n };\n Loading: {\n state: \"loading\";\n location: Location;\n formMethod: Submission[\"formMethod\"] | undefined;\n formAction: Submission[\"formAction\"] | undefined;\n formEncType: Submission[\"formEncType\"] | undefined;\n formData: Submission[\"formData\"] | undefined;\n json: Submission[\"json\"] | undefined;\n text: Submission[\"text\"] | undefined;\n };\n Submitting: {\n state: \"submitting\";\n location: Location;\n formMethod: Submission[\"formMethod\"];\n formAction: Submission[\"formAction\"];\n formEncType: Submission[\"formEncType\"];\n formData: Submission[\"formData\"];\n json: Submission[\"json\"];\n text: Submission[\"text\"];\n };\n};\n\nexport type Navigation = NavigationStates[keyof NavigationStates];\n\nexport type RevalidationState = \"idle\" | \"loading\";\n\n/**\n * Potential states for fetchers\n */\ntype FetcherStates = {\n Idle: {\n state: \"idle\";\n formMethod: undefined;\n formAction: undefined;\n formEncType: undefined;\n text: undefined;\n formData: undefined;\n json: undefined;\n data: TData | undefined;\n };\n Loading: {\n state: \"loading\";\n formMethod: Submission[\"formMethod\"] | undefined;\n formAction: Submission[\"formAction\"] | undefined;\n formEncType: Submission[\"formEncType\"] | undefined;\n text: Submission[\"text\"] | undefined;\n formData: Submission[\"formData\"] | undefined;\n json: Submission[\"json\"] | undefined;\n data: TData | undefined;\n };\n Submitting: {\n state: \"submitting\";\n formMethod: Submission[\"formMethod\"];\n formAction: Submission[\"formAction\"];\n formEncType: Submission[\"formEncType\"];\n text: Submission[\"text\"];\n formData: Submission[\"formData\"];\n json: Submission[\"json\"];\n data: TData | undefined;\n };\n};\n\nexport type Fetcher =\n FetcherStates[keyof FetcherStates];\n\ninterface BlockerBlocked {\n state: \"blocked\";\n reset(): void;\n proceed(): void;\n location: Location;\n}\n\ninterface BlockerUnblocked {\n state: \"unblocked\";\n reset: undefined;\n proceed: undefined;\n location: undefined;\n}\n\ninterface BlockerProceeding {\n state: \"proceeding\";\n reset: undefined;\n proceed: undefined;\n location: Location;\n}\n\nexport type Blocker = BlockerUnblocked | BlockerBlocked | BlockerProceeding;\n\nexport type BlockerFunction = (args: {\n currentLocation: Location;\n nextLocation: Location;\n historyAction: HistoryAction;\n}) => boolean;\n\ninterface ShortCircuitable {\n /**\n * startNavigation does not need to complete the navigation because we\n * redirected or got interrupted\n */\n shortCircuited?: boolean;\n}\n\ninterface HandleActionResult extends ShortCircuitable {\n /**\n * Error thrown from the current action, keyed by the route containing the\n * error boundary to render the error. To be committed to the state after\n * loaders have completed\n */\n pendingActionError?: RouteData;\n /**\n * Data returned from the current action, keyed by the route owning the action.\n * To be committed to the state after loaders have completed\n */\n pendingActionData?: RouteData;\n}\n\ninterface HandleLoadersResult extends ShortCircuitable {\n /**\n * loaderData returned from the current set of loaders\n */\n loaderData?: RouterState[\"loaderData\"];\n /**\n * errors thrown from the current set of loaders\n */\n errors?: RouterState[\"errors\"];\n}\n\n/**\n * Cached info for active fetcher.load() instances so they can participate\n * in revalidation\n */\ninterface FetchLoadMatch {\n routeId: string;\n path: string;\n}\n\n/**\n * Identified fetcher.load() calls that need to be revalidated\n */\ninterface RevalidatingFetcher extends FetchLoadMatch {\n key: string;\n match: AgnosticDataRouteMatch | null;\n matches: AgnosticDataRouteMatch[] | null;\n controller: AbortController | null;\n}\n\n/**\n * Wrapper object to allow us to throw any response out from callLoaderOrAction\n * for queryRouter while preserving whether or not it was thrown or returned\n * from the loader/action\n */\ninterface QueryRouteResponse {\n type: ResultType.data | ResultType.error;\n response: Response;\n}\n\nconst validMutationMethodsArr: MutationFormMethod[] = [\n \"post\",\n \"put\",\n \"patch\",\n \"delete\",\n];\nconst validMutationMethods = new Set(\n validMutationMethodsArr\n);\n\nconst validRequestMethodsArr: FormMethod[] = [\n \"get\",\n ...validMutationMethodsArr,\n];\nconst validRequestMethods = new Set(validRequestMethodsArr);\n\nconst redirectStatusCodes = new Set([301, 302, 303, 307, 308]);\nconst redirectPreserveMethodStatusCodes = new Set([307, 308]);\n\nexport const IDLE_NAVIGATION: NavigationStates[\"Idle\"] = {\n state: \"idle\",\n location: undefined,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n json: undefined,\n text: undefined,\n};\n\nexport const IDLE_FETCHER: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n data: undefined,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n json: undefined,\n text: undefined,\n};\n\nexport const IDLE_BLOCKER: BlockerUnblocked = {\n state: \"unblocked\",\n proceed: undefined,\n reset: undefined,\n location: undefined,\n};\n\nconst ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|\\/\\/)/i;\n\nconst defaultMapRouteProperties: MapRoutePropertiesFunction = (route) => ({\n hasErrorBoundary: Boolean(route.hasErrorBoundary),\n});\n\nconst TRANSITIONS_STORAGE_KEY = \"remix-router-transitions\";\n\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region createRouter\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Create a router and listen to history POP navigations\n */\nexport function createRouter(init: RouterInit): Router {\n const routerWindow = init.window\n ? init.window\n : typeof window !== \"undefined\"\n ? window\n : undefined;\n const isBrowser =\n typeof routerWindow !== \"undefined\" &&\n typeof routerWindow.document !== \"undefined\" &&\n typeof routerWindow.document.createElement !== \"undefined\";\n const isServer = !isBrowser;\n\n invariant(\n init.routes.length > 0,\n \"You must provide a non-empty routes array to createRouter\"\n );\n\n let mapRouteProperties: MapRoutePropertiesFunction;\n if (init.mapRouteProperties) {\n mapRouteProperties = init.mapRouteProperties;\n } else if (init.detectErrorBoundary) {\n // If they are still using the deprecated version, wrap it with the new API\n let detectErrorBoundary = init.detectErrorBoundary;\n mapRouteProperties = (route) => ({\n hasErrorBoundary: detectErrorBoundary(route),\n });\n } else {\n mapRouteProperties = defaultMapRouteProperties;\n }\n\n // Routes keyed by ID\n let manifest: RouteManifest = {};\n // Routes in tree format for matching\n let dataRoutes = convertRoutesToDataRoutes(\n init.routes,\n mapRouteProperties,\n undefined,\n manifest\n );\n let inFlightDataRoutes: AgnosticDataRouteObject[] | undefined;\n let basename = init.basename || \"/\";\n // Config driven behavior flags\n let future: FutureConfig = {\n v7_normalizeFormMethod: false,\n v7_prependBasename: false,\n ...init.future,\n };\n // Cleanup function for history\n let unlistenHistory: (() => void) | null = null;\n // Externally-provided functions to call on all state changes\n let subscribers = new Set();\n // Externally-provided object to hold scroll restoration locations during routing\n let savedScrollPositions: Record | null = null;\n // Externally-provided function to get scroll restoration keys\n let getScrollRestorationKey: GetScrollRestorationKeyFunction | null = null;\n // Externally-provided function to get current scroll position\n let getScrollPosition: GetScrollPositionFunction | null = null;\n // One-time flag to control the initial hydration scroll restoration. Because\n // we don't get the saved positions from until _after_\n // the initial render, we need to manually trigger a separate updateState to\n // send along the restoreScrollPosition\n // Set to true if we have `hydrationData` since we assume we were SSR'd and that\n // SSR did the initial scroll restoration.\n let initialScrollRestored = init.hydrationData != null;\n\n let initialMatches = matchRoutes(dataRoutes, init.history.location, basename);\n let initialErrors: RouteData | null = null;\n\n if (initialMatches == null) {\n // If we do not match a user-provided-route, fall back to the root\n // to allow the error boundary to take over\n let error = getInternalRouterError(404, {\n pathname: init.history.location.pathname,\n });\n let { matches, route } = getShortCircuitMatches(dataRoutes);\n initialMatches = matches;\n initialErrors = { [route.id]: error };\n }\n\n let initialized =\n // All initialMatches need to be loaded before we're ready. If we have lazy\n // functions around still then we'll need to run them in initialize()\n !initialMatches.some((m) => m.route.lazy) &&\n // And we have to either have no loaders or have been provided hydrationData\n (!initialMatches.some((m) => m.route.loader) || init.hydrationData != null);\n\n let router: Router;\n let state: RouterState = {\n historyAction: init.history.action,\n location: init.history.location,\n matches: initialMatches,\n initialized,\n navigation: IDLE_NAVIGATION,\n // Don't restore on initial updateState() if we were SSR'd\n restoreScrollPosition: init.hydrationData != null ? false : null,\n preventScrollReset: false,\n revalidation: \"idle\",\n loaderData: (init.hydrationData && init.hydrationData.loaderData) || {},\n actionData: (init.hydrationData && init.hydrationData.actionData) || null,\n errors: (init.hydrationData && init.hydrationData.errors) || initialErrors,\n fetchers: new Map(),\n blockers: new Map(),\n };\n\n // -- Stateful internal variables to manage navigations --\n // Current navigation in progress (to be committed in completeNavigation)\n let pendingAction: HistoryAction = HistoryAction.Pop;\n\n // Should the current navigation prevent the scroll reset if scroll cannot\n // be restored?\n let pendingPreventScrollReset = false;\n\n // AbortController for the active navigation\n let pendingNavigationController: AbortController | null;\n\n // Should the current navigation enable document.startViewTransition?\n let pendingViewTransitionEnabled = false;\n\n // Store applied view transitions so we can apply them on POP\n let appliedViewTransitions: Map> = new Map<\n string,\n Set\n >();\n\n // Cleanup function for persisting applied transitions to sessionStorage\n let removePageHideEventListener: (() => void) | null = null;\n\n // We use this to avoid touching history in completeNavigation if a\n // revalidation is entirely uninterrupted\n let isUninterruptedRevalidation = false;\n\n // Use this internal flag to force revalidation of all loaders:\n // - submissions (completed or interrupted)\n // - useRevalidator()\n // - X-Remix-Revalidate (from redirect)\n let isRevalidationRequired = false;\n\n // Use this internal array to capture routes that require revalidation due\n // to a cancelled deferred on action submission\n let cancelledDeferredRoutes: string[] = [];\n\n // Use this internal array to capture fetcher loads that were cancelled by an\n // action navigation and require revalidation\n let cancelledFetcherLoads: string[] = [];\n\n // AbortControllers for any in-flight fetchers\n let fetchControllers = new Map();\n\n // Track loads based on the order in which they started\n let incrementingLoadId = 0;\n\n // Track the outstanding pending navigation data load to be compared against\n // the globally incrementing load when a fetcher load lands after a completed\n // navigation\n let pendingNavigationLoadId = -1;\n\n // Fetchers that triggered data reloads as a result of their actions\n let fetchReloadIds = new Map();\n\n // Fetchers that triggered redirect navigations\n let fetchRedirectIds = new Set();\n\n // Most recent href/match for fetcher.load calls for fetchers\n let fetchLoadMatches = new Map();\n\n // Store DeferredData instances for active route matches. When a\n // route loader returns defer() we stick one in here. Then, when a nested\n // promise resolves we update loaderData. If a new navigation starts we\n // cancel active deferreds for eliminated routes.\n let activeDeferreds = new Map();\n\n // Store blocker functions in a separate Map outside of router state since\n // we don't need to update UI state if they change\n let blockerFunctions = new Map();\n\n // Flag to ignore the next history update, so we can revert the URL change on\n // a POP navigation that was blocked by the user without touching router state\n let ignoreNextHistoryUpdate = false;\n\n // Initialize the router, all side effects should be kicked off from here.\n // Implemented as a Fluent API for ease of:\n // let router = createRouter(init).initialize();\n function initialize() {\n // If history informs us of a POP navigation, start the navigation but do not update\n // state. We'll update our own state once the navigation completes\n unlistenHistory = init.history.listen(\n ({ action: historyAction, location, delta }) => {\n // Ignore this event if it was just us resetting the URL from a\n // blocked POP navigation\n if (ignoreNextHistoryUpdate) {\n ignoreNextHistoryUpdate = false;\n return;\n }\n\n warning(\n blockerFunctions.size === 0 || delta != null,\n \"You are trying to use a blocker on a POP navigation to a location \" +\n \"that was not created by @remix-run/router. This will fail silently in \" +\n \"production. This can happen if you are navigating outside the router \" +\n \"via `window.history.pushState`/`window.location.hash` instead of using \" +\n \"router navigation APIs. This can also happen if you are using \" +\n \"createHashRouter and the user manually changes the URL.\"\n );\n\n let blockerKey = shouldBlockNavigation({\n currentLocation: state.location,\n nextLocation: location,\n historyAction,\n });\n\n if (blockerKey && delta != null) {\n // Restore the URL to match the current UI, but don't update router state\n ignoreNextHistoryUpdate = true;\n init.history.go(delta * -1);\n\n // Put the blocker into a blocked state\n updateBlocker(blockerKey, {\n state: \"blocked\",\n location,\n proceed() {\n updateBlocker(blockerKey!, {\n state: \"proceeding\",\n proceed: undefined,\n reset: undefined,\n location,\n });\n // Re-do the same POP navigation we just blocked\n init.history.go(delta);\n },\n reset() {\n let blockers = new Map(state.blockers);\n blockers.set(blockerKey!, IDLE_BLOCKER);\n updateState({ blockers });\n },\n });\n return;\n }\n\n return startNavigation(historyAction, location);\n }\n );\n\n if (isBrowser) {\n // FIXME: This feels gross. How can we cleanup the lines between\n // scrollRestoration/appliedTransitions persistance?\n restoreAppliedTransitions(routerWindow, appliedViewTransitions);\n let _saveAppliedTransitions = () =>\n persistAppliedTransitions(routerWindow, appliedViewTransitions);\n routerWindow.addEventListener(\"pagehide\", _saveAppliedTransitions);\n removePageHideEventListener = () =>\n routerWindow.removeEventListener(\"pagehide\", _saveAppliedTransitions);\n }\n\n // Kick off initial data load if needed. Use Pop to avoid modifying history\n // Note we don't do any handling of lazy here. For SPA's it'll get handled\n // in the normal navigation flow. For SSR it's expected that lazy modules are\n // resolved prior to router creation since we can't go into a fallbackElement\n // UI for SSR'd apps\n if (!state.initialized) {\n startNavigation(HistoryAction.Pop, state.location);\n }\n\n return router;\n }\n\n // Clean up a router and it's side effects\n function dispose() {\n if (unlistenHistory) {\n unlistenHistory();\n }\n if (removePageHideEventListener) {\n removePageHideEventListener();\n }\n subscribers.clear();\n pendingNavigationController && pendingNavigationController.abort();\n state.fetchers.forEach((_, key) => deleteFetcher(key));\n state.blockers.forEach((_, key) => deleteBlocker(key));\n }\n\n // Subscribe to state updates for the router\n function subscribe(fn: RouterSubscriber) {\n subscribers.add(fn);\n return () => subscribers.delete(fn);\n }\n\n // Update our state and notify the calling context of the change\n function updateState(\n newState: Partial,\n viewTransitionOpts?: ViewTransitionOpts\n ): void {\n state = {\n ...state,\n ...newState,\n };\n subscribers.forEach((subscriber) =>\n subscriber(state, { unstable_viewTransitionOpts: viewTransitionOpts })\n );\n }\n\n // Complete a navigation returning the state.navigation back to the IDLE_NAVIGATION\n // and setting state.[historyAction/location/matches] to the new route.\n // - Location is a required param\n // - Navigation will always be set to IDLE_NAVIGATION\n // - Can pass any other state in newState\n function completeNavigation(\n location: Location,\n newState: Partial>\n ): void {\n // Deduce if we're in a loading/actionReload state:\n // - We have committed actionData in the store\n // - The current navigation was a mutation submission\n // - We're past the submitting state and into the loading state\n // - The location being loaded is not the result of a redirect\n let isActionReload =\n state.actionData != null &&\n state.navigation.formMethod != null &&\n isMutationMethod(state.navigation.formMethod) &&\n state.navigation.state === \"loading\" &&\n location.state?._isRedirect !== true;\n\n let actionData: RouteData | null;\n if (newState.actionData) {\n if (Object.keys(newState.actionData).length > 0) {\n actionData = newState.actionData;\n } else {\n // Empty actionData -> clear prior actionData due to an action error\n actionData = null;\n }\n } else if (isActionReload) {\n // Keep the current data if we're wrapping up the action reload\n actionData = state.actionData;\n } else {\n // Clear actionData on any other completed navigations\n actionData = null;\n }\n\n // Always preserve any existing loaderData from re-used routes\n let loaderData = newState.loaderData\n ? mergeLoaderData(\n state.loaderData,\n newState.loaderData,\n newState.matches || [],\n newState.errors\n )\n : state.loaderData;\n\n // On a successful navigation we can assume we got through all blockers\n // so we can start fresh\n let blockers = state.blockers;\n if (blockers.size > 0) {\n blockers = new Map(blockers);\n blockers.forEach((_, k) => blockers.set(k, IDLE_BLOCKER));\n }\n\n // Always respect the user flag. Otherwise don't reset on mutation\n // submission navigations unless they redirect\n let preventScrollReset =\n pendingPreventScrollReset === true ||\n (state.navigation.formMethod != null &&\n isMutationMethod(state.navigation.formMethod) &&\n location.state?._isRedirect !== true);\n\n if (inFlightDataRoutes) {\n dataRoutes = inFlightDataRoutes;\n inFlightDataRoutes = undefined;\n }\n\n if (isUninterruptedRevalidation) {\n // If this was an uninterrupted revalidation then do not touch history\n } else if (pendingAction === HistoryAction.Pop) {\n // Do nothing for POP - URL has already been updated\n } else if (pendingAction === HistoryAction.Push) {\n init.history.push(location, location.state);\n } else if (pendingAction === HistoryAction.Replace) {\n init.history.replace(location, location.state);\n }\n\n let viewTransitionOpts: ViewTransitionOpts | undefined;\n\n // On POP, enable transitions if they were enabled on the original navigation\n if (pendingAction === HistoryAction.Pop) {\n // Forward takes precedence so they behave like the original navigation\n let priorPaths = appliedViewTransitions.get(state.location.pathname);\n if (priorPaths && priorPaths.has(location.pathname)) {\n viewTransitionOpts = {\n currentLocation: state.location,\n nextLocation: location,\n };\n } else if (appliedViewTransitions.has(location.pathname)) {\n // If we don't have a previous forward nav, assume we're popping back to\n // the new location and enable if that location previously enabled\n viewTransitionOpts = {\n currentLocation: location,\n nextLocation: state.location,\n };\n }\n } else if (pendingViewTransitionEnabled) {\n // Store the applied transition on PUSH/REPLACE\n let toPaths = appliedViewTransitions.get(state.location.pathname);\n if (toPaths) {\n toPaths.add(location.pathname);\n } else {\n toPaths = new Set([location.pathname]);\n appliedViewTransitions.set(state.location.pathname, toPaths);\n }\n viewTransitionOpts = {\n currentLocation: state.location,\n nextLocation: location,\n };\n }\n\n updateState(\n {\n ...newState, // matches, errors, fetchers go through as-is\n actionData,\n loaderData,\n historyAction: pendingAction,\n location,\n initialized: true,\n navigation: IDLE_NAVIGATION,\n revalidation: \"idle\",\n restoreScrollPosition: getSavedScrollPosition(\n location,\n newState.matches || state.matches\n ),\n preventScrollReset,\n blockers,\n },\n viewTransitionOpts\n );\n\n // Reset stateful navigation vars\n pendingAction = HistoryAction.Pop;\n pendingPreventScrollReset = false;\n pendingViewTransitionEnabled = false;\n isUninterruptedRevalidation = false;\n isRevalidationRequired = false;\n cancelledDeferredRoutes = [];\n cancelledFetcherLoads = [];\n }\n\n // Trigger a navigation event, which can either be a numerical POP or a PUSH\n // replace with an optional submission\n async function navigate(\n to: number | To | null,\n opts?: RouterNavigateOptions\n ): Promise {\n if (typeof to === \"number\") {\n init.history.go(to);\n return;\n }\n\n let normalizedPath = normalizeTo(\n state.location,\n state.matches,\n basename,\n future.v7_prependBasename,\n to,\n opts?.fromRouteId,\n opts?.relative\n );\n let { path, submission, error } = normalizeNavigateOptions(\n future.v7_normalizeFormMethod,\n false,\n normalizedPath,\n opts\n );\n\n let currentLocation = state.location;\n let nextLocation = createLocation(state.location, path, opts && opts.state);\n\n // When using navigate as a PUSH/REPLACE we aren't reading an already-encoded\n // URL from window.location, so we need to encode it here so the behavior\n // remains the same as POP and non-data-router usages. new URL() does all\n // the same encoding we'd get from a history.pushState/window.location read\n // without having to touch history\n nextLocation = {\n ...nextLocation,\n ...init.history.encodeLocation(nextLocation),\n };\n\n let userReplace = opts && opts.replace != null ? opts.replace : undefined;\n\n let historyAction = HistoryAction.Push;\n\n if (userReplace === true) {\n historyAction = HistoryAction.Replace;\n } else if (userReplace === false) {\n // no-op\n } else if (\n submission != null &&\n isMutationMethod(submission.formMethod) &&\n submission.formAction === state.location.pathname + state.location.search\n ) {\n // By default on submissions to the current location we REPLACE so that\n // users don't have to double-click the back button to get to the prior\n // location. If the user redirects to a different location from the\n // action/loader this will be ignored and the redirect will be a PUSH\n historyAction = HistoryAction.Replace;\n }\n\n let preventScrollReset =\n opts && \"preventScrollReset\" in opts\n ? opts.preventScrollReset === true\n : undefined;\n\n let blockerKey = shouldBlockNavigation({\n currentLocation,\n nextLocation,\n historyAction,\n });\n\n if (blockerKey) {\n // Put the blocker into a blocked state\n updateBlocker(blockerKey, {\n state: \"blocked\",\n location: nextLocation,\n proceed() {\n updateBlocker(blockerKey!, {\n state: \"proceeding\",\n proceed: undefined,\n reset: undefined,\n location: nextLocation,\n });\n // Send the same navigation through\n navigate(to, opts);\n },\n reset() {\n let blockers = new Map(state.blockers);\n blockers.set(blockerKey!, IDLE_BLOCKER);\n updateState({ blockers });\n },\n });\n return;\n }\n\n return await startNavigation(historyAction, nextLocation, {\n submission,\n // Send through the formData serialization error if we have one so we can\n // render at the right error boundary after we match routes\n pendingError: error,\n preventScrollReset,\n replace: opts && opts.replace,\n enableViewTransition: opts && opts.unstable_viewTransition,\n });\n }\n\n // Revalidate all current loaders. If a navigation is in progress or if this\n // is interrupted by a navigation, allow this to \"succeed\" by calling all\n // loaders during the next loader round\n function revalidate() {\n interruptActiveLoads();\n updateState({ revalidation: \"loading\" });\n\n // If we're currently submitting an action, we don't need to start a new\n // navigation, we'll just let the follow up loader execution call all loaders\n if (state.navigation.state === \"submitting\") {\n return;\n }\n\n // If we're currently in an idle state, start a new navigation for the current\n // action/location and mark it as uninterrupted, which will skip the history\n // update in completeNavigation\n if (state.navigation.state === \"idle\") {\n startNavigation(state.historyAction, state.location, {\n startUninterruptedRevalidation: true,\n });\n return;\n }\n\n // Otherwise, if we're currently in a loading state, just start a new\n // navigation to the navigation.location but do not trigger an uninterrupted\n // revalidation so that history correctly updates once the navigation completes\n startNavigation(\n pendingAction || state.historyAction,\n state.navigation.location,\n { overrideNavigation: state.navigation }\n );\n }\n\n // Start a navigation to the given action/location. Can optionally provide a\n // overrideNavigation which will override the normalLoad in the case of a redirect\n // navigation\n async function startNavigation(\n historyAction: HistoryAction,\n location: Location,\n opts?: {\n submission?: Submission;\n fetcherSubmission?: Submission;\n overrideNavigation?: Navigation;\n pendingError?: ErrorResponseImpl;\n startUninterruptedRevalidation?: boolean;\n preventScrollReset?: boolean;\n replace?: boolean;\n enableViewTransition?: boolean;\n }\n ): Promise {\n // Abort any in-progress navigations and start a new one. Unset any ongoing\n // uninterrupted revalidations unless told otherwise, since we want this\n // new navigation to update history normally\n pendingNavigationController && pendingNavigationController.abort();\n pendingNavigationController = null;\n pendingAction = historyAction;\n isUninterruptedRevalidation =\n (opts && opts.startUninterruptedRevalidation) === true;\n\n // Save the current scroll position every time we start a new navigation,\n // and track whether we should reset scroll on completion\n saveScrollPosition(state.location, state.matches);\n pendingPreventScrollReset = (opts && opts.preventScrollReset) === true;\n\n pendingViewTransitionEnabled = (opts && opts.enableViewTransition) === true;\n\n let routesToUse = inFlightDataRoutes || dataRoutes;\n let loadingNavigation = opts && opts.overrideNavigation;\n let matches = matchRoutes(routesToUse, location, basename);\n\n // Short circuit with a 404 on the root error boundary if we match nothing\n if (!matches) {\n let error = getInternalRouterError(404, { pathname: location.pathname });\n let { matches: notFoundMatches, route } =\n getShortCircuitMatches(routesToUse);\n // Cancel all pending deferred on 404s since we don't keep any routes\n cancelActiveDeferreds();\n completeNavigation(location, {\n matches: notFoundMatches,\n loaderData: {},\n errors: {\n [route.id]: error,\n },\n });\n return;\n }\n\n // Short circuit if it's only a hash change and not a revalidation or\n // mutation submission.\n //\n // Ignore on initial page loads because since the initial load will always\n // be \"same hash\". For example, on /page#hash and submit a \n // which will default to a navigation to /page\n if (\n state.initialized &&\n !isRevalidationRequired &&\n isHashChangeOnly(state.location, location) &&\n !(opts && opts.submission && isMutationMethod(opts.submission.formMethod))\n ) {\n completeNavigation(location, { matches });\n return;\n }\n\n // Create a controller/Request for this navigation\n pendingNavigationController = new AbortController();\n let request = createClientSideRequest(\n init.history,\n location,\n pendingNavigationController.signal,\n opts && opts.submission\n );\n let pendingActionData: RouteData | undefined;\n let pendingError: RouteData | undefined;\n\n if (opts && opts.pendingError) {\n // If we have a pendingError, it means the user attempted a GET submission\n // with binary FormData so assign here and skip to handleLoaders. That\n // way we handle calling loaders above the boundary etc. It's not really\n // different from an actionError in that sense.\n pendingError = {\n [findNearestBoundary(matches).route.id]: opts.pendingError,\n };\n } else if (\n opts &&\n opts.submission &&\n isMutationMethod(opts.submission.formMethod)\n ) {\n // Call action if we received an action submission\n let actionOutput = await handleAction(\n request,\n location,\n opts.submission,\n matches,\n { replace: opts.replace }\n );\n\n if (actionOutput.shortCircuited) {\n return;\n }\n\n pendingActionData = actionOutput.pendingActionData;\n pendingError = actionOutput.pendingActionError;\n loadingNavigation = getLoadingNavigation(location, opts.submission);\n\n // Create a GET request for the loaders\n request = new Request(request.url, { signal: request.signal });\n }\n\n // Call loaders\n let { shortCircuited, loaderData, errors } = await handleLoaders(\n request,\n location,\n matches,\n loadingNavigation,\n opts && opts.submission,\n opts && opts.fetcherSubmission,\n opts && opts.replace,\n pendingActionData,\n pendingError\n );\n\n if (shortCircuited) {\n return;\n }\n\n // Clean up now that the action/loaders have completed. Don't clean up if\n // we short circuited because pendingNavigationController will have already\n // been assigned to a new controller for the next navigation\n pendingNavigationController = null;\n\n completeNavigation(location, {\n matches,\n ...(pendingActionData ? { actionData: pendingActionData } : {}),\n loaderData,\n errors,\n });\n }\n\n // Call the action matched by the leaf route for this navigation and handle\n // redirects/errors\n async function handleAction(\n request: Request,\n location: Location,\n submission: Submission,\n matches: AgnosticDataRouteMatch[],\n opts: { replace?: boolean } = {}\n ): Promise {\n interruptActiveLoads();\n\n // Put us in a submitting state\n let navigation = getSubmittingNavigation(location, submission);\n updateState({ navigation });\n\n // Call our action and get the result\n let result: DataResult;\n let actionMatch = getTargetMatch(matches, location);\n\n if (!actionMatch.route.action && !actionMatch.route.lazy) {\n result = {\n type: ResultType.error,\n error: getInternalRouterError(405, {\n method: request.method,\n pathname: location.pathname,\n routeId: actionMatch.route.id,\n }),\n };\n } else {\n result = await callLoaderOrAction(\n \"action\",\n request,\n actionMatch,\n matches,\n manifest,\n mapRouteProperties,\n basename\n );\n\n if (request.signal.aborted) {\n return { shortCircuited: true };\n }\n }\n\n if (isRedirectResult(result)) {\n let replace: boolean;\n if (opts && opts.replace != null) {\n replace = opts.replace;\n } else {\n // If the user didn't explicity indicate replace behavior, replace if\n // we redirected to the exact same location we're currently at to avoid\n // double back-buttons\n replace =\n result.location === state.location.pathname + state.location.search;\n }\n await startRedirectNavigation(state, result, { submission, replace });\n return { shortCircuited: true };\n }\n\n if (isErrorResult(result)) {\n // Store off the pending error - we use it to determine which loaders\n // to call and will commit it when we complete the navigation\n let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id);\n\n // By default, all submissions are REPLACE navigations, but if the\n // action threw an error that'll be rendered in an errorElement, we fall\n // back to PUSH so that the user can use the back button to get back to\n // the pre-submission form location to try again\n if ((opts && opts.replace) !== true) {\n pendingAction = HistoryAction.Push;\n }\n\n return {\n // Send back an empty object we can use to clear out any prior actionData\n pendingActionData: {},\n pendingActionError: { [boundaryMatch.route.id]: result.error },\n };\n }\n\n if (isDeferredResult(result)) {\n throw getInternalRouterError(400, { type: \"defer-action\" });\n }\n\n return {\n pendingActionData: { [actionMatch.route.id]: result.data },\n };\n }\n\n // Call all applicable loaders for the given matches, handling redirects,\n // errors, etc.\n async function handleLoaders(\n request: Request,\n location: Location,\n matches: AgnosticDataRouteMatch[],\n overrideNavigation?: Navigation,\n submission?: Submission,\n fetcherSubmission?: Submission,\n replace?: boolean,\n pendingActionData?: RouteData,\n pendingError?: RouteData\n ): Promise {\n // Figure out the right navigation we want to use for data loading\n let loadingNavigation =\n overrideNavigation || getLoadingNavigation(location, submission);\n\n // If this was a redirect from an action we don't have a \"submission\" but\n // we have it on the loading navigation so use that if available\n let activeSubmission =\n submission ||\n fetcherSubmission ||\n getSubmissionFromNavigation(loadingNavigation);\n\n let routesToUse = inFlightDataRoutes || dataRoutes;\n let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(\n init.history,\n state,\n matches,\n activeSubmission,\n location,\n isRevalidationRequired,\n cancelledDeferredRoutes,\n cancelledFetcherLoads,\n fetchLoadMatches,\n fetchRedirectIds,\n routesToUse,\n basename,\n pendingActionData,\n pendingError\n );\n\n // Cancel pending deferreds for no-longer-matched routes or routes we're\n // about to reload. Note that if this is an action reload we would have\n // already cancelled all pending deferreds so this would be a no-op\n cancelActiveDeferreds(\n (routeId) =>\n !(matches && matches.some((m) => m.route.id === routeId)) ||\n (matchesToLoad && matchesToLoad.some((m) => m.route.id === routeId))\n );\n\n pendingNavigationLoadId = ++incrementingLoadId;\n\n // Short circuit if we have no loaders to run\n if (matchesToLoad.length === 0 && revalidatingFetchers.length === 0) {\n let updatedFetchers = markFetchRedirectsDone();\n completeNavigation(location, {\n matches,\n loaderData: {},\n // Commit pending error if we're short circuiting\n errors: pendingError || null,\n ...(pendingActionData ? { actionData: pendingActionData } : {}),\n ...(updatedFetchers ? { fetchers: new Map(state.fetchers) } : {}),\n });\n return { shortCircuited: true };\n }\n\n // If this is an uninterrupted revalidation, we remain in our current idle\n // state. If not, we need to switch to our loading state and load data,\n // preserving any new action data or existing action data (in the case of\n // a revalidation interrupting an actionReload)\n if (!isUninterruptedRevalidation) {\n revalidatingFetchers.forEach((rf) => {\n let fetcher = state.fetchers.get(rf.key);\n let revalidatingFetcher = getLoadingFetcher(\n undefined,\n fetcher ? fetcher.data : undefined\n );\n state.fetchers.set(rf.key, revalidatingFetcher);\n });\n let actionData = pendingActionData || state.actionData;\n updateState({\n navigation: loadingNavigation,\n ...(actionData\n ? Object.keys(actionData).length === 0\n ? { actionData: null }\n : { actionData }\n : {}),\n ...(revalidatingFetchers.length > 0\n ? { fetchers: new Map(state.fetchers) }\n : {}),\n });\n }\n\n revalidatingFetchers.forEach((rf) => {\n if (fetchControllers.has(rf.key)) {\n abortFetcher(rf.key);\n }\n if (rf.controller) {\n // Fetchers use an independent AbortController so that aborting a fetcher\n // (via deleteFetcher) does not abort the triggering navigation that\n // triggered the revalidation\n fetchControllers.set(rf.key, rf.controller);\n }\n });\n\n // Proxy navigation abort through to revalidation fetchers\n let abortPendingFetchRevalidations = () =>\n revalidatingFetchers.forEach((f) => abortFetcher(f.key));\n if (pendingNavigationController) {\n pendingNavigationController.signal.addEventListener(\n \"abort\",\n abortPendingFetchRevalidations\n );\n }\n\n let { results, loaderResults, fetcherResults } =\n await callLoadersAndMaybeResolveData(\n state.matches,\n matches,\n matchesToLoad,\n revalidatingFetchers,\n request\n );\n\n if (request.signal.aborted) {\n return { shortCircuited: true };\n }\n\n // Clean up _after_ loaders have completed. Don't clean up if we short\n // circuited because fetchControllers would have been aborted and\n // reassigned to new controllers for the next navigation\n if (pendingNavigationController) {\n pendingNavigationController.signal.removeEventListener(\n \"abort\",\n abortPendingFetchRevalidations\n );\n }\n revalidatingFetchers.forEach((rf) => fetchControllers.delete(rf.key));\n\n // If any loaders returned a redirect Response, start a new REPLACE navigation\n let redirect = findRedirect(results);\n if (redirect) {\n if (redirect.idx >= matchesToLoad.length) {\n // If this redirect came from a fetcher make sure we mark it in\n // fetchRedirectIds so it doesn't get revalidated on the next set of\n // loader executions\n let fetcherKey =\n revalidatingFetchers[redirect.idx - matchesToLoad.length].key;\n fetchRedirectIds.add(fetcherKey);\n }\n await startRedirectNavigation(state, redirect.result, { replace });\n return { shortCircuited: true };\n }\n\n // Process and commit output from loaders\n let { loaderData, errors } = processLoaderData(\n state,\n matches,\n matchesToLoad,\n loaderResults,\n pendingError,\n revalidatingFetchers,\n fetcherResults,\n activeDeferreds\n );\n\n // Wire up subscribers to update loaderData as promises settle\n activeDeferreds.forEach((deferredData, routeId) => {\n deferredData.subscribe((aborted) => {\n // Note: No need to updateState here since the TrackedPromise on\n // loaderData is stable across resolve/reject\n // Remove this instance if we were aborted or if promises have settled\n if (aborted || deferredData.done) {\n activeDeferreds.delete(routeId);\n }\n });\n });\n\n let updatedFetchers = markFetchRedirectsDone();\n let didAbortFetchLoads = abortStaleFetchLoads(pendingNavigationLoadId);\n let shouldUpdateFetchers =\n updatedFetchers || didAbortFetchLoads || revalidatingFetchers.length > 0;\n\n return {\n loaderData,\n errors,\n ...(shouldUpdateFetchers ? { fetchers: new Map(state.fetchers) } : {}),\n };\n }\n\n function getFetcher(key: string): Fetcher {\n return state.fetchers.get(key) || IDLE_FETCHER;\n }\n\n // Trigger a fetcher load/submit for the given fetcher key\n function fetch(\n key: string,\n routeId: string,\n href: string | null,\n opts?: RouterFetchOptions\n ) {\n if (isServer) {\n throw new Error(\n \"router.fetch() was called during the server render, but it shouldn't be. \" +\n \"You are likely calling a useFetcher() method in the body of your component. \" +\n \"Try moving it to a useEffect or a callback.\"\n );\n }\n\n if (fetchControllers.has(key)) abortFetcher(key);\n\n let routesToUse = inFlightDataRoutes || dataRoutes;\n let normalizedPath = normalizeTo(\n state.location,\n state.matches,\n basename,\n future.v7_prependBasename,\n href,\n routeId,\n opts?.relative\n );\n let matches = matchRoutes(routesToUse, normalizedPath, basename);\n\n if (!matches) {\n setFetcherError(\n key,\n routeId,\n getInternalRouterError(404, { pathname: normalizedPath })\n );\n return;\n }\n\n let { path, submission, error } = normalizeNavigateOptions(\n future.v7_normalizeFormMethod,\n true,\n normalizedPath,\n opts\n );\n\n if (error) {\n setFetcherError(key, routeId, error);\n return;\n }\n\n let match = getTargetMatch(matches, path);\n\n pendingPreventScrollReset = (opts && opts.preventScrollReset) === true;\n\n if (submission && isMutationMethod(submission.formMethod)) {\n handleFetcherAction(key, routeId, path, match, matches, submission);\n return;\n }\n\n // Store off the match so we can call it's shouldRevalidate on subsequent\n // revalidations\n fetchLoadMatches.set(key, { routeId, path });\n handleFetcherLoader(key, routeId, path, match, matches, submission);\n }\n\n // Call the action for the matched fetcher.submit(), and then handle redirects,\n // errors, and revalidation\n async function handleFetcherAction(\n key: string,\n routeId: string,\n path: string,\n match: AgnosticDataRouteMatch,\n requestMatches: AgnosticDataRouteMatch[],\n submission: Submission\n ) {\n interruptActiveLoads();\n fetchLoadMatches.delete(key);\n\n if (!match.route.action && !match.route.lazy) {\n let error = getInternalRouterError(405, {\n method: submission.formMethod,\n pathname: path,\n routeId: routeId,\n });\n setFetcherError(key, routeId, error);\n return;\n }\n\n // Put this fetcher into it's submitting state\n let existingFetcher = state.fetchers.get(key);\n let fetcher = getSubmittingFetcher(submission, existingFetcher);\n state.fetchers.set(key, fetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n\n // Call the action for the fetcher\n let abortController = new AbortController();\n let fetchRequest = createClientSideRequest(\n init.history,\n path,\n abortController.signal,\n submission\n );\n fetchControllers.set(key, abortController);\n\n let originatingLoadId = incrementingLoadId;\n let actionResult = await callLoaderOrAction(\n \"action\",\n fetchRequest,\n match,\n requestMatches,\n manifest,\n mapRouteProperties,\n basename\n );\n\n if (fetchRequest.signal.aborted) {\n // We can delete this so long as we weren't aborted by ou our own fetcher\n // re-submit which would have put _new_ controller is in fetchControllers\n if (fetchControllers.get(key) === abortController) {\n fetchControllers.delete(key);\n }\n return;\n }\n\n if (isRedirectResult(actionResult)) {\n fetchControllers.delete(key);\n if (pendingNavigationLoadId > originatingLoadId) {\n // A new navigation was kicked off after our action started, so that\n // should take precedence over this redirect navigation. We already\n // set isRevalidationRequired so all loaders for the new route should\n // fire unless opted out via shouldRevalidate\n let doneFetcher = getDoneFetcher(undefined);\n state.fetchers.set(key, doneFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n return;\n } else {\n fetchRedirectIds.add(key);\n let loadingFetcher = getLoadingFetcher(submission);\n state.fetchers.set(key, loadingFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n\n return startRedirectNavigation(state, actionResult, {\n fetcherSubmission: submission,\n });\n }\n }\n\n // Process any non-redirect errors thrown\n if (isErrorResult(actionResult)) {\n setFetcherError(key, routeId, actionResult.error);\n return;\n }\n\n if (isDeferredResult(actionResult)) {\n throw getInternalRouterError(400, { type: \"defer-action\" });\n }\n\n // Start the data load for current matches, or the next location if we're\n // in the middle of a navigation\n let nextLocation = state.navigation.location || state.location;\n let revalidationRequest = createClientSideRequest(\n init.history,\n nextLocation,\n abortController.signal\n );\n let routesToUse = inFlightDataRoutes || dataRoutes;\n let matches =\n state.navigation.state !== \"idle\"\n ? matchRoutes(routesToUse, state.navigation.location, basename)\n : state.matches;\n\n invariant(matches, \"Didn't find any matches after fetcher action\");\n\n let loadId = ++incrementingLoadId;\n fetchReloadIds.set(key, loadId);\n\n let loadFetcher = getLoadingFetcher(submission, actionResult.data);\n state.fetchers.set(key, loadFetcher);\n\n let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(\n init.history,\n state,\n matches,\n submission,\n nextLocation,\n isRevalidationRequired,\n cancelledDeferredRoutes,\n cancelledFetcherLoads,\n fetchLoadMatches,\n fetchRedirectIds,\n routesToUse,\n basename,\n { [match.route.id]: actionResult.data },\n undefined // No need to send through errors since we short circuit above\n );\n\n // Put all revalidating fetchers into the loading state, except for the\n // current fetcher which we want to keep in it's current loading state which\n // contains it's action submission info + action data\n revalidatingFetchers\n .filter((rf) => rf.key !== key)\n .forEach((rf) => {\n let staleKey = rf.key;\n let existingFetcher = state.fetchers.get(staleKey);\n let revalidatingFetcher = getLoadingFetcher(\n undefined,\n existingFetcher ? existingFetcher.data : undefined\n );\n state.fetchers.set(staleKey, revalidatingFetcher);\n if (fetchControllers.has(staleKey)) {\n abortFetcher(staleKey);\n }\n if (rf.controller) {\n fetchControllers.set(staleKey, rf.controller);\n }\n });\n\n updateState({ fetchers: new Map(state.fetchers) });\n\n let abortPendingFetchRevalidations = () =>\n revalidatingFetchers.forEach((rf) => abortFetcher(rf.key));\n\n abortController.signal.addEventListener(\n \"abort\",\n abortPendingFetchRevalidations\n );\n\n let { results, loaderResults, fetcherResults } =\n await callLoadersAndMaybeResolveData(\n state.matches,\n matches,\n matchesToLoad,\n revalidatingFetchers,\n revalidationRequest\n );\n\n if (abortController.signal.aborted) {\n return;\n }\n\n abortController.signal.removeEventListener(\n \"abort\",\n abortPendingFetchRevalidations\n );\n\n fetchReloadIds.delete(key);\n fetchControllers.delete(key);\n revalidatingFetchers.forEach((r) => fetchControllers.delete(r.key));\n\n let redirect = findRedirect(results);\n if (redirect) {\n if (redirect.idx >= matchesToLoad.length) {\n // If this redirect came from a fetcher make sure we mark it in\n // fetchRedirectIds so it doesn't get revalidated on the next set of\n // loader executions\n let fetcherKey =\n revalidatingFetchers[redirect.idx - matchesToLoad.length].key;\n fetchRedirectIds.add(fetcherKey);\n }\n return startRedirectNavigation(state, redirect.result);\n }\n\n // Process and commit output from loaders\n let { loaderData, errors } = processLoaderData(\n state,\n state.matches,\n matchesToLoad,\n loaderResults,\n undefined,\n revalidatingFetchers,\n fetcherResults,\n activeDeferreds\n );\n\n // Since we let revalidations complete even if the submitting fetcher was\n // deleted, only put it back to idle if it hasn't been deleted\n if (state.fetchers.has(key)) {\n let doneFetcher = getDoneFetcher(actionResult.data);\n state.fetchers.set(key, doneFetcher);\n }\n\n let didAbortFetchLoads = abortStaleFetchLoads(loadId);\n\n // If we are currently in a navigation loading state and this fetcher is\n // more recent than the navigation, we want the newer data so abort the\n // navigation and complete it with the fetcher data\n if (\n state.navigation.state === \"loading\" &&\n loadId > pendingNavigationLoadId\n ) {\n invariant(pendingAction, \"Expected pending action\");\n pendingNavigationController && pendingNavigationController.abort();\n\n completeNavigation(state.navigation.location, {\n matches,\n loaderData,\n errors,\n fetchers: new Map(state.fetchers),\n });\n } else {\n // otherwise just update with the fetcher data, preserving any existing\n // loaderData for loaders that did not need to reload. We have to\n // manually merge here since we aren't going through completeNavigation\n updateState({\n errors,\n loaderData: mergeLoaderData(\n state.loaderData,\n loaderData,\n matches,\n errors\n ),\n ...(didAbortFetchLoads || revalidatingFetchers.length > 0\n ? { fetchers: new Map(state.fetchers) }\n : {}),\n });\n isRevalidationRequired = false;\n }\n }\n\n // Call the matched loader for fetcher.load(), handling redirects, errors, etc.\n async function handleFetcherLoader(\n key: string,\n routeId: string,\n path: string,\n match: AgnosticDataRouteMatch,\n matches: AgnosticDataRouteMatch[],\n submission?: Submission\n ) {\n let existingFetcher = state.fetchers.get(key);\n // Put this fetcher into it's loading state\n let loadingFetcher = getLoadingFetcher(\n submission,\n existingFetcher ? existingFetcher.data : undefined\n );\n state.fetchers.set(key, loadingFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n\n // Call the loader for this fetcher route match\n let abortController = new AbortController();\n let fetchRequest = createClientSideRequest(\n init.history,\n path,\n abortController.signal\n );\n fetchControllers.set(key, abortController);\n\n let originatingLoadId = incrementingLoadId;\n let result: DataResult = await callLoaderOrAction(\n \"loader\",\n fetchRequest,\n match,\n matches,\n manifest,\n mapRouteProperties,\n basename\n );\n\n // Deferred isn't supported for fetcher loads, await everything and treat it\n // as a normal load. resolveDeferredData will return undefined if this\n // fetcher gets aborted, so we just leave result untouched and short circuit\n // below if that happens\n if (isDeferredResult(result)) {\n result =\n (await resolveDeferredData(result, fetchRequest.signal, true)) ||\n result;\n }\n\n // We can delete this so long as we weren't aborted by our our own fetcher\n // re-load which would have put _new_ controller is in fetchControllers\n if (fetchControllers.get(key) === abortController) {\n fetchControllers.delete(key);\n }\n\n if (fetchRequest.signal.aborted) {\n return;\n }\n\n // If the loader threw a redirect Response, start a new REPLACE navigation\n if (isRedirectResult(result)) {\n if (pendingNavigationLoadId > originatingLoadId) {\n // A new navigation was kicked off after our loader started, so that\n // should take precedence over this redirect navigation\n let doneFetcher = getDoneFetcher(undefined);\n state.fetchers.set(key, doneFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n return;\n } else {\n fetchRedirectIds.add(key);\n await startRedirectNavigation(state, result);\n return;\n }\n }\n\n // Process any non-redirect errors thrown\n if (isErrorResult(result)) {\n let boundaryMatch = findNearestBoundary(state.matches, routeId);\n state.fetchers.delete(key);\n // TODO: In remix, this would reset to IDLE_NAVIGATION if it was a catch -\n // do we need to behave any differently with our non-redirect errors?\n // What if it was a non-redirect Response?\n updateState({\n fetchers: new Map(state.fetchers),\n errors: {\n [boundaryMatch.route.id]: result.error,\n },\n });\n return;\n }\n\n invariant(!isDeferredResult(result), \"Unhandled fetcher deferred data\");\n\n // Put the fetcher back into an idle state\n let doneFetcher = getDoneFetcher(result.data);\n state.fetchers.set(key, doneFetcher);\n updateState({ fetchers: new Map(state.fetchers) });\n }\n\n /**\n * Utility function to handle redirects returned from an action or loader.\n * Normally, a redirect \"replaces\" the navigation that triggered it. So, for\n * example:\n *\n * - user is on /a\n * - user clicks a link to /b\n * - loader for /b redirects to /c\n *\n * In a non-JS app the browser would track the in-flight navigation to /b and\n * then replace it with /c when it encountered the redirect response. In\n * the end it would only ever update the URL bar with /c.\n *\n * In client-side routing using pushState/replaceState, we aim to emulate\n * this behavior and we also do not update history until the end of the\n * navigation (including processed redirects). This means that we never\n * actually touch history until we've processed redirects, so we just use\n * the history action from the original navigation (PUSH or REPLACE).\n */\n async function startRedirectNavigation(\n state: RouterState,\n redirect: RedirectResult,\n {\n submission,\n fetcherSubmission,\n replace,\n }: {\n submission?: Submission;\n fetcherSubmission?: Submission;\n replace?: boolean;\n } = {}\n ) {\n if (redirect.revalidate) {\n isRevalidationRequired = true;\n }\n\n let redirectLocation = createLocation(state.location, redirect.location, {\n _isRedirect: true,\n });\n invariant(\n redirectLocation,\n \"Expected a location on the redirect navigation\"\n );\n\n if (isBrowser) {\n let isDocumentReload = false;\n\n if (redirect.reloadDocument) {\n // Hard reload if the response contained X-Remix-Reload-Document\n isDocumentReload = true;\n } else if (ABSOLUTE_URL_REGEX.test(redirect.location)) {\n const url = init.history.createURL(redirect.location);\n isDocumentReload =\n // Hard reload if it's an absolute URL to a new origin\n url.origin !== routerWindow.location.origin ||\n // Hard reload if it's an absolute URL that does not match our basename\n stripBasename(url.pathname, basename) == null;\n }\n\n if (isDocumentReload) {\n if (replace) {\n routerWindow.location.replace(redirect.location);\n } else {\n routerWindow.location.assign(redirect.location);\n }\n return;\n }\n }\n\n // There's no need to abort on redirects, since we don't detect the\n // redirect until the action/loaders have settled\n pendingNavigationController = null;\n\n let redirectHistoryAction =\n replace === true ? HistoryAction.Replace : HistoryAction.Push;\n\n // Use the incoming submission if provided, fallback on the active one in\n // state.navigation\n let { formMethod, formAction, formEncType } = state.navigation;\n if (\n !submission &&\n !fetcherSubmission &&\n formMethod &&\n formAction &&\n formEncType\n ) {\n submission = getSubmissionFromNavigation(state.navigation);\n }\n\n // If this was a 307/308 submission we want to preserve the HTTP method and\n // re-submit the GET/POST/PUT/PATCH/DELETE as a submission navigation to the\n // redirected location\n let activeSubmission = submission || fetcherSubmission;\n if (\n redirectPreserveMethodStatusCodes.has(redirect.status) &&\n activeSubmission &&\n isMutationMethod(activeSubmission.formMethod)\n ) {\n await startNavigation(redirectHistoryAction, redirectLocation, {\n submission: {\n ...activeSubmission,\n formAction: redirect.location,\n },\n // Preserve this flag across redirects\n preventScrollReset: pendingPreventScrollReset,\n });\n } else {\n // If we have a navigation submission, we will preserve it through the\n // redirect navigation\n let overrideNavigation = getLoadingNavigation(\n redirectLocation,\n submission\n );\n await startNavigation(redirectHistoryAction, redirectLocation, {\n overrideNavigation,\n // Send fetcher submissions through for shouldRevalidate\n fetcherSubmission,\n // Preserve this flag across redirects\n preventScrollReset: pendingPreventScrollReset,\n });\n }\n }\n\n async function callLoadersAndMaybeResolveData(\n currentMatches: AgnosticDataRouteMatch[],\n matches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n fetchersToLoad: RevalidatingFetcher[],\n request: Request\n ) {\n // Call all navigation loaders and revalidating fetcher loaders in parallel,\n // then slice off the results into separate arrays so we can handle them\n // accordingly\n let results = await Promise.all([\n ...matchesToLoad.map((match) =>\n callLoaderOrAction(\n \"loader\",\n request,\n match,\n matches,\n manifest,\n mapRouteProperties,\n basename\n )\n ),\n ...fetchersToLoad.map((f) => {\n if (f.matches && f.match && f.controller) {\n return callLoaderOrAction(\n \"loader\",\n createClientSideRequest(init.history, f.path, f.controller.signal),\n f.match,\n f.matches,\n manifest,\n mapRouteProperties,\n basename\n );\n } else {\n let error: ErrorResult = {\n type: ResultType.error,\n error: getInternalRouterError(404, { pathname: f.path }),\n };\n return error;\n }\n }),\n ]);\n let loaderResults = results.slice(0, matchesToLoad.length);\n let fetcherResults = results.slice(matchesToLoad.length);\n\n await Promise.all([\n resolveDeferredResults(\n currentMatches,\n matchesToLoad,\n loaderResults,\n loaderResults.map(() => request.signal),\n false,\n state.loaderData\n ),\n resolveDeferredResults(\n currentMatches,\n fetchersToLoad.map((f) => f.match),\n fetcherResults,\n fetchersToLoad.map((f) => (f.controller ? f.controller.signal : null)),\n true\n ),\n ]);\n\n return { results, loaderResults, fetcherResults };\n }\n\n function interruptActiveLoads() {\n // Every interruption triggers a revalidation\n isRevalidationRequired = true;\n\n // Cancel pending route-level deferreds and mark cancelled routes for\n // revalidation\n cancelledDeferredRoutes.push(...cancelActiveDeferreds());\n\n // Abort in-flight fetcher loads\n fetchLoadMatches.forEach((_, key) => {\n if (fetchControllers.has(key)) {\n cancelledFetcherLoads.push(key);\n abortFetcher(key);\n }\n });\n }\n\n function setFetcherError(key: string, routeId: string, error: any) {\n let boundaryMatch = findNearestBoundary(state.matches, routeId);\n deleteFetcher(key);\n updateState({\n errors: {\n [boundaryMatch.route.id]: error,\n },\n fetchers: new Map(state.fetchers),\n });\n }\n\n function deleteFetcher(key: string): void {\n let fetcher = state.fetchers.get(key);\n // Don't abort the controller if this is a deletion of a fetcher.submit()\n // in it's loading phase since - we don't want to abort the corresponding\n // revalidation and want them to complete and land\n if (\n fetchControllers.has(key) &&\n !(fetcher && fetcher.state === \"loading\" && fetchReloadIds.has(key))\n ) {\n abortFetcher(key);\n }\n fetchLoadMatches.delete(key);\n fetchReloadIds.delete(key);\n fetchRedirectIds.delete(key);\n state.fetchers.delete(key);\n }\n\n function abortFetcher(key: string) {\n let controller = fetchControllers.get(key);\n invariant(controller, `Expected fetch controller: ${key}`);\n controller.abort();\n fetchControllers.delete(key);\n }\n\n function markFetchersDone(keys: string[]) {\n for (let key of keys) {\n let fetcher = getFetcher(key);\n let doneFetcher = getDoneFetcher(fetcher.data);\n state.fetchers.set(key, doneFetcher);\n }\n }\n\n function markFetchRedirectsDone(): boolean {\n let doneKeys = [];\n let updatedFetchers = false;\n for (let key of fetchRedirectIds) {\n let fetcher = state.fetchers.get(key);\n invariant(fetcher, `Expected fetcher: ${key}`);\n if (fetcher.state === \"loading\") {\n fetchRedirectIds.delete(key);\n doneKeys.push(key);\n updatedFetchers = true;\n }\n }\n markFetchersDone(doneKeys);\n return updatedFetchers;\n }\n\n function abortStaleFetchLoads(landedId: number): boolean {\n let yeetedKeys = [];\n for (let [key, id] of fetchReloadIds) {\n if (id < landedId) {\n let fetcher = state.fetchers.get(key);\n invariant(fetcher, `Expected fetcher: ${key}`);\n if (fetcher.state === \"loading\") {\n abortFetcher(key);\n fetchReloadIds.delete(key);\n yeetedKeys.push(key);\n }\n }\n }\n markFetchersDone(yeetedKeys);\n return yeetedKeys.length > 0;\n }\n\n function getBlocker(key: string, fn: BlockerFunction) {\n let blocker: Blocker = state.blockers.get(key) || IDLE_BLOCKER;\n\n if (blockerFunctions.get(key) !== fn) {\n blockerFunctions.set(key, fn);\n }\n\n return blocker;\n }\n\n function deleteBlocker(key: string) {\n state.blockers.delete(key);\n blockerFunctions.delete(key);\n }\n\n // Utility function to update blockers, ensuring valid state transitions\n function updateBlocker(key: string, newBlocker: Blocker) {\n let blocker = state.blockers.get(key) || IDLE_BLOCKER;\n\n // Poor mans state machine :)\n // https://mermaid.live/edit#pako:eNqVkc9OwzAMxl8l8nnjAYrEtDIOHEBIgwvKJTReGy3_lDpIqO27k6awMG0XcrLlnz87nwdonESogKXXBuE79rq75XZO3-yHds0RJVuv70YrPlUrCEe2HfrORS3rubqZfuhtpg5C9wk5tZ4VKcRUq88q9Z8RS0-48cE1iHJkL0ugbHuFLus9L6spZy8nX9MP2CNdomVaposqu3fGayT8T8-jJQwhepo_UtpgBQaDEUom04dZhAN1aJBDlUKJBxE1ceB2Smj0Mln-IBW5AFU2dwUiktt_2Qaq2dBfaKdEup85UV7Yd-dKjlnkabl2Pvr0DTkTreM\n invariant(\n (blocker.state === \"unblocked\" && newBlocker.state === \"blocked\") ||\n (blocker.state === \"blocked\" && newBlocker.state === \"blocked\") ||\n (blocker.state === \"blocked\" && newBlocker.state === \"proceeding\") ||\n (blocker.state === \"blocked\" && newBlocker.state === \"unblocked\") ||\n (blocker.state === \"proceeding\" && newBlocker.state === \"unblocked\"),\n `Invalid blocker state transition: ${blocker.state} -> ${newBlocker.state}`\n );\n\n let blockers = new Map(state.blockers);\n blockers.set(key, newBlocker);\n updateState({ blockers });\n }\n\n function shouldBlockNavigation({\n currentLocation,\n nextLocation,\n historyAction,\n }: {\n currentLocation: Location;\n nextLocation: Location;\n historyAction: HistoryAction;\n }): string | undefined {\n if (blockerFunctions.size === 0) {\n return;\n }\n\n // We ony support a single active blocker at the moment since we don't have\n // any compelling use cases for multi-blocker yet\n if (blockerFunctions.size > 1) {\n warning(false, \"A router only supports one blocker at a time\");\n }\n\n let entries = Array.from(blockerFunctions.entries());\n let [blockerKey, blockerFunction] = entries[entries.length - 1];\n let blocker = state.blockers.get(blockerKey);\n\n if (blocker && blocker.state === \"proceeding\") {\n // If the blocker is currently proceeding, we don't need to re-check\n // it and can let this navigation continue\n return;\n }\n\n // At this point, we know we're unblocked/blocked so we need to check the\n // user-provided blocker function\n if (blockerFunction({ currentLocation, nextLocation, historyAction })) {\n return blockerKey;\n }\n }\n\n function cancelActiveDeferreds(\n predicate?: (routeId: string) => boolean\n ): string[] {\n let cancelledRouteIds: string[] = [];\n activeDeferreds.forEach((dfd, routeId) => {\n if (!predicate || predicate(routeId)) {\n // Cancel the deferred - but do not remove from activeDeferreds here -\n // we rely on the subscribers to do that so our tests can assert proper\n // cleanup via _internalActiveDeferreds\n dfd.cancel();\n cancelledRouteIds.push(routeId);\n activeDeferreds.delete(routeId);\n }\n });\n return cancelledRouteIds;\n }\n\n // Opt in to capturing and reporting scroll positions during navigations,\n // used by the component\n function enableScrollRestoration(\n positions: Record,\n getPosition: GetScrollPositionFunction,\n getKey?: GetScrollRestorationKeyFunction\n ) {\n savedScrollPositions = positions;\n getScrollPosition = getPosition;\n getScrollRestorationKey = getKey || null;\n\n // Perform initial hydration scroll restoration, since we miss the boat on\n // the initial updateState() because we've not yet rendered \n // and therefore have no savedScrollPositions available\n if (!initialScrollRestored && state.navigation === IDLE_NAVIGATION) {\n initialScrollRestored = true;\n let y = getSavedScrollPosition(state.location, state.matches);\n if (y != null) {\n updateState({ restoreScrollPosition: y });\n }\n }\n\n return () => {\n savedScrollPositions = null;\n getScrollPosition = null;\n getScrollRestorationKey = null;\n };\n }\n\n function getScrollKey(location: Location, matches: AgnosticDataRouteMatch[]) {\n if (getScrollRestorationKey) {\n let key = getScrollRestorationKey(\n location,\n matches.map((m) => convertRouteMatchToUiMatch(m, state.loaderData))\n );\n return key || location.key;\n }\n return location.key;\n }\n\n function saveScrollPosition(\n location: Location,\n matches: AgnosticDataRouteMatch[]\n ): void {\n if (savedScrollPositions && getScrollPosition) {\n let key = getScrollKey(location, matches);\n savedScrollPositions[key] = getScrollPosition();\n }\n }\n\n function getSavedScrollPosition(\n location: Location,\n matches: AgnosticDataRouteMatch[]\n ): number | null {\n if (savedScrollPositions) {\n let key = getScrollKey(location, matches);\n let y = savedScrollPositions[key];\n if (typeof y === \"number\") {\n return y;\n }\n }\n return null;\n }\n\n function _internalSetRoutes(newRoutes: AgnosticDataRouteObject[]) {\n manifest = {};\n inFlightDataRoutes = convertRoutesToDataRoutes(\n newRoutes,\n mapRouteProperties,\n undefined,\n manifest\n );\n }\n\n router = {\n get basename() {\n return basename;\n },\n get state() {\n return state;\n },\n get routes() {\n return dataRoutes;\n },\n get window() {\n return routerWindow;\n },\n initialize,\n subscribe,\n enableScrollRestoration,\n navigate,\n fetch,\n revalidate,\n // Passthrough to history-aware createHref used by useHref so we get proper\n // hash-aware URLs in DOM paths\n createHref: (to: To) => init.history.createHref(to),\n encodeLocation: (to: To) => init.history.encodeLocation(to),\n getFetcher,\n deleteFetcher,\n dispose,\n getBlocker,\n deleteBlocker,\n _internalFetchControllers: fetchControllers,\n _internalActiveDeferreds: activeDeferreds,\n // TODO: Remove setRoutes, it's temporary to avoid dealing with\n // updating the tree while validating the update algorithm.\n _internalSetRoutes,\n };\n\n return router;\n}\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region createStaticHandler\n////////////////////////////////////////////////////////////////////////////////\n\nexport const UNSAFE_DEFERRED_SYMBOL = Symbol(\"deferred\");\n\nexport interface CreateStaticHandlerOptions {\n basename?: string;\n /**\n * @deprecated Use `mapRouteProperties` instead\n */\n detectErrorBoundary?: DetectErrorBoundaryFunction;\n mapRouteProperties?: MapRoutePropertiesFunction;\n}\n\nexport function createStaticHandler(\n routes: AgnosticRouteObject[],\n opts?: CreateStaticHandlerOptions\n): StaticHandler {\n invariant(\n routes.length > 0,\n \"You must provide a non-empty routes array to createStaticHandler\"\n );\n\n let manifest: RouteManifest = {};\n let basename = (opts ? opts.basename : null) || \"/\";\n let mapRouteProperties: MapRoutePropertiesFunction;\n if (opts?.mapRouteProperties) {\n mapRouteProperties = opts.mapRouteProperties;\n } else if (opts?.detectErrorBoundary) {\n // If they are still using the deprecated version, wrap it with the new API\n let detectErrorBoundary = opts.detectErrorBoundary;\n mapRouteProperties = (route) => ({\n hasErrorBoundary: detectErrorBoundary(route),\n });\n } else {\n mapRouteProperties = defaultMapRouteProperties;\n }\n\n let dataRoutes = convertRoutesToDataRoutes(\n routes,\n mapRouteProperties,\n undefined,\n manifest\n );\n\n /**\n * The query() method is intended for document requests, in which we want to\n * call an optional action and potentially multiple loaders for all nested\n * routes. It returns a StaticHandlerContext object, which is very similar\n * to the router state (location, loaderData, actionData, errors, etc.) and\n * also adds SSR-specific information such as the statusCode and headers\n * from action/loaders Responses.\n *\n * It _should_ never throw and should report all errors through the\n * returned context.errors object, properly associating errors to their error\n * boundary. Additionally, it tracks _deepestRenderedBoundaryId which can be\n * used to emulate React error boundaries during SSr by performing a second\n * pass only down to the boundaryId.\n *\n * The one exception where we do not return a StaticHandlerContext is when a\n * redirect response is returned or thrown from any action/loader. We\n * propagate that out and return the raw Response so the HTTP server can\n * return it directly.\n */\n async function query(\n request: Request,\n { requestContext }: { requestContext?: unknown } = {}\n ): Promise {\n let url = new URL(request.url);\n let method = request.method;\n let location = createLocation(\"\", createPath(url), null, \"default\");\n let matches = matchRoutes(dataRoutes, location, basename);\n\n // SSR supports HEAD requests while SPA doesn't\n if (!isValidMethod(method) && method !== \"HEAD\") {\n let error = getInternalRouterError(405, { method });\n let { matches: methodNotAllowedMatches, route } =\n getShortCircuitMatches(dataRoutes);\n return {\n basename,\n location,\n matches: methodNotAllowedMatches,\n loaderData: {},\n actionData: null,\n errors: {\n [route.id]: error,\n },\n statusCode: error.status,\n loaderHeaders: {},\n actionHeaders: {},\n activeDeferreds: null,\n };\n } else if (!matches) {\n let error = getInternalRouterError(404, { pathname: location.pathname });\n let { matches: notFoundMatches, route } =\n getShortCircuitMatches(dataRoutes);\n return {\n basename,\n location,\n matches: notFoundMatches,\n loaderData: {},\n actionData: null,\n errors: {\n [route.id]: error,\n },\n statusCode: error.status,\n loaderHeaders: {},\n actionHeaders: {},\n activeDeferreds: null,\n };\n }\n\n let result = await queryImpl(request, location, matches, requestContext);\n if (isResponse(result)) {\n return result;\n }\n\n // When returning StaticHandlerContext, we patch back in the location here\n // since we need it for React Context. But this helps keep our submit and\n // loadRouteData operating on a Request instead of a Location\n return { location, basename, ...result };\n }\n\n /**\n * The queryRoute() method is intended for targeted route requests, either\n * for fetch ?_data requests or resource route requests. In this case, we\n * are only ever calling a single action or loader, and we are returning the\n * returned value directly. In most cases, this will be a Response returned\n * from the action/loader, but it may be a primitive or other value as well -\n * and in such cases the calling context should handle that accordingly.\n *\n * We do respect the throw/return differentiation, so if an action/loader\n * throws, then this method will throw the value. This is important so we\n * can do proper boundary identification in Remix where a thrown Response\n * must go to the Catch Boundary but a returned Response is happy-path.\n *\n * One thing to note is that any Router-initiated Errors that make sense\n * to associate with a status code will be thrown as an ErrorResponse\n * instance which include the raw Error, such that the calling context can\n * serialize the error as they see fit while including the proper response\n * code. Examples here are 404 and 405 errors that occur prior to reaching\n * any user-defined loaders.\n */\n async function queryRoute(\n request: Request,\n {\n routeId,\n requestContext,\n }: { requestContext?: unknown; routeId?: string } = {}\n ): Promise {\n let url = new URL(request.url);\n let method = request.method;\n let location = createLocation(\"\", createPath(url), null, \"default\");\n let matches = matchRoutes(dataRoutes, location, basename);\n\n // SSR supports HEAD requests while SPA doesn't\n if (!isValidMethod(method) && method !== \"HEAD\" && method !== \"OPTIONS\") {\n throw getInternalRouterError(405, { method });\n } else if (!matches) {\n throw getInternalRouterError(404, { pathname: location.pathname });\n }\n\n let match = routeId\n ? matches.find((m) => m.route.id === routeId)\n : getTargetMatch(matches, location);\n\n if (routeId && !match) {\n throw getInternalRouterError(403, {\n pathname: location.pathname,\n routeId,\n });\n } else if (!match) {\n // This should never hit I don't think?\n throw getInternalRouterError(404, { pathname: location.pathname });\n }\n\n let result = await queryImpl(\n request,\n location,\n matches,\n requestContext,\n match\n );\n if (isResponse(result)) {\n return result;\n }\n\n let error = result.errors ? Object.values(result.errors)[0] : undefined;\n if (error !== undefined) {\n // If we got back result.errors, that means the loader/action threw\n // _something_ that wasn't a Response, but it's not guaranteed/required\n // to be an `instanceof Error` either, so we have to use throw here to\n // preserve the \"error\" state outside of queryImpl.\n throw error;\n }\n\n // Pick off the right state value to return\n if (result.actionData) {\n return Object.values(result.actionData)[0];\n }\n\n if (result.loaderData) {\n let data = Object.values(result.loaderData)[0];\n if (result.activeDeferreds?.[match.route.id]) {\n data[UNSAFE_DEFERRED_SYMBOL] = result.activeDeferreds[match.route.id];\n }\n return data;\n }\n\n return undefined;\n }\n\n async function queryImpl(\n request: Request,\n location: Location,\n matches: AgnosticDataRouteMatch[],\n requestContext: unknown,\n routeMatch?: AgnosticDataRouteMatch\n ): Promise | Response> {\n invariant(\n request.signal,\n \"query()/queryRoute() requests must contain an AbortController signal\"\n );\n\n try {\n if (isMutationMethod(request.method.toLowerCase())) {\n let result = await submit(\n request,\n matches,\n routeMatch || getTargetMatch(matches, location),\n requestContext,\n routeMatch != null\n );\n return result;\n }\n\n let result = await loadRouteData(\n request,\n matches,\n requestContext,\n routeMatch\n );\n return isResponse(result)\n ? result\n : {\n ...result,\n actionData: null,\n actionHeaders: {},\n };\n } catch (e) {\n // If the user threw/returned a Response in callLoaderOrAction, we throw\n // it to bail out and then return or throw here based on whether the user\n // returned or threw\n if (isQueryRouteResponse(e)) {\n if (e.type === ResultType.error) {\n throw e.response;\n }\n return e.response;\n }\n // Redirects are always returned since they don't propagate to catch\n // boundaries\n if (isRedirectResponse(e)) {\n return e;\n }\n throw e;\n }\n }\n\n async function submit(\n request: Request,\n matches: AgnosticDataRouteMatch[],\n actionMatch: AgnosticDataRouteMatch,\n requestContext: unknown,\n isRouteRequest: boolean\n ): Promise | Response> {\n let result: DataResult;\n\n if (!actionMatch.route.action && !actionMatch.route.lazy) {\n let error = getInternalRouterError(405, {\n method: request.method,\n pathname: new URL(request.url).pathname,\n routeId: actionMatch.route.id,\n });\n if (isRouteRequest) {\n throw error;\n }\n result = {\n type: ResultType.error,\n error,\n };\n } else {\n result = await callLoaderOrAction(\n \"action\",\n request,\n actionMatch,\n matches,\n manifest,\n mapRouteProperties,\n basename,\n { isStaticRequest: true, isRouteRequest, requestContext }\n );\n\n if (request.signal.aborted) {\n let method = isRouteRequest ? \"queryRoute\" : \"query\";\n throw new Error(\n `${method}() call aborted: ${request.method} ${request.url}`\n );\n }\n }\n\n if (isRedirectResult(result)) {\n // Uhhhh - this should never happen, we should always throw these from\n // callLoaderOrAction, but the type narrowing here keeps TS happy and we\n // can get back on the \"throw all redirect responses\" train here should\n // this ever happen :/\n throw new Response(null, {\n status: result.status,\n headers: {\n Location: result.location,\n },\n });\n }\n\n if (isDeferredResult(result)) {\n let error = getInternalRouterError(400, { type: \"defer-action\" });\n if (isRouteRequest) {\n throw error;\n }\n result = {\n type: ResultType.error,\n error,\n };\n }\n\n if (isRouteRequest) {\n // Note: This should only be non-Response values if we get here, since\n // isRouteRequest should throw any Response received in callLoaderOrAction\n if (isErrorResult(result)) {\n throw result.error;\n }\n\n return {\n matches: [actionMatch],\n loaderData: {},\n actionData: { [actionMatch.route.id]: result.data },\n errors: null,\n // Note: statusCode + headers are unused here since queryRoute will\n // return the raw Response or value\n statusCode: 200,\n loaderHeaders: {},\n actionHeaders: {},\n activeDeferreds: null,\n };\n }\n\n if (isErrorResult(result)) {\n // Store off the pending error - we use it to determine which loaders\n // to call and will commit it when we complete the navigation\n let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id);\n let context = await loadRouteData(\n request,\n matches,\n requestContext,\n undefined,\n {\n [boundaryMatch.route.id]: result.error,\n }\n );\n\n // action status codes take precedence over loader status codes\n return {\n ...context,\n statusCode: isRouteErrorResponse(result.error)\n ? result.error.status\n : 500,\n actionData: null,\n actionHeaders: {\n ...(result.headers ? { [actionMatch.route.id]: result.headers } : {}),\n },\n };\n }\n\n // Create a GET request for the loaders\n let loaderRequest = new Request(request.url, {\n headers: request.headers,\n redirect: request.redirect,\n signal: request.signal,\n });\n let context = await loadRouteData(loaderRequest, matches, requestContext);\n\n return {\n ...context,\n // action status codes take precedence over loader status codes\n ...(result.statusCode ? { statusCode: result.statusCode } : {}),\n actionData: {\n [actionMatch.route.id]: result.data,\n },\n actionHeaders: {\n ...(result.headers ? { [actionMatch.route.id]: result.headers } : {}),\n },\n };\n }\n\n async function loadRouteData(\n request: Request,\n matches: AgnosticDataRouteMatch[],\n requestContext: unknown,\n routeMatch?: AgnosticDataRouteMatch,\n pendingActionError?: RouteData\n ): Promise<\n | Omit<\n StaticHandlerContext,\n \"location\" | \"basename\" | \"actionData\" | \"actionHeaders\"\n >\n | Response\n > {\n let isRouteRequest = routeMatch != null;\n\n // Short circuit if we have no loaders to run (queryRoute())\n if (\n isRouteRequest &&\n !routeMatch?.route.loader &&\n !routeMatch?.route.lazy\n ) {\n throw getInternalRouterError(400, {\n method: request.method,\n pathname: new URL(request.url).pathname,\n routeId: routeMatch?.route.id,\n });\n }\n\n let requestMatches = routeMatch\n ? [routeMatch]\n : getLoaderMatchesUntilBoundary(\n matches,\n Object.keys(pendingActionError || {})[0]\n );\n let matchesToLoad = requestMatches.filter(\n (m) => m.route.loader || m.route.lazy\n );\n\n // Short circuit if we have no loaders to run (query())\n if (matchesToLoad.length === 0) {\n return {\n matches,\n // Add a null for all matched routes for proper revalidation on the client\n loaderData: matches.reduce(\n (acc, m) => Object.assign(acc, { [m.route.id]: null }),\n {}\n ),\n errors: pendingActionError || null,\n statusCode: 200,\n loaderHeaders: {},\n activeDeferreds: null,\n };\n }\n\n let results = await Promise.all([\n ...matchesToLoad.map((match) =>\n callLoaderOrAction(\n \"loader\",\n request,\n match,\n matches,\n manifest,\n mapRouteProperties,\n basename,\n { isStaticRequest: true, isRouteRequest, requestContext }\n )\n ),\n ]);\n\n if (request.signal.aborted) {\n let method = isRouteRequest ? \"queryRoute\" : \"query\";\n throw new Error(\n `${method}() call aborted: ${request.method} ${request.url}`\n );\n }\n\n // Process and commit output from loaders\n let activeDeferreds = new Map();\n let context = processRouteLoaderData(\n matches,\n matchesToLoad,\n results,\n pendingActionError,\n activeDeferreds\n );\n\n // Add a null for any non-loader matches for proper revalidation on the client\n let executedLoaders = new Set(\n matchesToLoad.map((match) => match.route.id)\n );\n matches.forEach((match) => {\n if (!executedLoaders.has(match.route.id)) {\n context.loaderData[match.route.id] = null;\n }\n });\n\n return {\n ...context,\n matches,\n activeDeferreds:\n activeDeferreds.size > 0\n ? Object.fromEntries(activeDeferreds.entries())\n : null,\n };\n }\n\n return {\n dataRoutes,\n query,\n queryRoute,\n };\n}\n\n//#endregion\n\n////////////////////////////////////////////////////////////////////////////////\n//#region Helpers\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Given an existing StaticHandlerContext and an error thrown at render time,\n * provide an updated StaticHandlerContext suitable for a second SSR render\n */\nexport function getStaticContextFromError(\n routes: AgnosticDataRouteObject[],\n context: StaticHandlerContext,\n error: any\n) {\n let newContext: StaticHandlerContext = {\n ...context,\n statusCode: 500,\n errors: {\n [context._deepestRenderedBoundaryId || routes[0].id]: error,\n },\n };\n return newContext;\n}\n\nfunction isSubmissionNavigation(\n opts: BaseNavigateOrFetchOptions\n): opts is SubmissionNavigateOptions {\n return (\n opts != null &&\n ((\"formData\" in opts && opts.formData != null) ||\n (\"body\" in opts && opts.body !== undefined))\n );\n}\n\nfunction normalizeTo(\n location: Path,\n matches: AgnosticDataRouteMatch[],\n basename: string,\n prependBasename: boolean,\n to: To | null,\n fromRouteId?: string,\n relative?: RelativeRoutingType\n) {\n let contextualMatches: AgnosticDataRouteMatch[];\n let activeRouteMatch: AgnosticDataRouteMatch | undefined;\n if (fromRouteId != null && relative !== \"path\") {\n // Grab matches up to the calling route so our route-relative logic is\n // relative to the correct source route. When using relative:path,\n // fromRouteId is ignored since that is always relative to the current\n // location path\n contextualMatches = [];\n for (let match of matches) {\n contextualMatches.push(match);\n if (match.route.id === fromRouteId) {\n activeRouteMatch = match;\n break;\n }\n }\n } else {\n contextualMatches = matches;\n activeRouteMatch = matches[matches.length - 1];\n }\n\n // Resolve the relative path\n let path = resolveTo(\n to ? to : \".\",\n getPathContributingMatches(contextualMatches).map((m) => m.pathnameBase),\n stripBasename(location.pathname, basename) || location.pathname,\n relative === \"path\"\n );\n\n // When `to` is not specified we inherit search/hash from the current\n // location, unlike when to=\".\" and we just inherit the path.\n // See https://github.com/remix-run/remix/issues/927\n if (to == null) {\n path.search = location.search;\n path.hash = location.hash;\n }\n\n // Add an ?index param for matched index routes if we don't already have one\n if (\n (to == null || to === \"\" || to === \".\") &&\n activeRouteMatch &&\n activeRouteMatch.route.index &&\n !hasNakedIndexQuery(path.search)\n ) {\n path.search = path.search\n ? path.search.replace(/^\\?/, \"?index&\")\n : \"?index\";\n }\n\n // If we're operating within a basename, prepend it to the pathname. If\n // this is a root navigation, then just use the raw basename which allows\n // the basename to have full control over the presence of a trailing slash\n // on root actions\n if (prependBasename && basename !== \"/\") {\n path.pathname =\n path.pathname === \"/\" ? basename : joinPaths([basename, path.pathname]);\n }\n\n return createPath(path);\n}\n\n// Normalize navigation options by converting formMethod=GET formData objects to\n// URLSearchParams so they behave identically to links with query params\nfunction normalizeNavigateOptions(\n normalizeFormMethod: boolean,\n isFetcher: boolean,\n path: string,\n opts?: BaseNavigateOrFetchOptions\n): {\n path: string;\n submission?: Submission;\n error?: ErrorResponseImpl;\n} {\n // Return location verbatim on non-submission navigations\n if (!opts || !isSubmissionNavigation(opts)) {\n return { path };\n }\n\n if (opts.formMethod && !isValidMethod(opts.formMethod)) {\n return {\n path,\n error: getInternalRouterError(405, { method: opts.formMethod }),\n };\n }\n\n let getInvalidBodyError = () => ({\n path,\n error: getInternalRouterError(400, { type: \"invalid-body\" }),\n });\n\n // Create a Submission on non-GET navigations\n let rawFormMethod = opts.formMethod || \"get\";\n let formMethod = normalizeFormMethod\n ? (rawFormMethod.toUpperCase() as V7_FormMethod)\n : (rawFormMethod.toLowerCase() as FormMethod);\n let formAction = stripHashFromPath(path);\n\n if (opts.body !== undefined) {\n if (opts.formEncType === \"text/plain\") {\n // text only support POST/PUT/PATCH/DELETE submissions\n if (!isMutationMethod(formMethod)) {\n return getInvalidBodyError();\n }\n\n let text =\n typeof opts.body === \"string\"\n ? opts.body\n : opts.body instanceof FormData ||\n opts.body instanceof URLSearchParams\n ? // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#plain-text-form-data\n Array.from(opts.body.entries()).reduce(\n (acc, [name, value]) => `${acc}${name}=${value}\\n`,\n \"\"\n )\n : String(opts.body);\n\n return {\n path,\n submission: {\n formMethod,\n formAction,\n formEncType: opts.formEncType,\n formData: undefined,\n json: undefined,\n text,\n },\n };\n } else if (opts.formEncType === \"application/json\") {\n // json only supports POST/PUT/PATCH/DELETE submissions\n if (!isMutationMethod(formMethod)) {\n return getInvalidBodyError();\n }\n\n try {\n let json =\n typeof opts.body === \"string\" ? JSON.parse(opts.body) : opts.body;\n\n return {\n path,\n submission: {\n formMethod,\n formAction,\n formEncType: opts.formEncType,\n formData: undefined,\n json,\n text: undefined,\n },\n };\n } catch (e) {\n return getInvalidBodyError();\n }\n }\n }\n\n invariant(\n typeof FormData === \"function\",\n \"FormData is not available in this environment\"\n );\n\n let searchParams: URLSearchParams;\n let formData: FormData;\n\n if (opts.formData) {\n searchParams = convertFormDataToSearchParams(opts.formData);\n formData = opts.formData;\n } else if (opts.body instanceof FormData) {\n searchParams = convertFormDataToSearchParams(opts.body);\n formData = opts.body;\n } else if (opts.body instanceof URLSearchParams) {\n searchParams = opts.body;\n formData = convertSearchParamsToFormData(searchParams);\n } else if (opts.body == null) {\n searchParams = new URLSearchParams();\n formData = new FormData();\n } else {\n try {\n searchParams = new URLSearchParams(opts.body);\n formData = convertSearchParamsToFormData(searchParams);\n } catch (e) {\n return getInvalidBodyError();\n }\n }\n\n let submission: Submission = {\n formMethod,\n formAction,\n formEncType:\n (opts && opts.formEncType) || \"application/x-www-form-urlencoded\",\n formData,\n json: undefined,\n text: undefined,\n };\n\n if (isMutationMethod(submission.formMethod)) {\n return { path, submission };\n }\n\n // Flatten submission onto URLSearchParams for GET submissions\n let parsedPath = parsePath(path);\n // On GET navigation submissions we can drop the ?index param from the\n // resulting location since all loaders will run. But fetcher GET submissions\n // only run a single loader so we need to preserve any incoming ?index params\n if (isFetcher && parsedPath.search && hasNakedIndexQuery(parsedPath.search)) {\n searchParams.append(\"index\", \"\");\n }\n parsedPath.search = `?${searchParams}`;\n\n return { path: createPath(parsedPath), submission };\n}\n\n// Filter out all routes below any caught error as they aren't going to\n// render so we don't need to load them\nfunction getLoaderMatchesUntilBoundary(\n matches: AgnosticDataRouteMatch[],\n boundaryId?: string\n) {\n let boundaryMatches = matches;\n if (boundaryId) {\n let index = matches.findIndex((m) => m.route.id === boundaryId);\n if (index >= 0) {\n boundaryMatches = matches.slice(0, index);\n }\n }\n return boundaryMatches;\n}\n\nfunction getMatchesToLoad(\n history: History,\n state: RouterState,\n matches: AgnosticDataRouteMatch[],\n submission: Submission | undefined,\n location: Location,\n isRevalidationRequired: boolean,\n cancelledDeferredRoutes: string[],\n cancelledFetcherLoads: string[],\n fetchLoadMatches: Map,\n fetchRedirectIds: Set,\n routesToUse: AgnosticDataRouteObject[],\n basename: string | undefined,\n pendingActionData?: RouteData,\n pendingError?: RouteData\n): [AgnosticDataRouteMatch[], RevalidatingFetcher[]] {\n let actionResult = pendingError\n ? Object.values(pendingError)[0]\n : pendingActionData\n ? Object.values(pendingActionData)[0]\n : undefined;\n\n let currentUrl = history.createURL(state.location);\n let nextUrl = history.createURL(location);\n\n // Pick navigation matches that are net-new or qualify for revalidation\n let boundaryId = pendingError ? Object.keys(pendingError)[0] : undefined;\n let boundaryMatches = getLoaderMatchesUntilBoundary(matches, boundaryId);\n\n let navigationMatches = boundaryMatches.filter((match, index) => {\n if (match.route.lazy) {\n // We haven't loaded this route yet so we don't know if it's got a loader!\n return true;\n }\n if (match.route.loader == null) {\n return false;\n }\n\n // Always call the loader on new route instances and pending defer cancellations\n if (\n isNewLoader(state.loaderData, state.matches[index], match) ||\n cancelledDeferredRoutes.some((id) => id === match.route.id)\n ) {\n return true;\n }\n\n // This is the default implementation for when we revalidate. If the route\n // provides it's own implementation, then we give them full control but\n // provide this value so they can leverage it if needed after they check\n // their own specific use cases\n let currentRouteMatch = state.matches[index];\n let nextRouteMatch = match;\n\n return shouldRevalidateLoader(match, {\n currentUrl,\n currentParams: currentRouteMatch.params,\n nextUrl,\n nextParams: nextRouteMatch.params,\n ...submission,\n actionResult,\n defaultShouldRevalidate:\n // Forced revalidation due to submission, useRevalidator, or X-Remix-Revalidate\n isRevalidationRequired ||\n // Clicked the same link, resubmitted a GET form\n currentUrl.pathname + currentUrl.search ===\n nextUrl.pathname + nextUrl.search ||\n // Search params affect all loaders\n currentUrl.search !== nextUrl.search ||\n isNewRouteInstance(currentRouteMatch, nextRouteMatch),\n });\n });\n\n // Pick fetcher.loads that need to be revalidated\n let revalidatingFetchers: RevalidatingFetcher[] = [];\n fetchLoadMatches.forEach((f, key) => {\n // Don't revalidate if fetcher won't be present in the subsequent render\n if (!matches.some((m) => m.route.id === f.routeId)) {\n return;\n }\n\n let fetcherMatches = matchRoutes(routesToUse, f.path, basename);\n\n // If the fetcher path no longer matches, push it in with null matches so\n // we can trigger a 404 in callLoadersAndMaybeResolveData. Note this is\n // currently only a use-case for Remix HMR where the route tree can change\n // at runtime and remove a route previously loaded via a fetcher\n if (!fetcherMatches) {\n revalidatingFetchers.push({\n key,\n routeId: f.routeId,\n path: f.path,\n matches: null,\n match: null,\n controller: null,\n });\n return;\n }\n\n // Revalidating fetchers are decoupled from the route matches since they\n // load from a static href. They revalidate based on explicit revalidation\n // (submission, useRevalidator, or X-Remix-Revalidate)\n let fetcher = state.fetchers.get(key);\n let fetcherMatch = getTargetMatch(fetcherMatches, f.path);\n\n let shouldRevalidate = false;\n if (fetchRedirectIds.has(key)) {\n // Never trigger a revalidation of an actively redirecting fetcher\n shouldRevalidate = false;\n } else if (cancelledFetcherLoads.includes(key)) {\n // Always revalidate if the fetcher was cancelled\n shouldRevalidate = true;\n } else if (\n fetcher &&\n fetcher.state !== \"idle\" &&\n fetcher.data === undefined\n ) {\n // If the fetcher hasn't ever completed loading yet, then this isn't a\n // revalidation, it would just be a brand new load if an explicit\n // revalidation is required\n shouldRevalidate = isRevalidationRequired;\n } else {\n // Otherwise fall back on any user-defined shouldRevalidate, defaulting\n // to explicit revalidations only\n shouldRevalidate = shouldRevalidateLoader(fetcherMatch, {\n currentUrl,\n currentParams: state.matches[state.matches.length - 1].params,\n nextUrl,\n nextParams: matches[matches.length - 1].params,\n ...submission,\n actionResult,\n defaultShouldRevalidate: isRevalidationRequired,\n });\n }\n\n if (shouldRevalidate) {\n revalidatingFetchers.push({\n key,\n routeId: f.routeId,\n path: f.path,\n matches: fetcherMatches,\n match: fetcherMatch,\n controller: new AbortController(),\n });\n }\n });\n\n return [navigationMatches, revalidatingFetchers];\n}\n\nfunction isNewLoader(\n currentLoaderData: RouteData,\n currentMatch: AgnosticDataRouteMatch,\n match: AgnosticDataRouteMatch\n) {\n let isNew =\n // [a] -> [a, b]\n !currentMatch ||\n // [a, b] -> [a, c]\n match.route.id !== currentMatch.route.id;\n\n // Handle the case that we don't have data for a re-used route, potentially\n // from a prior error or from a cancelled pending deferred\n let isMissingData = currentLoaderData[match.route.id] === undefined;\n\n // Always load if this is a net-new route or we don't yet have data\n return isNew || isMissingData;\n}\n\nfunction isNewRouteInstance(\n currentMatch: AgnosticDataRouteMatch,\n match: AgnosticDataRouteMatch\n) {\n let currentPath = currentMatch.route.path;\n return (\n // param change for this match, /users/123 -> /users/456\n currentMatch.pathname !== match.pathname ||\n // splat param changed, which is not present in match.path\n // e.g. /files/images/avatar.jpg -> files/finances.xls\n (currentPath != null &&\n currentPath.endsWith(\"*\") &&\n currentMatch.params[\"*\"] !== match.params[\"*\"])\n );\n}\n\nfunction shouldRevalidateLoader(\n loaderMatch: AgnosticDataRouteMatch,\n arg: ShouldRevalidateFunctionArgs\n) {\n if (loaderMatch.route.shouldRevalidate) {\n let routeChoice = loaderMatch.route.shouldRevalidate(arg);\n if (typeof routeChoice === \"boolean\") {\n return routeChoice;\n }\n }\n\n return arg.defaultShouldRevalidate;\n}\n\n/**\n * Execute route.lazy() methods to lazily load route modules (loader, action,\n * shouldRevalidate) and update the routeManifest in place which shares objects\n * with dataRoutes so those get updated as well.\n */\nasync function loadLazyRouteModule(\n route: AgnosticDataRouteObject,\n mapRouteProperties: MapRoutePropertiesFunction,\n manifest: RouteManifest\n) {\n if (!route.lazy) {\n return;\n }\n\n let lazyRoute = await route.lazy();\n\n // If the lazy route function was executed and removed by another parallel\n // call then we can return - first lazy() to finish wins because the return\n // value of lazy is expected to be static\n if (!route.lazy) {\n return;\n }\n\n let routeToUpdate = manifest[route.id];\n invariant(routeToUpdate, \"No route found in manifest\");\n\n // Update the route in place. This should be safe because there's no way\n // we could yet be sitting on this route as we can't get there without\n // resolving lazy() first.\n //\n // This is different than the HMR \"update\" use-case where we may actively be\n // on the route being updated. The main concern boils down to \"does this\n // mutation affect any ongoing navigations or any current state.matches\n // values?\". If not, it should be safe to update in place.\n let routeUpdates: Record = {};\n for (let lazyRouteProperty in lazyRoute) {\n let staticRouteValue =\n routeToUpdate[lazyRouteProperty as keyof typeof routeToUpdate];\n\n let isPropertyStaticallyDefined =\n staticRouteValue !== undefined &&\n // This property isn't static since it should always be updated based\n // on the route updates\n lazyRouteProperty !== \"hasErrorBoundary\";\n\n warning(\n !isPropertyStaticallyDefined,\n `Route \"${routeToUpdate.id}\" has a static property \"${lazyRouteProperty}\" ` +\n `defined but its lazy function is also returning a value for this property. ` +\n `The lazy route property \"${lazyRouteProperty}\" will be ignored.`\n );\n\n if (\n !isPropertyStaticallyDefined &&\n !immutableRouteKeys.has(lazyRouteProperty as ImmutableRouteKey)\n ) {\n routeUpdates[lazyRouteProperty] =\n lazyRoute[lazyRouteProperty as keyof typeof lazyRoute];\n }\n }\n\n // Mutate the route with the provided updates. Do this first so we pass\n // the updated version to mapRouteProperties\n Object.assign(routeToUpdate, routeUpdates);\n\n // Mutate the `hasErrorBoundary` property on the route based on the route\n // updates and remove the `lazy` function so we don't resolve the lazy\n // route again.\n Object.assign(routeToUpdate, {\n // To keep things framework agnostic, we use the provided\n // `mapRouteProperties` (or wrapped `detectErrorBoundary`) function to\n // set the framework-aware properties (`element`/`hasErrorBoundary`) since\n // the logic will differ between frameworks.\n ...mapRouteProperties(routeToUpdate),\n lazy: undefined,\n });\n}\n\nasync function callLoaderOrAction(\n type: \"loader\" | \"action\",\n request: Request,\n match: AgnosticDataRouteMatch,\n matches: AgnosticDataRouteMatch[],\n manifest: RouteManifest,\n mapRouteProperties: MapRoutePropertiesFunction,\n basename: string,\n opts: {\n isStaticRequest?: boolean;\n isRouteRequest?: boolean;\n requestContext?: unknown;\n } = {}\n): Promise {\n let resultType;\n let result;\n let onReject: (() => void) | undefined;\n\n let runHandler = (handler: ActionFunction | LoaderFunction) => {\n // Setup a promise we can race against so that abort signals short circuit\n let reject: () => void;\n let abortPromise = new Promise((_, r) => (reject = r));\n onReject = () => reject();\n request.signal.addEventListener(\"abort\", onReject);\n return Promise.race([\n handler({\n request,\n params: match.params,\n context: opts.requestContext,\n }),\n abortPromise,\n ]);\n };\n\n try {\n let handler = match.route[type];\n\n if (match.route.lazy) {\n if (handler) {\n // Run statically defined handler in parallel with lazy()\n let handlerError;\n let values = await Promise.all([\n // If the handler throws, don't let it immediately bubble out,\n // since we need to let the lazy() execution finish so we know if this\n // route has a boundary that can handle the error\n runHandler(handler).catch((e) => {\n handlerError = e;\n }),\n loadLazyRouteModule(match.route, mapRouteProperties, manifest),\n ]);\n if (handlerError) {\n throw handlerError;\n }\n result = values[0];\n } else {\n // Load lazy route module, then run any returned handler\n await loadLazyRouteModule(match.route, mapRouteProperties, manifest);\n\n handler = match.route[type];\n if (handler) {\n // Handler still run even if we got interrupted to maintain consistency\n // with un-abortable behavior of handler execution on non-lazy or\n // previously-lazy-loaded routes\n result = await runHandler(handler);\n } else if (type === \"action\") {\n let url = new URL(request.url);\n let pathname = url.pathname + url.search;\n throw getInternalRouterError(405, {\n method: request.method,\n pathname,\n routeId: match.route.id,\n });\n } else {\n // lazy() route has no loader to run. Short circuit here so we don't\n // hit the invariant below that errors on returning undefined.\n return { type: ResultType.data, data: undefined };\n }\n }\n } else if (!handler) {\n let url = new URL(request.url);\n let pathname = url.pathname + url.search;\n throw getInternalRouterError(404, {\n pathname,\n });\n } else {\n result = await runHandler(handler);\n }\n\n invariant(\n result !== undefined,\n `You defined ${type === \"action\" ? \"an action\" : \"a loader\"} for route ` +\n `\"${match.route.id}\" but didn't return anything from your \\`${type}\\` ` +\n `function. Please return a value or \\`null\\`.`\n );\n } catch (e) {\n resultType = ResultType.error;\n result = e;\n } finally {\n if (onReject) {\n request.signal.removeEventListener(\"abort\", onReject);\n }\n }\n\n if (isResponse(result)) {\n let status = result.status;\n\n // Process redirects\n if (redirectStatusCodes.has(status)) {\n let location = result.headers.get(\"Location\");\n invariant(\n location,\n \"Redirects returned/thrown from loaders/actions must have a Location header\"\n );\n\n // Support relative routing in internal redirects\n if (!ABSOLUTE_URL_REGEX.test(location)) {\n location = normalizeTo(\n new URL(request.url),\n matches.slice(0, matches.indexOf(match) + 1),\n basename,\n true,\n location\n );\n } else if (!opts.isStaticRequest) {\n // Strip off the protocol+origin for same-origin + same-basename absolute\n // redirects. If this is a static request, we can let it go back to the\n // browser as-is\n let currentUrl = new URL(request.url);\n let url = location.startsWith(\"//\")\n ? new URL(currentUrl.protocol + location)\n : new URL(location);\n let isSameBasename = stripBasename(url.pathname, basename) != null;\n if (url.origin === currentUrl.origin && isSameBasename) {\n location = url.pathname + url.search + url.hash;\n }\n }\n\n // Don't process redirects in the router during static requests requests.\n // Instead, throw the Response and let the server handle it with an HTTP\n // redirect. We also update the Location header in place in this flow so\n // basename and relative routing is taken into account\n if (opts.isStaticRequest) {\n result.headers.set(\"Location\", location);\n throw result;\n }\n\n return {\n type: ResultType.redirect,\n status,\n location,\n revalidate: result.headers.get(\"X-Remix-Revalidate\") !== null,\n reloadDocument: result.headers.get(\"X-Remix-Reload-Document\") !== null,\n };\n }\n\n // For SSR single-route requests, we want to hand Responses back directly\n // without unwrapping. We do this with the QueryRouteResponse wrapper\n // interface so we can know whether it was returned or thrown\n if (opts.isRouteRequest) {\n let queryRouteResponse: QueryRouteResponse = {\n type:\n resultType === ResultType.error ? ResultType.error : ResultType.data,\n response: result,\n };\n throw queryRouteResponse;\n }\n\n let data: any;\n let contentType = result.headers.get(\"Content-Type\");\n // Check between word boundaries instead of startsWith() due to the last\n // paragraph of https://httpwg.org/specs/rfc9110.html#field.content-type\n if (contentType && /\\bapplication\\/json\\b/.test(contentType)) {\n data = await result.json();\n } else {\n data = await result.text();\n }\n\n if (resultType === ResultType.error) {\n return {\n type: resultType,\n error: new ErrorResponseImpl(status, result.statusText, data),\n headers: result.headers,\n };\n }\n\n return {\n type: ResultType.data,\n data,\n statusCode: result.status,\n headers: result.headers,\n };\n }\n\n if (resultType === ResultType.error) {\n return { type: resultType, error: result };\n }\n\n if (isDeferredData(result)) {\n return {\n type: ResultType.deferred,\n deferredData: result,\n statusCode: result.init?.status,\n headers: result.init?.headers && new Headers(result.init.headers),\n };\n }\n\n return { type: ResultType.data, data: result };\n}\n\n// Utility method for creating the Request instances for loaders/actions during\n// client-side navigations and fetches. During SSR we will always have a\n// Request instance from the static handler (query/queryRoute)\nfunction createClientSideRequest(\n history: History,\n location: string | Location,\n signal: AbortSignal,\n submission?: Submission\n): Request {\n let url = history.createURL(stripHashFromPath(location)).toString();\n let init: RequestInit = { signal };\n\n if (submission && isMutationMethod(submission.formMethod)) {\n let { formMethod, formEncType } = submission;\n // Didn't think we needed this but it turns out unlike other methods, patch\n // won't be properly normalized to uppercase and results in a 405 error.\n // See: https://fetch.spec.whatwg.org/#concept-method\n init.method = formMethod.toUpperCase();\n\n if (formEncType === \"application/json\") {\n init.headers = new Headers({ \"Content-Type\": formEncType });\n init.body = JSON.stringify(submission.json);\n } else if (formEncType === \"text/plain\") {\n // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request)\n init.body = submission.text;\n } else if (\n formEncType === \"application/x-www-form-urlencoded\" &&\n submission.formData\n ) {\n // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request)\n init.body = convertFormDataToSearchParams(submission.formData);\n } else {\n // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request)\n init.body = submission.formData;\n }\n }\n\n return new Request(url, init);\n}\n\nfunction convertFormDataToSearchParams(formData: FormData): URLSearchParams {\n let searchParams = new URLSearchParams();\n\n for (let [key, value] of formData.entries()) {\n // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#converting-an-entry-list-to-a-list-of-name-value-pairs\n searchParams.append(key, typeof value === \"string\" ? value : value.name);\n }\n\n return searchParams;\n}\n\nfunction convertSearchParamsToFormData(\n searchParams: URLSearchParams\n): FormData {\n let formData = new FormData();\n for (let [key, value] of searchParams.entries()) {\n formData.append(key, value);\n }\n return formData;\n}\n\nfunction processRouteLoaderData(\n matches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n results: DataResult[],\n pendingError: RouteData | undefined,\n activeDeferreds: Map\n): {\n loaderData: RouterState[\"loaderData\"];\n errors: RouterState[\"errors\"] | null;\n statusCode: number;\n loaderHeaders: Record;\n} {\n // Fill in loaderData/errors from our loaders\n let loaderData: RouterState[\"loaderData\"] = {};\n let errors: RouterState[\"errors\"] | null = null;\n let statusCode: number | undefined;\n let foundError = false;\n let loaderHeaders: Record = {};\n\n // Process loader results into state.loaderData/state.errors\n results.forEach((result, index) => {\n let id = matchesToLoad[index].route.id;\n invariant(\n !isRedirectResult(result),\n \"Cannot handle redirect results in processLoaderData\"\n );\n if (isErrorResult(result)) {\n // Look upwards from the matched route for the closest ancestor\n // error boundary, defaulting to the root match\n let boundaryMatch = findNearestBoundary(matches, id);\n let error = result.error;\n // If we have a pending action error, we report it at the highest-route\n // that throws a loader error, and then clear it out to indicate that\n // it was consumed\n if (pendingError) {\n error = Object.values(pendingError)[0];\n pendingError = undefined;\n }\n\n errors = errors || {};\n\n // Prefer higher error values if lower errors bubble to the same boundary\n if (errors[boundaryMatch.route.id] == null) {\n errors[boundaryMatch.route.id] = error;\n }\n\n // Clear our any prior loaderData for the throwing route\n loaderData[id] = undefined;\n\n // Once we find our first (highest) error, we set the status code and\n // prevent deeper status codes from overriding\n if (!foundError) {\n foundError = true;\n statusCode = isRouteErrorResponse(result.error)\n ? result.error.status\n : 500;\n }\n if (result.headers) {\n loaderHeaders[id] = result.headers;\n }\n } else {\n if (isDeferredResult(result)) {\n activeDeferreds.set(id, result.deferredData);\n loaderData[id] = result.deferredData.data;\n } else {\n loaderData[id] = result.data;\n }\n\n // Error status codes always override success status codes, but if all\n // loaders are successful we take the deepest status code.\n if (\n result.statusCode != null &&\n result.statusCode !== 200 &&\n !foundError\n ) {\n statusCode = result.statusCode;\n }\n if (result.headers) {\n loaderHeaders[id] = result.headers;\n }\n }\n });\n\n // If we didn't consume the pending action error (i.e., all loaders\n // resolved), then consume it here. Also clear out any loaderData for the\n // throwing route\n if (pendingError) {\n errors = pendingError;\n loaderData[Object.keys(pendingError)[0]] = undefined;\n }\n\n return {\n loaderData,\n errors,\n statusCode: statusCode || 200,\n loaderHeaders,\n };\n}\n\nfunction processLoaderData(\n state: RouterState,\n matches: AgnosticDataRouteMatch[],\n matchesToLoad: AgnosticDataRouteMatch[],\n results: DataResult[],\n pendingError: RouteData | undefined,\n revalidatingFetchers: RevalidatingFetcher[],\n fetcherResults: DataResult[],\n activeDeferreds: Map\n): {\n loaderData: RouterState[\"loaderData\"];\n errors?: RouterState[\"errors\"];\n} {\n let { loaderData, errors } = processRouteLoaderData(\n matches,\n matchesToLoad,\n results,\n pendingError,\n activeDeferreds\n );\n\n // Process results from our revalidating fetchers\n for (let index = 0; index < revalidatingFetchers.length; index++) {\n let { key, match, controller } = revalidatingFetchers[index];\n invariant(\n fetcherResults !== undefined && fetcherResults[index] !== undefined,\n \"Did not find corresponding fetcher result\"\n );\n let result = fetcherResults[index];\n\n // Process fetcher non-redirect errors\n if (controller && controller.signal.aborted) {\n // Nothing to do for aborted fetchers\n continue;\n } else if (isErrorResult(result)) {\n let boundaryMatch = findNearestBoundary(state.matches, match?.route.id);\n if (!(errors && errors[boundaryMatch.route.id])) {\n errors = {\n ...errors,\n [boundaryMatch.route.id]: result.error,\n };\n }\n state.fetchers.delete(key);\n } else if (isRedirectResult(result)) {\n // Should never get here, redirects should get processed above, but we\n // keep this to type narrow to a success result in the else\n invariant(false, \"Unhandled fetcher revalidation redirect\");\n } else if (isDeferredResult(result)) {\n // Should never get here, deferred data should be awaited for fetchers\n // in resolveDeferredResults\n invariant(false, \"Unhandled fetcher deferred data\");\n } else {\n let doneFetcher = getDoneFetcher(result.data);\n state.fetchers.set(key, doneFetcher);\n }\n }\n\n return { loaderData, errors };\n}\n\nfunction mergeLoaderData(\n loaderData: RouteData,\n newLoaderData: RouteData,\n matches: AgnosticDataRouteMatch[],\n errors: RouteData | null | undefined\n): RouteData {\n let mergedLoaderData = { ...newLoaderData };\n for (let match of matches) {\n let id = match.route.id;\n if (newLoaderData.hasOwnProperty(id)) {\n if (newLoaderData[id] !== undefined) {\n mergedLoaderData[id] = newLoaderData[id];\n } else {\n // No-op - this is so we ignore existing data if we have a key in the\n // incoming object with an undefined value, which is how we unset a prior\n // loaderData if we encounter a loader error\n }\n } else if (loaderData[id] !== undefined && match.route.loader) {\n // Preserve existing keys not included in newLoaderData and where a loader\n // wasn't removed by HMR\n mergedLoaderData[id] = loaderData[id];\n }\n\n if (errors && errors.hasOwnProperty(id)) {\n // Don't keep any loader data below the boundary\n break;\n }\n }\n return mergedLoaderData;\n}\n\n// Find the nearest error boundary, looking upwards from the leaf route (or the\n// route specified by routeId) for the closest ancestor error boundary,\n// defaulting to the root match\nfunction findNearestBoundary(\n matches: AgnosticDataRouteMatch[],\n routeId?: string\n): AgnosticDataRouteMatch {\n let eligibleMatches = routeId\n ? matches.slice(0, matches.findIndex((m) => m.route.id === routeId) + 1)\n : [...matches];\n return (\n eligibleMatches.reverse().find((m) => m.route.hasErrorBoundary === true) ||\n matches[0]\n );\n}\n\nfunction getShortCircuitMatches(routes: AgnosticDataRouteObject[]): {\n matches: AgnosticDataRouteMatch[];\n route: AgnosticDataRouteObject;\n} {\n // Prefer a root layout route if present, otherwise shim in a route object\n let route =\n routes.length === 1\n ? routes[0]\n : routes.find((r) => r.index || !r.path || r.path === \"/\") || {\n id: `__shim-error-route__`,\n };\n\n return {\n matches: [\n {\n params: {},\n pathname: \"\",\n pathnameBase: \"\",\n route,\n },\n ],\n route,\n };\n}\n\nfunction getInternalRouterError(\n status: number,\n {\n pathname,\n routeId,\n method,\n type,\n }: {\n pathname?: string;\n routeId?: string;\n method?: string;\n type?: \"defer-action\" | \"invalid-body\";\n } = {}\n) {\n let statusText = \"Unknown Server Error\";\n let errorMessage = \"Unknown @remix-run/router error\";\n\n if (status === 400) {\n statusText = \"Bad Request\";\n if (method && pathname && routeId) {\n errorMessage =\n `You made a ${method} request to \"${pathname}\" but ` +\n `did not provide a \\`loader\\` for route \"${routeId}\", ` +\n `so there is no way to handle the request.`;\n } else if (type === \"defer-action\") {\n errorMessage = \"defer() is not supported in actions\";\n } else if (type === \"invalid-body\") {\n errorMessage = \"Unable to encode submission body\";\n }\n } else if (status === 403) {\n statusText = \"Forbidden\";\n errorMessage = `Route \"${routeId}\" does not match URL \"${pathname}\"`;\n } else if (status === 404) {\n statusText = \"Not Found\";\n errorMessage = `No route matches URL \"${pathname}\"`;\n } else if (status === 405) {\n statusText = \"Method Not Allowed\";\n if (method && pathname && routeId) {\n errorMessage =\n `You made a ${method.toUpperCase()} request to \"${pathname}\" but ` +\n `did not provide an \\`action\\` for route \"${routeId}\", ` +\n `so there is no way to handle the request.`;\n } else if (method) {\n errorMessage = `Invalid request method \"${method.toUpperCase()}\"`;\n }\n }\n\n return new ErrorResponseImpl(\n status || 500,\n statusText,\n new Error(errorMessage),\n true\n );\n}\n\n// Find any returned redirect errors, starting from the lowest match\nfunction findRedirect(\n results: DataResult[]\n): { result: RedirectResult; idx: number } | undefined {\n for (let i = results.length - 1; i >= 0; i--) {\n let result = results[i];\n if (isRedirectResult(result)) {\n return { result, idx: i };\n }\n }\n}\n\nfunction stripHashFromPath(path: To) {\n let parsedPath = typeof path === \"string\" ? parsePath(path) : path;\n return createPath({ ...parsedPath, hash: \"\" });\n}\n\nfunction isHashChangeOnly(a: Location, b: Location): boolean {\n if (a.pathname !== b.pathname || a.search !== b.search) {\n return false;\n }\n\n if (a.hash === \"\") {\n // /page -> /page#hash\n return b.hash !== \"\";\n } else if (a.hash === b.hash) {\n // /page#hash -> /page#hash\n return true;\n } else if (b.hash !== \"\") {\n // /page#hash -> /page#other\n return true;\n }\n\n // If the hash is removed the browser will re-perform a request to the server\n // /page#hash -> /page\n return false;\n}\n\nfunction isDeferredResult(result: DataResult): result is DeferredResult {\n return result.type === ResultType.deferred;\n}\n\nfunction isErrorResult(result: DataResult): result is ErrorResult {\n return result.type === ResultType.error;\n}\n\nfunction isRedirectResult(result?: DataResult): result is RedirectResult {\n return (result && result.type) === ResultType.redirect;\n}\n\nexport function isDeferredData(value: any): value is DeferredData {\n let deferred: DeferredData = value;\n return (\n deferred &&\n typeof deferred === \"object\" &&\n typeof deferred.data === \"object\" &&\n typeof deferred.subscribe === \"function\" &&\n typeof deferred.cancel === \"function\" &&\n typeof deferred.resolveData === \"function\"\n );\n}\n\nfunction isResponse(value: any): value is Response {\n return (\n value != null &&\n typeof value.status === \"number\" &&\n typeof value.statusText === \"string\" &&\n typeof value.headers === \"object\" &&\n typeof value.body !== \"undefined\"\n );\n}\n\nfunction isRedirectResponse(result: any): result is Response {\n if (!isResponse(result)) {\n return false;\n }\n\n let status = result.status;\n let location = result.headers.get(\"Location\");\n return status >= 300 && status <= 399 && location != null;\n}\n\nfunction isQueryRouteResponse(obj: any): obj is QueryRouteResponse {\n return (\n obj &&\n isResponse(obj.response) &&\n (obj.type === ResultType.data || obj.type === ResultType.error)\n );\n}\n\nfunction isValidMethod(method: string): method is FormMethod | V7_FormMethod {\n return validRequestMethods.has(method.toLowerCase() as FormMethod);\n}\n\nfunction isMutationMethod(\n method: string\n): method is MutationFormMethod | V7_MutationFormMethod {\n return validMutationMethods.has(method.toLowerCase() as MutationFormMethod);\n}\n\nasync function resolveDeferredResults(\n currentMatches: AgnosticDataRouteMatch[],\n matchesToLoad: (AgnosticDataRouteMatch | null)[],\n results: DataResult[],\n signals: (AbortSignal | null)[],\n isFetcher: boolean,\n currentLoaderData?: RouteData\n) {\n for (let index = 0; index < results.length; index++) {\n let result = results[index];\n let match = matchesToLoad[index];\n // If we don't have a match, then we can have a deferred result to do\n // anything with. This is for revalidating fetchers where the route was\n // removed during HMR\n if (!match) {\n continue;\n }\n\n let currentMatch = currentMatches.find(\n (m) => m.route.id === match!.route.id\n );\n let isRevalidatingLoader =\n currentMatch != null &&\n !isNewRouteInstance(currentMatch, match) &&\n (currentLoaderData && currentLoaderData[match.route.id]) !== undefined;\n\n if (isDeferredResult(result) && (isFetcher || isRevalidatingLoader)) {\n // Note: we do not have to touch activeDeferreds here since we race them\n // against the signal in resolveDeferredData and they'll get aborted\n // there if needed\n let signal = signals[index];\n invariant(\n signal,\n \"Expected an AbortSignal for revalidating fetcher deferred result\"\n );\n await resolveDeferredData(result, signal, isFetcher).then((result) => {\n if (result) {\n results[index] = result || results[index];\n }\n });\n }\n }\n}\n\nasync function resolveDeferredData(\n result: DeferredResult,\n signal: AbortSignal,\n unwrap = false\n): Promise {\n let aborted = await result.deferredData.resolveData(signal);\n if (aborted) {\n return;\n }\n\n if (unwrap) {\n try {\n return {\n type: ResultType.data,\n data: result.deferredData.unwrappedData,\n };\n } catch (e) {\n // Handle any TrackedPromise._error values encountered while unwrapping\n return {\n type: ResultType.error,\n error: e,\n };\n }\n }\n\n return {\n type: ResultType.data,\n data: result.deferredData.data,\n };\n}\n\nfunction hasNakedIndexQuery(search: string): boolean {\n return new URLSearchParams(search).getAll(\"index\").some((v) => v === \"\");\n}\n\nfunction getTargetMatch(\n matches: AgnosticDataRouteMatch[],\n location: Location | string\n) {\n let search =\n typeof location === \"string\" ? parsePath(location).search : location.search;\n if (\n matches[matches.length - 1].route.index &&\n hasNakedIndexQuery(search || \"\")\n ) {\n // Return the leaf index route when index is present\n return matches[matches.length - 1];\n }\n // Otherwise grab the deepest \"path contributing\" match (ignoring index and\n // pathless layout routes)\n let pathMatches = getPathContributingMatches(matches);\n return pathMatches[pathMatches.length - 1];\n}\n\nfunction getSubmissionFromNavigation(\n navigation: Navigation\n): Submission | undefined {\n let { formMethod, formAction, formEncType, text, formData, json } =\n navigation;\n if (!formMethod || !formAction || !formEncType) {\n return;\n }\n\n if (text != null) {\n return {\n formMethod,\n formAction,\n formEncType,\n formData: undefined,\n json: undefined,\n text,\n };\n } else if (formData != null) {\n return {\n formMethod,\n formAction,\n formEncType,\n formData,\n json: undefined,\n text: undefined,\n };\n } else if (json !== undefined) {\n return {\n formMethod,\n formAction,\n formEncType,\n formData: undefined,\n json,\n text: undefined,\n };\n }\n}\n\nfunction getLoadingNavigation(\n location: Location,\n submission?: Submission\n): NavigationStates[\"Loading\"] {\n if (submission) {\n let navigation: NavigationStates[\"Loading\"] = {\n state: \"loading\",\n location,\n formMethod: submission.formMethod,\n formAction: submission.formAction,\n formEncType: submission.formEncType,\n formData: submission.formData,\n json: submission.json,\n text: submission.text,\n };\n return navigation;\n } else {\n let navigation: NavigationStates[\"Loading\"] = {\n state: \"loading\",\n location,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n json: undefined,\n text: undefined,\n };\n return navigation;\n }\n}\n\nfunction getSubmittingNavigation(\n location: Location,\n submission: Submission\n): NavigationStates[\"Submitting\"] {\n let navigation: NavigationStates[\"Submitting\"] = {\n state: \"submitting\",\n location,\n formMethod: submission.formMethod,\n formAction: submission.formAction,\n formEncType: submission.formEncType,\n formData: submission.formData,\n json: submission.json,\n text: submission.text,\n };\n return navigation;\n}\n\nfunction getLoadingFetcher(\n submission?: Submission,\n data?: Fetcher[\"data\"]\n): FetcherStates[\"Loading\"] {\n if (submission) {\n let fetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n formMethod: submission.formMethod,\n formAction: submission.formAction,\n formEncType: submission.formEncType,\n formData: submission.formData,\n json: submission.json,\n text: submission.text,\n data,\n };\n return fetcher;\n } else {\n let fetcher: FetcherStates[\"Loading\"] = {\n state: \"loading\",\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n json: undefined,\n text: undefined,\n data,\n };\n return fetcher;\n }\n}\n\nfunction getSubmittingFetcher(\n submission: Submission,\n existingFetcher?: Fetcher\n): FetcherStates[\"Submitting\"] {\n let fetcher: FetcherStates[\"Submitting\"] = {\n state: \"submitting\",\n formMethod: submission.formMethod,\n formAction: submission.formAction,\n formEncType: submission.formEncType,\n formData: submission.formData,\n json: submission.json,\n text: submission.text,\n data: existingFetcher ? existingFetcher.data : undefined,\n };\n return fetcher;\n}\n\nfunction getDoneFetcher(data: Fetcher[\"data\"]): FetcherStates[\"Idle\"] {\n let fetcher: FetcherStates[\"Idle\"] = {\n state: \"idle\",\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n json: undefined,\n text: undefined,\n data,\n };\n return fetcher;\n}\n\nfunction restoreAppliedTransitions(\n _window: Window,\n transitions: Map>\n) {\n try {\n let sessionPositions = _window.sessionStorage.getItem(\n TRANSITIONS_STORAGE_KEY\n );\n if (sessionPositions) {\n let json = JSON.parse(sessionPositions);\n for (let [k, v] of Object.entries(json || {})) {\n if (v && Array.isArray(v)) {\n transitions.set(k, new Set(v || []));\n }\n }\n }\n } catch (e) {\n // no-op, use default empty object\n }\n}\n\nfunction persistAppliedTransitions(\n _window: Window,\n transitions: Map>\n) {\n if (transitions.size > 0) {\n let json: Record = {};\n for (let [k, v] of transitions) {\n json[k] = [...v];\n }\n try {\n _window.sessionStorage.setItem(\n TRANSITIONS_STORAGE_KEY,\n JSON.stringify(json)\n );\n } catch (error) {\n warning(\n false,\n `Failed to save applied view transitions in sessionStorage (${error}).`\n );\n }\n }\n}\n\n//#endregion\n","import * as React from \"react\";\nimport type {\n AgnosticIndexRouteObject,\n AgnosticNonIndexRouteObject,\n AgnosticRouteMatch,\n History,\n LazyRouteFunction,\n Location,\n Action as NavigationType,\n RelativeRoutingType,\n Router,\n StaticHandlerContext,\n To,\n TrackedPromise,\n} from \"@remix-run/router\";\n\n// Create react-specific types from the agnostic types in @remix-run/router to\n// export from react-router\nexport interface IndexRouteObject {\n caseSensitive?: AgnosticIndexRouteObject[\"caseSensitive\"];\n path?: AgnosticIndexRouteObject[\"path\"];\n id?: AgnosticIndexRouteObject[\"id\"];\n loader?: AgnosticIndexRouteObject[\"loader\"];\n action?: AgnosticIndexRouteObject[\"action\"];\n hasErrorBoundary?: AgnosticIndexRouteObject[\"hasErrorBoundary\"];\n shouldRevalidate?: AgnosticIndexRouteObject[\"shouldRevalidate\"];\n handle?: AgnosticIndexRouteObject[\"handle\"];\n index: true;\n children?: undefined;\n element?: React.ReactNode | null;\n errorElement?: React.ReactNode | null;\n Component?: React.ComponentType | null;\n ErrorBoundary?: React.ComponentType | null;\n lazy?: LazyRouteFunction;\n}\n\nexport interface NonIndexRouteObject {\n caseSensitive?: AgnosticNonIndexRouteObject[\"caseSensitive\"];\n path?: AgnosticNonIndexRouteObject[\"path\"];\n id?: AgnosticNonIndexRouteObject[\"id\"];\n loader?: AgnosticNonIndexRouteObject[\"loader\"];\n action?: AgnosticNonIndexRouteObject[\"action\"];\n hasErrorBoundary?: AgnosticNonIndexRouteObject[\"hasErrorBoundary\"];\n shouldRevalidate?: AgnosticNonIndexRouteObject[\"shouldRevalidate\"];\n handle?: AgnosticNonIndexRouteObject[\"handle\"];\n index?: false;\n children?: RouteObject[];\n element?: React.ReactNode | null;\n errorElement?: React.ReactNode | null;\n Component?: React.ComponentType | null;\n ErrorBoundary?: React.ComponentType | null;\n lazy?: LazyRouteFunction;\n}\n\nexport type RouteObject = IndexRouteObject | NonIndexRouteObject;\n\nexport type DataRouteObject = RouteObject & {\n children?: DataRouteObject[];\n id: string;\n};\n\nexport interface RouteMatch<\n ParamKey extends string = string,\n RouteObjectType extends RouteObject = RouteObject\n> extends AgnosticRouteMatch {}\n\nexport interface DataRouteMatch extends RouteMatch {}\n\nexport interface DataRouterContextObject extends NavigationContextObject {\n router: Router;\n staticContext?: StaticHandlerContext;\n}\n\nexport const DataRouterContext =\n React.createContext(null);\nif (__DEV__) {\n DataRouterContext.displayName = \"DataRouter\";\n}\n\nexport const DataRouterStateContext = React.createContext<\n Router[\"state\"] | null\n>(null);\nif (__DEV__) {\n DataRouterStateContext.displayName = \"DataRouterState\";\n}\n\nexport const AwaitContext = React.createContext(null);\nif (__DEV__) {\n AwaitContext.displayName = \"Await\";\n}\n\nexport interface NavigateOptions {\n replace?: boolean;\n state?: any;\n preventScrollReset?: boolean;\n relative?: RelativeRoutingType;\n unstable_viewTransition?: boolean;\n}\n\n/**\n * A Navigator is a \"location changer\"; it's how you get to different locations.\n *\n * Every history instance conforms to the Navigator interface, but the\n * distinction is useful primarily when it comes to the low-level `` API\n * where both the location and a navigator must be provided separately in order\n * to avoid \"tearing\" that may occur in a suspense-enabled app if the action\n * and/or location were to be read directly from the history instance.\n */\nexport interface Navigator {\n createHref: History[\"createHref\"];\n // Optional for backwards-compat with Router/HistoryRouter usage (edge case)\n encodeLocation?: History[\"encodeLocation\"];\n go: History[\"go\"];\n push(to: To, state?: any, opts?: NavigateOptions): void;\n replace(to: To, state?: any, opts?: NavigateOptions): void;\n}\n\ninterface NavigationContextObject {\n basename: string;\n navigator: Navigator;\n static: boolean;\n}\n\nexport const NavigationContext = React.createContext(\n null!\n);\n\nif (__DEV__) {\n NavigationContext.displayName = \"Navigation\";\n}\n\ninterface LocationContextObject {\n location: Location;\n navigationType: NavigationType;\n}\n\nexport const LocationContext = React.createContext(\n null!\n);\n\nif (__DEV__) {\n LocationContext.displayName = \"Location\";\n}\n\nexport interface RouteContextObject {\n outlet: React.ReactElement | null;\n matches: RouteMatch[];\n isDataRoute: boolean;\n}\n\nexport const RouteContext = React.createContext({\n outlet: null,\n matches: [],\n isDataRoute: false,\n});\n\nif (__DEV__) {\n RouteContext.displayName = \"Route\";\n}\n\nexport const RouteErrorContext = React.createContext(null);\n\nif (__DEV__) {\n RouteErrorContext.displayName = \"RouteError\";\n}\n","import * as React from \"react\";\nimport type {\n Blocker,\n BlockerFunction,\n Location,\n ParamParseKey,\n Params,\n Path,\n PathMatch,\n PathPattern,\n RelativeRoutingType,\n Router as RemixRouter,\n RevalidationState,\n To,\n UIMatch,\n} from \"@remix-run/router\";\nimport {\n IDLE_BLOCKER,\n Action as NavigationType,\n UNSAFE_convertRouteMatchToUiMatch as convertRouteMatchToUiMatch,\n UNSAFE_getPathContributingMatches as getPathContributingMatches,\n UNSAFE_invariant as invariant,\n isRouteErrorResponse,\n joinPaths,\n matchPath,\n matchRoutes,\n parsePath,\n resolveTo,\n stripBasename,\n UNSAFE_warning as warning,\n} from \"@remix-run/router\";\n\nimport type {\n DataRouteMatch,\n NavigateOptions,\n RouteContextObject,\n RouteMatch,\n RouteObject,\n} from \"./context\";\nimport {\n AwaitContext,\n DataRouterContext,\n DataRouterStateContext,\n LocationContext,\n NavigationContext,\n RouteContext,\n RouteErrorContext,\n} from \"./context\";\n\n/**\n * Returns the full href for the given \"to\" value. This is useful for building\n * custom links that are also accessible and preserve right-click behavior.\n *\n * @see https://reactrouter.com/hooks/use-href\n */\nexport function useHref(\n to: To,\n { relative }: { relative?: RelativeRoutingType } = {}\n): string {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useHref() may be used only in the context of a component.`\n );\n\n let { basename, navigator } = React.useContext(NavigationContext);\n let { hash, pathname, search } = useResolvedPath(to, { relative });\n\n let joinedPathname = pathname;\n\n // If we're operating within a basename, prepend it to the pathname prior\n // to creating the href. If this is a root navigation, then just use the raw\n // basename which allows the basename to have full control over the presence\n // of a trailing slash on root links\n if (basename !== \"/\") {\n joinedPathname =\n pathname === \"/\" ? basename : joinPaths([basename, pathname]);\n }\n\n return navigator.createHref({ pathname: joinedPathname, search, hash });\n}\n\n/**\n * Returns true if this component is a descendant of a ``.\n *\n * @see https://reactrouter.com/hooks/use-in-router-context\n */\nexport function useInRouterContext(): boolean {\n return React.useContext(LocationContext) != null;\n}\n\n/**\n * Returns the current location object, which represents the current URL in web\n * browsers.\n *\n * Note: If you're using this it may mean you're doing some of your own\n * \"routing\" in your app, and we'd like to know what your use case is. We may\n * be able to provide something higher-level to better suit your needs.\n *\n * @see https://reactrouter.com/hooks/use-location\n */\nexport function useLocation(): Location {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useLocation() may be used only in the context of a component.`\n );\n\n return React.useContext(LocationContext).location;\n}\n\n/**\n * Returns the current navigation action which describes how the router came to\n * the current location, either by a pop, push, or replace on the history stack.\n *\n * @see https://reactrouter.com/hooks/use-navigation-type\n */\nexport function useNavigationType(): NavigationType {\n return React.useContext(LocationContext).navigationType;\n}\n\n/**\n * Returns a PathMatch object if the given pattern matches the current URL.\n * This is useful for components that need to know \"active\" state, e.g.\n * ``.\n *\n * @see https://reactrouter.com/hooks/use-match\n */\nexport function useMatch<\n ParamKey extends ParamParseKey,\n Path extends string\n>(pattern: PathPattern | Path): PathMatch | null {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useMatch() may be used only in the context of a component.`\n );\n\n let { pathname } = useLocation();\n return React.useMemo(\n () => matchPath(pattern, pathname),\n [pathname, pattern]\n );\n}\n\n/**\n * The interface for the navigate() function returned from useNavigate().\n */\nexport interface NavigateFunction {\n (to: To, options?: NavigateOptions): void;\n (delta: number): void;\n}\n\nconst navigateEffectWarning =\n `You should call navigate() in a React.useEffect(), not when ` +\n `your component is first rendered.`;\n\n// Mute warnings for calls to useNavigate in SSR environments\nfunction useIsomorphicLayoutEffect(\n cb: Parameters[0]\n) {\n let isStatic = React.useContext(NavigationContext).static;\n if (!isStatic) {\n // We should be able to get rid of this once react 18.3 is released\n // See: https://github.com/facebook/react/pull/26395\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useLayoutEffect(cb);\n }\n}\n\n/**\n * Returns an imperative method for changing the location. Used by ``s, but\n * may also be used by other elements to change the location.\n *\n * @see https://reactrouter.com/hooks/use-navigate\n */\nexport function useNavigate(): NavigateFunction {\n let { isDataRoute } = React.useContext(RouteContext);\n // Conditional usage is OK here because the usage of a data router is static\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return isDataRoute ? useNavigateStable() : useNavigateUnstable();\n}\n\nfunction useNavigateUnstable(): NavigateFunction {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useNavigate() may be used only in the context of a component.`\n );\n\n let dataRouterContext = React.useContext(DataRouterContext);\n let { basename, navigator } = React.useContext(NavigationContext);\n let { matches } = React.useContext(RouteContext);\n let { pathname: locationPathname } = useLocation();\n\n let routePathnamesJson = JSON.stringify(\n getPathContributingMatches(matches).map((match) => match.pathnameBase)\n );\n\n let activeRef = React.useRef(false);\n useIsomorphicLayoutEffect(() => {\n activeRef.current = true;\n });\n\n let navigate: NavigateFunction = React.useCallback(\n (to: To | number, options: NavigateOptions = {}) => {\n warning(activeRef.current, navigateEffectWarning);\n\n // Short circuit here since if this happens on first render the navigate\n // is useless because we haven't wired up our history listener yet\n if (!activeRef.current) return;\n\n if (typeof to === \"number\") {\n navigator.go(to);\n return;\n }\n\n let path = resolveTo(\n to,\n JSON.parse(routePathnamesJson),\n locationPathname,\n options.relative === \"path\"\n );\n\n // If we're operating within a basename, prepend it to the pathname prior\n // to handing off to history (but only if we're not in a data router,\n // otherwise it'll prepend the basename inside of the router).\n // If this is a root navigation, then we navigate to the raw basename\n // which allows the basename to have full control over the presence of a\n // trailing slash on root links\n if (dataRouterContext == null && basename !== \"/\") {\n path.pathname =\n path.pathname === \"/\"\n ? basename\n : joinPaths([basename, path.pathname]);\n }\n\n (!!options.replace ? navigator.replace : navigator.push)(\n path,\n options.state,\n options\n );\n },\n [\n basename,\n navigator,\n routePathnamesJson,\n locationPathname,\n dataRouterContext,\n ]\n );\n\n return navigate;\n}\n\nconst OutletContext = React.createContext(null);\n\n/**\n * Returns the context (if provided) for the child route at this level of the route\n * hierarchy.\n * @see https://reactrouter.com/hooks/use-outlet-context\n */\nexport function useOutletContext(): Context {\n return React.useContext(OutletContext) as Context;\n}\n\n/**\n * Returns the element for the child route at this level of the route\n * hierarchy. Used internally by `` to render child routes.\n *\n * @see https://reactrouter.com/hooks/use-outlet\n */\nexport function useOutlet(context?: unknown): React.ReactElement | null {\n let outlet = React.useContext(RouteContext).outlet;\n if (outlet) {\n return (\n {outlet}\n );\n }\n return outlet;\n}\n\n/**\n * Returns an object of key/value pairs of the dynamic params from the current\n * URL that were matched by the route path.\n *\n * @see https://reactrouter.com/hooks/use-params\n */\nexport function useParams<\n ParamsOrKey extends string | Record = string\n>(): Readonly<\n [ParamsOrKey] extends [string] ? Params : Partial\n> {\n let { matches } = React.useContext(RouteContext);\n let routeMatch = matches[matches.length - 1];\n return routeMatch ? (routeMatch.params as any) : {};\n}\n\n/**\n * Resolves the pathname of the given `to` value against the current location.\n *\n * @see https://reactrouter.com/hooks/use-resolved-path\n */\nexport function useResolvedPath(\n to: To,\n { relative }: { relative?: RelativeRoutingType } = {}\n): Path {\n let { matches } = React.useContext(RouteContext);\n let { pathname: locationPathname } = useLocation();\n\n let routePathnamesJson = JSON.stringify(\n getPathContributingMatches(matches).map((match) => match.pathnameBase)\n );\n\n return React.useMemo(\n () =>\n resolveTo(\n to,\n JSON.parse(routePathnamesJson),\n locationPathname,\n relative === \"path\"\n ),\n [to, routePathnamesJson, locationPathname, relative]\n );\n}\n\n/**\n * Returns the element of the route that matched the current location, prepared\n * with the correct context to render the remainder of the route tree. Route\n * elements in the tree must render an `` to render their child route's\n * element.\n *\n * @see https://reactrouter.com/hooks/use-routes\n */\nexport function useRoutes(\n routes: RouteObject[],\n locationArg?: Partial | string\n): React.ReactElement | null {\n return useRoutesImpl(routes, locationArg);\n}\n\n// Internal implementation with accept optional param for RouterProvider usage\nexport function useRoutesImpl(\n routes: RouteObject[],\n locationArg?: Partial | string,\n dataRouterState?: RemixRouter[\"state\"]\n): React.ReactElement | null {\n invariant(\n useInRouterContext(),\n // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n `useRoutes() may be used only in the context of a component.`\n );\n\n let { navigator } = React.useContext(NavigationContext);\n let { matches: parentMatches } = React.useContext(RouteContext);\n let routeMatch = parentMatches[parentMatches.length - 1];\n let parentParams = routeMatch ? routeMatch.params : {};\n let parentPathname = routeMatch ? routeMatch.pathname : \"/\";\n let parentPathnameBase = routeMatch ? routeMatch.pathnameBase : \"/\";\n let parentRoute = routeMatch && routeMatch.route;\n\n if (__DEV__) {\n // You won't get a warning about 2 different under a \n // without a trailing *, but this is a best-effort warning anyway since we\n // cannot even give the warning unless they land at the parent route.\n //\n // Example:\n //\n // \n // {/* This route path MUST end with /* because otherwise\n // it will never match /blog/post/123 */}\n // } />\n // } />\n // \n //\n // function Blog() {\n // return (\n // \n // } />\n // \n // );\n // }\n let parentPath = (parentRoute && parentRoute.path) || \"\";\n warningOnce(\n parentPathname,\n !parentRoute || parentPath.endsWith(\"*\"),\n `You rendered descendant (or called \\`useRoutes()\\`) at ` +\n `\"${parentPathname}\" (under ) but the ` +\n `parent route path has no trailing \"*\". This means if you navigate ` +\n `deeper, the parent won't match anymore and therefore the child ` +\n `routes will never render.\\n\\n` +\n `Please change the parent to .`\n );\n }\n\n let locationFromContext = useLocation();\n\n let location;\n if (locationArg) {\n let parsedLocationArg =\n typeof locationArg === \"string\" ? parsePath(locationArg) : locationArg;\n\n invariant(\n parentPathnameBase === \"/\" ||\n parsedLocationArg.pathname?.startsWith(parentPathnameBase),\n `When overriding the location using \\`\\` or \\`useRoutes(routes, location)\\`, ` +\n `the location pathname must begin with the portion of the URL pathname that was ` +\n `matched by all parent routes. The current pathname base is \"${parentPathnameBase}\" ` +\n `but pathname \"${parsedLocationArg.pathname}\" was given in the \\`location\\` prop.`\n );\n\n location = parsedLocationArg;\n } else {\n location = locationFromContext;\n }\n\n let pathname = location.pathname || \"/\";\n let remainingPathname =\n parentPathnameBase === \"/\"\n ? pathname\n : pathname.slice(parentPathnameBase.length) || \"/\";\n\n let matches = matchRoutes(routes, { pathname: remainingPathname });\n\n if (__DEV__) {\n warning(\n parentRoute || matches != null,\n `No routes matched location \"${location.pathname}${location.search}${location.hash}\" `\n );\n\n warning(\n matches == null ||\n matches[matches.length - 1].route.element !== undefined ||\n matches[matches.length - 1].route.Component !== undefined,\n `Matched leaf route at location \"${location.pathname}${location.search}${location.hash}\" ` +\n `does not have an element or Component. This means it will render an with a ` +\n `null value by default resulting in an \"empty\" page.`\n );\n }\n\n let renderedMatches = _renderMatches(\n matches &&\n matches.map((match) =>\n Object.assign({}, match, {\n params: Object.assign({}, parentParams, match.params),\n pathname: joinPaths([\n parentPathnameBase,\n // Re-encode pathnames that were decoded inside matchRoutes\n navigator.encodeLocation\n ? navigator.encodeLocation(match.pathname).pathname\n : match.pathname,\n ]),\n pathnameBase:\n match.pathnameBase === \"/\"\n ? parentPathnameBase\n : joinPaths([\n parentPathnameBase,\n // Re-encode pathnames that were decoded inside matchRoutes\n navigator.encodeLocation\n ? navigator.encodeLocation(match.pathnameBase).pathname\n : match.pathnameBase,\n ]),\n })\n ),\n parentMatches,\n dataRouterState\n );\n\n // When a user passes in a `locationArg`, the associated routes need to\n // be wrapped in a new `LocationContext.Provider` in order for `useLocation`\n // to use the scoped location instead of the global location.\n if (locationArg && renderedMatches) {\n return (\n \n {renderedMatches}\n \n );\n }\n\n return renderedMatches;\n}\n\nfunction DefaultErrorComponent() {\n let error = useRouteError();\n let message = isRouteErrorResponse(error)\n ? `${error.status} ${error.statusText}`\n : error instanceof Error\n ? error.message\n : JSON.stringify(error);\n let stack = error instanceof Error ? error.stack : null;\n let lightgrey = \"rgba(200,200,200, 0.5)\";\n let preStyles = { padding: \"0.5rem\", backgroundColor: lightgrey };\n let codeStyles = { padding: \"2px 4px\", backgroundColor: lightgrey };\n\n let devInfo = null;\n if (__DEV__) {\n console.error(\n \"Error handled by React Router default ErrorBoundary:\",\n error\n );\n\n devInfo = (\n <>\n

💿 Hey developer 👋

\n

\n You can provide a way better UX than this when your app throws errors\n by providing your own ErrorBoundary or{\" \"}\n errorElement prop on your route.\n

\n \n );\n }\n\n return (\n <>\n

Unexpected Application Error!

\n

{message}

\n {stack ?
{stack}
: null}\n {devInfo}\n \n );\n}\n\nconst defaultErrorElement = ;\n\ntype RenderErrorBoundaryProps = React.PropsWithChildren<{\n location: Location;\n revalidation: RevalidationState;\n error: any;\n component: React.ReactNode;\n routeContext: RouteContextObject;\n}>;\n\ntype RenderErrorBoundaryState = {\n location: Location;\n revalidation: RevalidationState;\n error: any;\n};\n\nexport class RenderErrorBoundary extends React.Component<\n RenderErrorBoundaryProps,\n RenderErrorBoundaryState\n> {\n constructor(props: RenderErrorBoundaryProps) {\n super(props);\n this.state = {\n location: props.location,\n revalidation: props.revalidation,\n error: props.error,\n };\n }\n\n static getDerivedStateFromError(error: any) {\n return { error: error };\n }\n\n static getDerivedStateFromProps(\n props: RenderErrorBoundaryProps,\n state: RenderErrorBoundaryState\n ) {\n // When we get into an error state, the user will likely click \"back\" to the\n // previous page that didn't have an error. Because this wraps the entire\n // application, that will have no effect--the error page continues to display.\n // This gives us a mechanism to recover from the error when the location changes.\n //\n // Whether we're in an error state or not, we update the location in state\n // so that when we are in an error state, it gets reset when a new location\n // comes in and the user recovers from the error.\n if (\n state.location !== props.location ||\n (state.revalidation !== \"idle\" && props.revalidation === \"idle\")\n ) {\n return {\n error: props.error,\n location: props.location,\n revalidation: props.revalidation,\n };\n }\n\n // If we're not changing locations, preserve the location but still surface\n // any new errors that may come through. We retain the existing error, we do\n // this because the error provided from the app state may be cleared without\n // the location changing.\n return {\n error: props.error || state.error,\n location: state.location,\n revalidation: props.revalidation || state.revalidation,\n };\n }\n\n componentDidCatch(error: any, errorInfo: any) {\n console.error(\n \"React Router caught the following error during render\",\n error,\n errorInfo\n );\n }\n\n render() {\n return this.state.error ? (\n \n \n \n ) : (\n this.props.children\n );\n }\n}\n\ninterface RenderedRouteProps {\n routeContext: RouteContextObject;\n match: RouteMatch;\n children: React.ReactNode | null;\n}\n\nfunction RenderedRoute({ routeContext, match, children }: RenderedRouteProps) {\n let dataRouterContext = React.useContext(DataRouterContext);\n\n // Track how deep we got in our render pass to emulate SSR componentDidCatch\n // in a DataStaticRouter\n if (\n dataRouterContext &&\n dataRouterContext.static &&\n dataRouterContext.staticContext &&\n (match.route.errorElement || match.route.ErrorBoundary)\n ) {\n dataRouterContext.staticContext._deepestRenderedBoundaryId = match.route.id;\n }\n\n return (\n \n {children}\n \n );\n}\n\nexport function _renderMatches(\n matches: RouteMatch[] | null,\n parentMatches: RouteMatch[] = [],\n dataRouterState: RemixRouter[\"state\"] | null = null\n): React.ReactElement | null {\n if (matches == null) {\n if (dataRouterState?.errors) {\n // Don't bail if we have data router errors so we can render them in the\n // boundary. Use the pre-matched (or shimmed) matches\n matches = dataRouterState.matches as DataRouteMatch[];\n } else {\n return null;\n }\n }\n\n let renderedMatches = matches;\n\n // If we have data errors, trim matches to the highest error boundary\n let errors = dataRouterState?.errors;\n if (errors != null) {\n let errorIndex = renderedMatches.findIndex(\n (m) => m.route.id && errors?.[m.route.id]\n );\n invariant(\n errorIndex >= 0,\n `Could not find a matching route for errors on route IDs: ${Object.keys(\n errors\n ).join(\",\")}`\n );\n renderedMatches = renderedMatches.slice(\n 0,\n Math.min(renderedMatches.length, errorIndex + 1)\n );\n }\n\n return renderedMatches.reduceRight((outlet, match, index) => {\n let error = match.route.id ? errors?.[match.route.id] : null;\n // Only data routers handle errors\n let errorElement: React.ReactNode | null = null;\n if (dataRouterState) {\n errorElement = match.route.errorElement || defaultErrorElement;\n }\n let matches = parentMatches.concat(renderedMatches.slice(0, index + 1));\n let getChildren = () => {\n let children: React.ReactNode;\n if (error) {\n children = errorElement;\n } else if (match.route.Component) {\n // Note: This is a de-optimized path since React won't re-use the\n // ReactElement since it's identity changes with each new\n // React.createElement call. We keep this so folks can use\n // `` in `` but generally `Component`\n // usage is only advised in `RouterProvider` when we can convert it to\n // `element` ahead of time.\n children = ;\n } else if (match.route.element) {\n children = match.route.element;\n } else {\n children = outlet;\n }\n return (\n \n );\n };\n // Only wrap in an error boundary within data router usages when we have an\n // ErrorBoundary/errorElement on this route. Otherwise let it bubble up to\n // an ancestor ErrorBoundary/errorElement\n return dataRouterState &&\n (match.route.ErrorBoundary || match.route.errorElement || index === 0) ? (\n \n ) : (\n getChildren()\n );\n }, null as React.ReactElement | null);\n}\n\nenum DataRouterHook {\n UseBlocker = \"useBlocker\",\n UseRevalidator = \"useRevalidator\",\n UseNavigateStable = \"useNavigate\",\n}\n\nenum DataRouterStateHook {\n UseBlocker = \"useBlocker\",\n UseLoaderData = \"useLoaderData\",\n UseActionData = \"useActionData\",\n UseRouteError = \"useRouteError\",\n UseNavigation = \"useNavigation\",\n UseRouteLoaderData = \"useRouteLoaderData\",\n UseMatches = \"useMatches\",\n UseRevalidator = \"useRevalidator\",\n UseNavigateStable = \"useNavigate\",\n UseRouteId = \"useRouteId\",\n}\n\nfunction getDataRouterConsoleError(\n hookName: DataRouterHook | DataRouterStateHook\n) {\n return `${hookName} must be used within a data router. See https://reactrouter.com/routers/picking-a-router.`;\n}\n\nfunction useDataRouterContext(hookName: DataRouterHook) {\n let ctx = React.useContext(DataRouterContext);\n invariant(ctx, getDataRouterConsoleError(hookName));\n return ctx;\n}\n\nfunction useDataRouterState(hookName: DataRouterStateHook) {\n let state = React.useContext(DataRouterStateContext);\n invariant(state, getDataRouterConsoleError(hookName));\n return state;\n}\n\nfunction useRouteContext(hookName: DataRouterStateHook) {\n let route = React.useContext(RouteContext);\n invariant(route, getDataRouterConsoleError(hookName));\n return route;\n}\n\n// Internal version with hookName-aware debugging\nfunction useCurrentRouteId(hookName: DataRouterStateHook) {\n let route = useRouteContext(hookName);\n let thisRoute = route.matches[route.matches.length - 1];\n invariant(\n thisRoute.route.id,\n `${hookName} can only be used on routes that contain a unique \"id\"`\n );\n return thisRoute.route.id;\n}\n\n/**\n * Returns the ID for the nearest contextual route\n */\nexport function useRouteId() {\n return useCurrentRouteId(DataRouterStateHook.UseRouteId);\n}\n\n/**\n * Returns the current navigation, defaulting to an \"idle\" navigation when\n * no navigation is in progress\n */\nexport function useNavigation() {\n let state = useDataRouterState(DataRouterStateHook.UseNavigation);\n return state.navigation;\n}\n\n/**\n * Returns a revalidate function for manually triggering revalidation, as well\n * as the current state of any manual revalidations\n */\nexport function useRevalidator() {\n let dataRouterContext = useDataRouterContext(DataRouterHook.UseRevalidator);\n let state = useDataRouterState(DataRouterStateHook.UseRevalidator);\n return React.useMemo(\n () => ({\n revalidate: dataRouterContext.router.revalidate,\n state: state.revalidation,\n }),\n [dataRouterContext.router.revalidate, state.revalidation]\n );\n}\n\n/**\n * Returns the active route matches, useful for accessing loaderData for\n * parent/child routes or the route \"handle\" property\n */\nexport function useMatches(): UIMatch[] {\n let { matches, loaderData } = useDataRouterState(\n DataRouterStateHook.UseMatches\n );\n return React.useMemo(\n () => matches.map((m) => convertRouteMatchToUiMatch(m, loaderData)),\n [matches, loaderData]\n );\n}\n\n/**\n * Returns the loader data for the nearest ancestor Route loader\n */\nexport function useLoaderData(): unknown {\n let state = useDataRouterState(DataRouterStateHook.UseLoaderData);\n let routeId = useCurrentRouteId(DataRouterStateHook.UseLoaderData);\n\n if (state.errors && state.errors[routeId] != null) {\n console.error(\n `You cannot \\`useLoaderData\\` in an errorElement (routeId: ${routeId})`\n );\n return undefined;\n }\n return state.loaderData[routeId];\n}\n\n/**\n * Returns the loaderData for the given routeId\n */\nexport function useRouteLoaderData(routeId: string): unknown {\n let state = useDataRouterState(DataRouterStateHook.UseRouteLoaderData);\n return state.loaderData[routeId];\n}\n\n/**\n * Returns the action data for the nearest ancestor Route action\n */\nexport function useActionData(): unknown {\n let state = useDataRouterState(DataRouterStateHook.UseActionData);\n\n let route = React.useContext(RouteContext);\n invariant(route, `useActionData must be used inside a RouteContext`);\n\n return Object.values(state?.actionData || {})[0];\n}\n\n/**\n * Returns the nearest ancestor Route error, which could be a loader/action\n * error or a render error. This is intended to be called from your\n * ErrorBoundary/errorElement to display a proper error message.\n */\nexport function useRouteError(): unknown {\n let error = React.useContext(RouteErrorContext);\n let state = useDataRouterState(DataRouterStateHook.UseRouteError);\n let routeId = useCurrentRouteId(DataRouterStateHook.UseRouteError);\n\n // If this was a render error, we put it in a RouteError context inside\n // of RenderErrorBoundary\n if (error) {\n return error;\n }\n\n // Otherwise look for errors from our data router state\n return state.errors?.[routeId];\n}\n\n/**\n * Returns the happy-path data from the nearest ancestor `` value\n */\nexport function useAsyncValue(): unknown {\n let value = React.useContext(AwaitContext);\n return value?._data;\n}\n\n/**\n * Returns the error from the nearest ancestor `` value\n */\nexport function useAsyncError(): unknown {\n let value = React.useContext(AwaitContext);\n return value?._error;\n}\n\nlet blockerId = 0;\n\n/**\n * Allow the application to block navigations within the SPA and present the\n * user a confirmation dialog to confirm the navigation. Mostly used to avoid\n * using half-filled form data. This does not handle hard-reloads or\n * cross-origin navigations.\n */\nexport function useBlocker(shouldBlock: boolean | BlockerFunction): Blocker {\n let { router, basename } = useDataRouterContext(DataRouterHook.UseBlocker);\n let state = useDataRouterState(DataRouterStateHook.UseBlocker);\n\n let [blockerKey, setBlockerKey] = React.useState(\"\");\n let blockerFunction = React.useCallback(\n (arg) => {\n if (typeof shouldBlock !== \"function\") {\n return !!shouldBlock;\n }\n if (basename === \"/\") {\n return shouldBlock(arg);\n }\n\n // If they provided us a function and we've got an active basename, strip\n // it from the locations we expose to the user to match the behavior of\n // useLocation\n let { currentLocation, nextLocation, historyAction } = arg;\n return shouldBlock({\n currentLocation: {\n ...currentLocation,\n pathname:\n stripBasename(currentLocation.pathname, basename) ||\n currentLocation.pathname,\n },\n nextLocation: {\n ...nextLocation,\n pathname:\n stripBasename(nextLocation.pathname, basename) ||\n nextLocation.pathname,\n },\n historyAction,\n });\n },\n [basename, shouldBlock]\n );\n\n // This effect is in charge of blocker key assignment and deletion (which is\n // tightly coupled to the key)\n React.useEffect(() => {\n let key = String(++blockerId);\n setBlockerKey(key);\n return () => router.deleteBlocker(key);\n }, [router]);\n\n // This effect handles assigning the blockerFunction. This is to handle\n // unstable blocker function identities, and happens only after the prior\n // effect so we don't get an orphaned blockerFunction in the router with a\n // key of \"\". Until then we just have the IDLE_BLOCKER.\n React.useEffect(() => {\n if (blockerKey !== \"\") {\n router.getBlocker(blockerKey, blockerFunction);\n }\n }, [router, blockerKey, blockerFunction]);\n\n // Prefer the blocker from `state` not `router.state` since DataRouterContext\n // is memoized so this ensures we update on blocker state updates\n return blockerKey && state.blockers.has(blockerKey)\n ? state.blockers.get(blockerKey)!\n : IDLE_BLOCKER;\n}\n\n/**\n * Stable version of useNavigate that is used when we are in the context of\n * a RouterProvider.\n */\nfunction useNavigateStable(): NavigateFunction {\n let { router } = useDataRouterContext(DataRouterHook.UseNavigateStable);\n let id = useCurrentRouteId(DataRouterStateHook.UseNavigateStable);\n\n let activeRef = React.useRef(false);\n useIsomorphicLayoutEffect(() => {\n activeRef.current = true;\n });\n\n let navigate: NavigateFunction = React.useCallback(\n (to: To | number, options: NavigateOptions = {}) => {\n warning(activeRef.current, navigateEffectWarning);\n\n // Short circuit here since if this happens on first render the navigate\n // is useless because we haven't wired up our router subscriber yet\n if (!activeRef.current) return;\n\n if (typeof to === \"number\") {\n router.navigate(to);\n } else {\n router.navigate(to, { fromRouteId: id, ...options });\n }\n },\n [router, id]\n );\n\n return navigate;\n}\n\nconst alreadyWarned: Record = {};\n\nfunction warningOnce(key: string, cond: boolean, message: string) {\n if (!cond && !alreadyWarned[key]) {\n alreadyWarned[key] = true;\n warning(false, message);\n }\n}\n","import type {\n InitialEntry,\n LazyRouteFunction,\n Location,\n MemoryHistory,\n RelativeRoutingType,\n Router as RemixRouter,\n RouterState,\n RouterSubscriber,\n To,\n TrackedPromise,\n} from \"@remix-run/router\";\nimport {\n AbortedDeferredError,\n Action as NavigationType,\n createMemoryHistory,\n UNSAFE_getPathContributingMatches as getPathContributingMatches,\n UNSAFE_invariant as invariant,\n parsePath,\n resolveTo,\n stripBasename,\n UNSAFE_warning as warning,\n} from \"@remix-run/router\";\nimport * as React from \"react\";\n\nimport type {\n DataRouteObject,\n IndexRouteObject,\n Navigator,\n NonIndexRouteObject,\n RouteMatch,\n RouteObject,\n} from \"./context\";\nimport {\n AwaitContext,\n DataRouterContext,\n DataRouterStateContext,\n LocationContext,\n NavigationContext,\n RouteContext,\n} from \"./context\";\nimport {\n _renderMatches,\n useAsyncValue,\n useInRouterContext,\n useLocation,\n useNavigate,\n useOutlet,\n useRoutes,\n useRoutesImpl,\n} from \"./hooks\";\n\nexport interface FutureConfig {\n v7_startTransition: boolean;\n}\n\nexport interface RouterProviderProps {\n fallbackElement?: React.ReactNode;\n router: RemixRouter;\n future?: Partial;\n}\n\n/**\n Webpack + React 17 fails to compile on any of the following because webpack\n complains that `startTransition` doesn't exist in `React`:\n * import { startTransition } from \"react\"\n * import * as React from from \"react\";\n \"startTransition\" in React ? React.startTransition(() => setState()) : setState()\n * import * as React from from \"react\";\n \"startTransition\" in React ? React[\"startTransition\"](() => setState()) : setState()\n\n Moving it to a constant such as the following solves the Webpack/React 17 issue:\n * import * as React from from \"react\";\n const START_TRANSITION = \"startTransition\";\n START_TRANSITION in React ? React[START_TRANSITION](() => setState()) : setState()\n\n However, that introduces webpack/terser minification issues in production builds\n in React 18 where minification/obfuscation ends up removing the call of\n React.startTransition entirely from the first half of the ternary. Grabbing\n this exported reference once up front resolves that issue.\n\n See https://github.com/remix-run/react-router/issues/10579\n*/\nconst START_TRANSITION = \"startTransition\";\nconst startTransitionImpl = React[START_TRANSITION];\n\n/**\n * Given a Remix Router instance, render the appropriate UI\n */\nexport function RouterProvider({\n fallbackElement,\n router,\n future,\n}: RouterProviderProps): React.ReactElement {\n let [state, setStateImpl] = React.useState(router.state);\n let { v7_startTransition } = future || {};\n\n let setState = React.useCallback(\n (newState: RouterState) => {\n if (v7_startTransition && startTransitionImpl) {\n startTransitionImpl(() => setStateImpl(newState));\n } else {\n setStateImpl(newState);\n }\n },\n [setStateImpl, v7_startTransition]\n );\n\n // Need to use a layout effect here so we are subscribed early enough to\n // pick up on any render-driven redirects/navigations (useEffect/)\n React.useLayoutEffect(() => router.subscribe(setState), [router, setState]);\n\n let navigator = React.useMemo((): Navigator => {\n return {\n createHref: router.createHref,\n encodeLocation: router.encodeLocation,\n go: (n) => router.navigate(n),\n push: (to, state, opts) =>\n router.navigate(to, {\n state,\n preventScrollReset: opts?.preventScrollReset,\n }),\n replace: (to, state, opts) =>\n router.navigate(to, {\n replace: true,\n state,\n preventScrollReset: opts?.preventScrollReset,\n }),\n };\n }, [router]);\n\n let basename = router.basename || \"/\";\n\n let dataRouterContext = React.useMemo(\n () => ({\n router,\n navigator,\n static: false,\n basename,\n }),\n [router, navigator, basename]\n );\n\n // The fragment and {null} here are important! We need them to keep React 18's\n // useId happy when we are server-rendering since we may have a \ No newline at end of file diff --git a/docs/ticker.5331175f.js b/docs/ticker.5331175f.js new file mode 100644 index 0000000..aa76b50 --- /dev/null +++ b/docs/ticker.5331175f.js @@ -0,0 +1,8 @@ +!function(){function e(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var t={}; +/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ +function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t,o){return a=n()?Reflect.construct:function(e,t,n){var a=[null];a.push.apply(a,t);var o=new(Function.bind.apply(e,a));return n&&r(o,n.prototype),o},a.apply(null,arguments)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){if(Array.isArray(e))return e}function u(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw a}}return o}}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:globalThis,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["*"];t.addEventListener("message",(function r(i){if(i&&i.data)if(function(e,t){var n=!0,r=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var u=o.value;if(t===u||"*"===u)return!0;if(u instanceof RegExp&&u.test(t))return!0}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}return!1}(n,i.origin)){var u,l=Object.assign({path:[]},i.data),c=l.id,s=l.type,p=l.path,d=(i.data.argumentList||[]).map(F);try{var v=p.slice(0,-1).reduce((function(e,t){return e[t]}),e),h=p.reduce((function(e,t){return e[t]}),e);switch(s){case"GET":u=h;break;case"SET":v[p.slice(-1)[0]]=F(i.data.value),u=!0;break;case"APPLY":u=h.apply(v,d);break;case"CONSTRUCT":u=function(e){return Object.assign(e,o({},m,!0))}(a(h,y(d)));break;case"ENDPOINT":var g=new MessageChannel,S=g.port1,E=g.port2;T(e,E),u=function(e,t){return N.set(e,t),e}(S,[S]);break;case"RELEASE":u=void 0;break;default:return}}catch(e){u=o({value:e},I,0)}Promise.resolve(u).catch((function(e){return o({value:e},I,0)})).then((function(n){var a=f(z(n),2),o=a[0],i=a[1];t.postMessage(Object.assign(Object.assign({},o),{id:c}),i),"RELEASE"===s&&(t.removeEventListener("message",r),k(t),b in e&&"function"==typeof e[b]&&e[b]())})).catch((function(e){var n=f(z(o({value:new TypeError("Unserializable return value")},I,0)),2),r=n[0],a=n[1];t.postMessage(Object.assign(Object.assign({},r),{id:c}),a)}))}else console.warn("Invalid origin '".concat(i.origin,"' for comlink proxy"))})),t.start&&t.start()}function k(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function A(e){if(e)throw new Error("Proxy has been released and is not useable")}function w(e){return D(e,{type:"RELEASE"}).then((function(){k(e)}))}var O=new WeakMap,x="FinalizationRegistry"in globalThis&&new FinalizationRegistry((function(e){var t=(O.get(e)||0)-1;O.set(e,t),0===t&&w(e)}));function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!1,r=new Proxy(arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},{get:function(a,o){if(A(n),o===g)return function(){!function(e){x&&x.unregister(e)}(r),w(e),n=!0};if("then"===o){if(0===t.length)return{then:function(){return r}};var i=D(e,{type:"GET",path:t.map((function(e){return e.toString()}))}).then(F);return i.then.bind(i)}return L(e,y(t).concat([o]))},set:function(r,a,o){A(n);var i=f(z(o),2),u=i[0],l=i[1];return D(e,{type:"SET",path:y(t).concat([a]).map((function(e){return e.toString()})),value:u},l).then(F)},apply:function(r,a,o){A(n);var i=t[t.length-1];if(i===h)return D(e,{type:"ENDPOINT"}).then(F);if("bind"===i)return L(e,t.slice(0,-1));var u=f(R(o),2),l=u[0],c=u[1];return D(e,{type:"APPLY",path:t.map((function(e){return e.toString()})),argumentList:l},c).then(F)},construct:function(r,a){A(n);var o=f(R(a),2),i=o[0],u=o[1];return D(e,{type:"CONSTRUCT",path:t.map((function(e){return e.toString()})),argumentList:i},u).then(F)}});return function(e,t){var n=(O.get(t)||0)+1;O.set(t,n),x&&x.register(e,t,e)}(r,e),r}function R(e){var t,n=e.map(z);return[n.map((function(e){return e[0]})),(t=n.map((function(e){return e[1]})),Array.prototype.concat.apply([],t))]}var j,C,M,P,N=new WeakMap;function z(e){var t=!0,n=!1,r=void 0;try{for(var a,o=E[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=f(a.value,2),u=i[0],l=i[1];if(l.canHandle(e)){var c=f(l.serialize(e),2);return[{type:"HANDLER",name:u,value:c[0]},c[1]]}}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return[{type:"RAW",value:e},N.get(e)||[]]}function F(e){switch(e.type){case"HANDLER":return E.get(e.name).deserialize(e.value);case"RAW":return e.value}}function D(e,t,n){return new Promise((function(r){var a=new Array(4).fill(0).map((function(){return Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)})).join("-");e.addEventListener("message",(function t(n){n.data&&n.data.id&&n.data.id===a&&(e.removeEventListener("message",t),r(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:a},t),n)}))}(C=j||(j={}))[C.None=0]="None",C[C.Light=1]="Light",C[C.Accent=2]="Accent",C[C.Invalid=3]="Invalid",(P=M||(M={}))[P.C=0]="C",P[P.CSharp=1]="CSharp",P[P.D=2]="D",P[P.DSharp=3]="DSharp",P[P.E=4]="E",P[P.F=5]="F",P[P.FSharp=6]="FSharp",P[P.G=7]="G",P[P.GSharp=8]="GSharp",P[P.A=9]="A",P[P.ASharp=10]="ASharp",P[P.B=11]="B";M.A,j.Accent,M.A,j.Light,M.A,j.None;function G(e,t,n){for(var r=0,a=0,o=0,i=0,u=0,l=0,c=0,s=0;s=u-1){var d=U.get(e.id);(null==d?void 0:d.tickIntervalId)&&(self.clearInterval(null==d?void 0:d.tickIntervalId),d.tickIntervalId=null)}},f=H/(l*i.speed),p=self.setTimeout((function(){t({type:"preparatory"},e)}),a),d=self.setTimeout((function(){var t=U.get(e.id);t&&(t.tickIntervalId=self.setInterval(s,f))}),o-f),v={beginTimeoutId:d,preparatoryTimeoutId:p,tickIntervalId:null};U.set(n,v)}function Y(e){var t=U.get(e.id);(null==t?void 0:t.preparatoryTimeoutId)&&self.clearTimeout(t.preparatoryTimeoutId),(null==t?void 0:t.beginTimeoutId)&&self.clearTimeout(t.beginTimeoutId),(null==t?void 0:t.tickIntervalId)&&self.clearInterval(t.tickIntervalId)}(B=_||(_={}))[B.First=0]="First",B[B.Middle=1]="Middle",B[B.Last=2]="Last",T({startTask:W,stopTask:Y})}(); +//# sourceMappingURL=ticker.5331175f.js.map diff --git a/docs/ticker.5331175f.js.map b/docs/ticker.5331175f.js.map new file mode 100644 index 0000000..5fc1b01 --- /dev/null +++ b/docs/ticker.5331175f.js.map @@ -0,0 +1 @@ +{"mappings":";;;;;;AAAO,SAASA,IACZ,GAAuB,oBAAZC,UAA4BA,QAAQC,UAAW,OAAO,EACjE,GAAID,QAAQC,UAAUC,KAAM,OAAO,EACnC,GAAqB,mBAAVC,MAAsB,OAAO,EAExC,IAGI,OAFAC,QAAQC,UAAUC,QAAQC,KAAKP,QAAQC,UAAUG,QAAS,IAAI,WAAY,MAEnE,CACX,CAAE,MA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MC,eAE7B,EAvHYb,EAAAD,MAAA,KAAAC,EACV,MAAQ,GAAR,QADUA,IAEV,OAAS,GAAT,SAFUA,IAGV,KAAO,GAAP,OA2HFnI,EAAe,CACb2J,UAAApB,EACAqB,SAAAH,G","sources":["node_modules/@swc/helpers/esm/_is_native_reflect_construct.js","node_modules/@swc/helpers/esm/_set_prototype_of.js","node_modules/@swc/helpers/esm/_construct.js","node_modules/@swc/helpers/esm/_define_property.js","node_modules/@swc/helpers/esm/_array_with_holes.js","node_modules/@swc/helpers/esm/_iterable_to_array_limit.js","node_modules/@swc/helpers/esm/_non_iterable_rest.js","node_modules/@swc/helpers/esm/_array_like_to_array.js","node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js","node_modules/@swc/helpers/esm/_sliced_to_array.js","node_modules/@swc/helpers/esm/_array_without_holes.js","node_modules/@swc/helpers/esm/_iterable_to_array.js","node_modules/@swc/helpers/esm/_non_iterable_spread.js","node_modules/@swc/helpers/esm/_to_consumable_array.js","node_modules/comlink/src/comlink.ts","packages/music/src/theory.ts","packages/music/src/common.ts","packages/music/src/rhythm.ts","packages/music/src/index.ts","packages/metronome/src/utils/ticker.ts"],"sourcesContent":["export function _is_native_reflect_construct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n\n return true;\n } catch (e) {\n return false;\n }\n}\nexport { _is_native_reflect_construct as _ };\n","export function _set_prototype_of(o, p) {\n _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {\n o.__proto__ = p;\n\n return o;\n };\n\n return _set_prototype_of(o, p);\n}\nexport { _set_prototype_of as _ };\n","import { _is_native_reflect_construct } from \"./_is_native_reflect_construct.js\";\nimport { _set_prototype_of } from \"./_set_prototype_of.js\";\nexport function _construct(Parent, args, Class) {\n if (_is_native_reflect_construct()) _construct = Reflect.construct;\n else {\n _construct = function construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n\n if (Class) _set_prototype_of(instance, Class.prototype);\n\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\nexport { _construct as _ };\n","export function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });\n } else obj[key] = value;\n\n return obj;\n}\nexport { _define_property as _ };\n","export function _array_with_holes(arr) {\n if (Array.isArray(arr)) return arr;\n}\nexport { _array_with_holes as _ };\n","export function _iterable_to_array_limit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\nexport { _iterable_to_array_limit as _ };\n","export function _non_iterable_rest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _non_iterable_rest as _ };\n","export function _array_like_to_array(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\nexport { _array_like_to_array as _ };\n","import { _array_like_to_array } from \"./_array_like_to_array.js\";\n\nexport function _unsupported_iterable_to_array(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _array_like_to_array(o, minLen);\n\n var n = Object.prototype.toString.call(o).slice(8, -1);\n\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);\n}\nexport { _unsupported_iterable_to_array as _ };\n","import { _array_with_holes } from \"./_array_with_holes.js\";\nimport { _iterable_to_array_limit } from \"./_iterable_to_array_limit.js\";\nimport { _non_iterable_rest } from \"./_non_iterable_rest.js\";\nimport { _unsupported_iterable_to_array } from \"./_unsupported_iterable_to_array.js\";\n\nexport function _sliced_to_array(arr, i) {\n return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();\n}\nexport { _sliced_to_array as _ };\n","import { _array_like_to_array } from \"./_array_like_to_array.js\";\n\nexport function _array_without_holes(arr) {\n if (Array.isArray(arr)) return _array_like_to_array(arr);\n}\nexport { _array_without_holes as _ };\n","export function _iterable_to_array(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) {\n return Array.from(iter);\n }\n}\nexport { _iterable_to_array as _ };\n","export function _non_iterable_spread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _non_iterable_spread as _ };\n","import { _array_without_holes } from \"./_array_without_holes.js\";\nimport { _iterable_to_array } from \"./_iterable_to_array.js\";\nimport { _non_iterable_spread } from \"./_non_iterable_spread.js\";\nimport { _unsupported_iterable_to_array } from \"./_unsupported_iterable_to_array.js\";\n\nexport function _to_consumable_array(arr) {\n return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();\n}\nexport { _to_consumable_array as _ };\n","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {\n Endpoint,\n EventSource,\n Message,\n MessageType,\n PostMessageWithOrigin,\n WireValue,\n WireValueType,\n} from \"./protocol\";\nexport type { Endpoint };\n\nexport const proxyMarker = Symbol(\"Comlink.proxy\");\nexport const createEndpoint = Symbol(\"Comlink.endpoint\");\nexport const releaseProxy = Symbol(\"Comlink.releaseProxy\");\nexport const finalizer = Symbol(\"Comlink.finalizer\");\n\nconst throwMarker = Symbol(\"Comlink.thrown\");\n\n/**\n * Interface of values that were marked to be proxied with `comlink.proxy()`.\n * Can also be implemented by classes.\n */\nexport interface ProxyMarked {\n [proxyMarker]: true;\n}\n\n/**\n * Takes a type and wraps it in a Promise, if it not already is one.\n * This is to avoid `Promise>`.\n *\n * This is the inverse of `Unpromisify`.\n */\ntype Promisify = T extends Promise ? T : Promise;\n/**\n * Takes a type that may be Promise and unwraps the Promise type.\n * If `P` is not a Promise, it returns `P`.\n *\n * This is the inverse of `Promisify`.\n */\ntype Unpromisify

= P extends Promise ? T : P;\n\n/**\n * Takes the raw type of a remote property and returns the type that is visible to the local thread on the proxy.\n *\n * Note: This needs to be its own type alias, otherwise it will not distribute over unions.\n * See https://www.typescriptlang.org/docs/handbook/advanced-types.html#distributive-conditional-types\n */\ntype RemoteProperty =\n // If the value is a method, comlink will proxy it automatically.\n // Objects are only proxied if they are marked to be proxied.\n // Otherwise, the property is converted to a Promise that resolves the cloned value.\n T extends Function | ProxyMarked ? Remote : Promisify;\n\n/**\n * Takes the raw type of a property as a remote thread would see it through a proxy (e.g. when passed in as a function\n * argument) and returns the type that the local thread has to supply.\n *\n * This is the inverse of `RemoteProperty`.\n *\n * Note: This needs to be its own type alias, otherwise it will not distribute over unions. See\n * https://www.typescriptlang.org/docs/handbook/advanced-types.html#distributive-conditional-types\n */\ntype LocalProperty = T extends Function | ProxyMarked\n ? Local\n : Unpromisify;\n\n/**\n * Proxies `T` if it is a `ProxyMarked`, clones it otherwise (as handled by structured cloning and transfer handlers).\n */\nexport type ProxyOrClone = T extends ProxyMarked ? Remote : T;\n/**\n * Inverse of `ProxyOrClone`.\n */\nexport type UnproxyOrClone = T extends RemoteObject\n ? Local\n : T;\n\n/**\n * Takes the raw type of a remote object in the other thread and returns the type as it is visible to the local thread\n * when proxied with `Comlink.proxy()`.\n *\n * This does not handle call signatures, which is handled by the more general `Remote` type.\n *\n * @template T The raw type of a remote object as seen in the other thread.\n */\nexport type RemoteObject = { [P in keyof T]: RemoteProperty };\n/**\n * Takes the type of an object as a remote thread would see it through a proxy (e.g. when passed in as a function\n * argument) and returns the type that the local thread has to supply.\n *\n * This does not handle call signatures, which is handled by the more general `Local` type.\n *\n * This is the inverse of `RemoteObject`.\n *\n * @template T The type of a proxied object.\n */\nexport type LocalObject = { [P in keyof T]: LocalProperty };\n\n/**\n * Additional special comlink methods available on each proxy returned by `Comlink.wrap()`.\n */\nexport interface ProxyMethods {\n [createEndpoint]: () => Promise;\n [releaseProxy]: () => void;\n}\n\n/**\n * Takes the raw type of a remote object, function or class in the other thread and returns the type as it is visible to\n * the local thread from the proxy return value of `Comlink.wrap()` or `Comlink.proxy()`.\n */\nexport type Remote =\n // Handle properties\n RemoteObject &\n // Handle call signature (if present)\n (T extends (...args: infer TArguments) => infer TReturn\n ? (\n ...args: { [I in keyof TArguments]: UnproxyOrClone }\n ) => Promisify>>\n : unknown) &\n // Handle construct signature (if present)\n // The return of construct signatures is always proxied (whether marked or not)\n (T extends { new (...args: infer TArguments): infer TInstance }\n ? {\n new (\n ...args: {\n [I in keyof TArguments]: UnproxyOrClone;\n }\n ): Promisify>;\n }\n : unknown) &\n // Include additional special comlink methods available on the proxy.\n ProxyMethods;\n\n/**\n * Expresses that a type can be either a sync or async.\n */\ntype MaybePromise = Promise | T;\n\n/**\n * Takes the raw type of a remote object, function or class as a remote thread would see it through a proxy (e.g. when\n * passed in as a function argument) and returns the type the local thread has to supply.\n *\n * This is the inverse of `Remote`. It takes a `Remote` and returns its original input `T`.\n */\nexport type Local =\n // Omit the special proxy methods (they don't need to be supplied, comlink adds them)\n Omit, keyof ProxyMethods> &\n // Handle call signatures (if present)\n (T extends (...args: infer TArguments) => infer TReturn\n ? (\n ...args: { [I in keyof TArguments]: ProxyOrClone }\n ) => // The raw function could either be sync or async, but is always proxied automatically\n MaybePromise>>\n : unknown) &\n // Handle construct signature (if present)\n // The return of construct signatures is always proxied (whether marked or not)\n (T extends { new (...args: infer TArguments): infer TInstance }\n ? {\n new (\n ...args: {\n [I in keyof TArguments]: ProxyOrClone;\n }\n ): // The raw constructor could either be sync or async, but is always proxied automatically\n MaybePromise>>;\n }\n : unknown);\n\nconst isObject = (val: unknown): val is object =>\n (typeof val === \"object\" && val !== null) || typeof val === \"function\";\n\n/**\n * Customizes the serialization of certain values as determined by `canHandle()`.\n *\n * @template T The input type being handled by this transfer handler.\n * @template S The serialized type sent over the wire.\n */\nexport interface TransferHandler {\n /**\n * Gets called for every value to determine whether this transfer handler\n * should serialize the value, which includes checking that it is of the right\n * type (but can perform checks beyond that as well).\n */\n canHandle(value: unknown): value is T;\n\n /**\n * Gets called with the value if `canHandle()` returned `true` to produce a\n * value that can be sent in a message, consisting of structured-cloneable\n * values and/or transferrable objects.\n */\n serialize(value: T): [S, Transferable[]];\n\n /**\n * Gets called to deserialize an incoming value that was serialized in the\n * other thread with this transfer handler (known through the name it was\n * registered under).\n */\n deserialize(value: S): T;\n}\n\n/**\n * Internal transfer handle to handle objects marked to proxy.\n */\nconst proxyTransferHandler: TransferHandler = {\n canHandle: (val): val is ProxyMarked =>\n isObject(val) && (val as ProxyMarked)[proxyMarker],\n serialize(obj) {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port1);\n return [port2, [port2]];\n },\n deserialize(port) {\n port.start();\n return wrap(port);\n },\n};\n\ninterface ThrownValue {\n [throwMarker]: unknown; // just needs to be present\n value: unknown;\n}\ntype SerializedThrownValue =\n | { isError: true; value: Error }\n | { isError: false; value: unknown };\n\n/**\n * Internal transfer handler to handle thrown exceptions.\n */\nconst throwTransferHandler: TransferHandler<\n ThrownValue,\n SerializedThrownValue\n> = {\n canHandle: (value): value is ThrownValue =>\n isObject(value) && throwMarker in value,\n serialize({ value }) {\n let serialized: SerializedThrownValue;\n if (value instanceof Error) {\n serialized = {\n isError: true,\n value: {\n message: value.message,\n name: value.name,\n stack: value.stack,\n },\n };\n } else {\n serialized = { isError: false, value };\n }\n return [serialized, []];\n },\n deserialize(serialized) {\n if (serialized.isError) {\n throw Object.assign(\n new Error(serialized.value.message),\n serialized.value\n );\n }\n throw serialized.value;\n },\n};\n\n/**\n * Allows customizing the serialization of certain values.\n */\nexport const transferHandlers = new Map<\n string,\n TransferHandler\n>([\n [\"proxy\", proxyTransferHandler],\n [\"throw\", throwTransferHandler],\n]);\n\nfunction isAllowedOrigin(\n allowedOrigins: (string | RegExp)[],\n origin: string\n): boolean {\n for (const allowedOrigin of allowedOrigins) {\n if (origin === allowedOrigin || allowedOrigin === \"*\") {\n return true;\n }\n if (allowedOrigin instanceof RegExp && allowedOrigin.test(origin)) {\n return true;\n }\n }\n return false;\n}\n\nexport function expose(\n obj: any,\n ep: Endpoint = globalThis as any,\n allowedOrigins: (string | RegExp)[] = [\"*\"]\n) {\n ep.addEventListener(\"message\", function callback(ev: MessageEvent) {\n if (!ev || !ev.data) {\n return;\n }\n if (!isAllowedOrigin(allowedOrigins, ev.origin)) {\n console.warn(`Invalid origin '${ev.origin}' for comlink proxy`);\n return;\n }\n const { id, type, path } = {\n path: [] as string[],\n ...(ev.data as Message),\n };\n const argumentList = (ev.data.argumentList || []).map(fromWireValue);\n let returnValue;\n try {\n const parent = path.slice(0, -1).reduce((obj, prop) => obj[prop], obj);\n const rawValue = path.reduce((obj, prop) => obj[prop], obj);\n switch (type) {\n case MessageType.GET:\n {\n returnValue = rawValue;\n }\n break;\n case MessageType.SET:\n {\n parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);\n returnValue = true;\n }\n break;\n case MessageType.APPLY:\n {\n returnValue = rawValue.apply(parent, argumentList);\n }\n break;\n case MessageType.CONSTRUCT:\n {\n const value = new rawValue(...argumentList);\n returnValue = proxy(value);\n }\n break;\n case MessageType.ENDPOINT:\n {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port2);\n returnValue = transfer(port1, [port1]);\n }\n break;\n case MessageType.RELEASE:\n {\n returnValue = undefined;\n }\n break;\n default:\n return;\n }\n } catch (value) {\n returnValue = { value, [throwMarker]: 0 };\n }\n Promise.resolve(returnValue)\n .catch((value) => {\n return { value, [throwMarker]: 0 };\n })\n .then((returnValue) => {\n const [wireValue, transferables] = toWireValue(returnValue);\n ep.postMessage({ ...wireValue, id }, transferables);\n if (type === MessageType.RELEASE) {\n // detach and deactive after sending release response above.\n ep.removeEventListener(\"message\", callback as any);\n closeEndPoint(ep);\n if (finalizer in obj && typeof obj[finalizer] === \"function\") {\n obj[finalizer]();\n }\n }\n })\n .catch((error) => {\n // Send Serialization Error To Caller\n const [wireValue, transferables] = toWireValue({\n value: new TypeError(\"Unserializable return value\"),\n [throwMarker]: 0,\n });\n ep.postMessage({ ...wireValue, id }, transferables);\n });\n } as any);\n if (ep.start) {\n ep.start();\n }\n}\n\nfunction isMessagePort(endpoint: Endpoint): endpoint is MessagePort {\n return endpoint.constructor.name === \"MessagePort\";\n}\n\nfunction closeEndPoint(endpoint: Endpoint) {\n if (isMessagePort(endpoint)) endpoint.close();\n}\n\nexport function wrap(ep: Endpoint, target?: any): Remote {\n return createProxy(ep, [], target) as any;\n}\n\nfunction throwIfProxyReleased(isReleased: boolean) {\n if (isReleased) {\n throw new Error(\"Proxy has been released and is not useable\");\n }\n}\n\nfunction releaseEndpoint(ep: Endpoint) {\n return requestResponseMessage(ep, {\n type: MessageType.RELEASE,\n }).then(() => {\n closeEndPoint(ep);\n });\n}\n\ninterface FinalizationRegistry {\n new (cb: (heldValue: T) => void): FinalizationRegistry;\n register(\n weakItem: object,\n heldValue: T,\n unregisterToken?: object | undefined\n ): void;\n unregister(unregisterToken: object): void;\n}\ndeclare var FinalizationRegistry: FinalizationRegistry;\n\nconst proxyCounter = new WeakMap();\nconst proxyFinalizers =\n \"FinalizationRegistry\" in globalThis &&\n new FinalizationRegistry((ep: Endpoint) => {\n const newCount = (proxyCounter.get(ep) || 0) - 1;\n proxyCounter.set(ep, newCount);\n if (newCount === 0) {\n releaseEndpoint(ep);\n }\n });\n\nfunction registerProxy(proxy: object, ep: Endpoint) {\n const newCount = (proxyCounter.get(ep) || 0) + 1;\n proxyCounter.set(ep, newCount);\n if (proxyFinalizers) {\n proxyFinalizers.register(proxy, ep, proxy);\n }\n}\n\nfunction unregisterProxy(proxy: object) {\n if (proxyFinalizers) {\n proxyFinalizers.unregister(proxy);\n }\n}\n\nfunction createProxy(\n ep: Endpoint,\n path: (string | number | symbol)[] = [],\n target: object = function () {}\n): Remote {\n let isProxyReleased = false;\n const proxy = new Proxy(target, {\n get(_target, prop) {\n throwIfProxyReleased(isProxyReleased);\n if (prop === releaseProxy) {\n return () => {\n unregisterProxy(proxy);\n releaseEndpoint(ep);\n isProxyReleased = true;\n };\n }\n if (prop === \"then\") {\n if (path.length === 0) {\n return { then: () => proxy };\n }\n const r = requestResponseMessage(ep, {\n type: MessageType.GET,\n path: path.map((p) => p.toString()),\n }).then(fromWireValue);\n return r.then.bind(r);\n }\n return createProxy(ep, [...path, prop]);\n },\n set(_target, prop, rawValue) {\n throwIfProxyReleased(isProxyReleased);\n // FIXME: ES6 Proxy Handler `set` methods are supposed to return a\n // boolean. To show good will, we return true asynchronously ¯\\_(ツ)_/¯\n const [value, transferables] = toWireValue(rawValue);\n return requestResponseMessage(\n ep,\n {\n type: MessageType.SET,\n path: [...path, prop].map((p) => p.toString()),\n value,\n },\n transferables\n ).then(fromWireValue) as any;\n },\n apply(_target, _thisArg, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const last = path[path.length - 1];\n if ((last as any) === createEndpoint) {\n return requestResponseMessage(ep, {\n type: MessageType.ENDPOINT,\n }).then(fromWireValue);\n }\n // We just pretend that `bind()` didn’t happen.\n if (last === \"bind\") {\n return createProxy(ep, path.slice(0, -1));\n }\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(\n ep,\n {\n type: MessageType.APPLY,\n path: path.map((p) => p.toString()),\n argumentList,\n },\n transferables\n ).then(fromWireValue);\n },\n construct(_target, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(\n ep,\n {\n type: MessageType.CONSTRUCT,\n path: path.map((p) => p.toString()),\n argumentList,\n },\n transferables\n ).then(fromWireValue);\n },\n });\n registerProxy(proxy, ep);\n return proxy as any;\n}\n\nfunction myFlat(arr: (T | T[])[]): T[] {\n return Array.prototype.concat.apply([], arr);\n}\n\nfunction processArguments(argumentList: any[]): [WireValue[], Transferable[]] {\n const processed = argumentList.map(toWireValue);\n return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];\n}\n\nconst transferCache = new WeakMap();\nexport function transfer(obj: T, transfers: Transferable[]): T {\n transferCache.set(obj, transfers);\n return obj;\n}\n\nexport function proxy(obj: T): T & ProxyMarked {\n return Object.assign(obj, { [proxyMarker]: true }) as any;\n}\n\nexport function windowEndpoint(\n w: PostMessageWithOrigin,\n context: EventSource = globalThis,\n targetOrigin = \"*\"\n): Endpoint {\n return {\n postMessage: (msg: any, transferables: Transferable[]) =>\n w.postMessage(msg, targetOrigin, transferables),\n addEventListener: context.addEventListener.bind(context),\n removeEventListener: context.removeEventListener.bind(context),\n };\n}\n\nfunction toWireValue(value: any): [WireValue, Transferable[]] {\n for (const [name, handler] of transferHandlers) {\n if (handler.canHandle(value)) {\n const [serializedValue, transferables] = handler.serialize(value);\n return [\n {\n type: WireValueType.HANDLER,\n name,\n value: serializedValue,\n },\n transferables,\n ];\n }\n }\n return [\n {\n type: WireValueType.RAW,\n value,\n },\n transferCache.get(value) || [],\n ];\n}\n\nfunction fromWireValue(value: WireValue): any {\n switch (value.type) {\n case WireValueType.HANDLER:\n return transferHandlers.get(value.name)!.deserialize(value.value);\n case WireValueType.RAW:\n return value.value;\n }\n}\n\nfunction requestResponseMessage(\n ep: Endpoint,\n msg: Message,\n transfers?: Transferable[]\n): Promise {\n return new Promise((resolve) => {\n const id = generateUUID();\n ep.addEventListener(\"message\", function l(ev: MessageEvent) {\n if (!ev.data || !ev.data.id || ev.data.id !== id) {\n return;\n }\n ep.removeEventListener(\"message\", l as any);\n resolve(ev.data);\n } as any);\n if (ep.start) {\n ep.start();\n }\n ep.postMessage({ id, ...msg }, transfers);\n });\n}\n\nfunction generateUUID(): string {\n return new Array(4)\n .fill(0)\n .map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16))\n .join(\"-\");\n}\n","export interface UniformTempo {\r\n type: 'uniform';\r\n speed: number;\r\n}\r\n\r\nexport interface VaryingTempo {\r\n type: 'varying';\r\n begin: number;\r\n step: number;\r\n end: number;\r\n}\r\n\r\nexport type Tempo = UniformTempo | VaryingTempo;\r\n\r\nexport enum Dynamics {\r\n None = 0,\r\n Light,\r\n Accent,\r\n Invalid,\r\n}\r\n\r\nexport enum NoteName {\r\n C,\r\n CSharp,\r\n D,\r\n DSharp,\r\n E,\r\n F,\r\n FSharp,\r\n G,\r\n GSharp,\r\n A,\r\n ASharp,\r\n B,\r\n}\r\n\r\nexport interface Note {\r\n name: NoteName;\r\n octave: number;\r\n dynamics: Dynamics;\r\n}\r\n\r\nexport interface Beat {\r\n notes: Note[];\r\n}\r\nexport interface Measure {\r\n repeat: number;\r\n beats: Beat[];\r\n}\r\n\r\nexport interface Rhythm {\r\n id: string;\r\n name: string;\r\n order: number;\r\n preparatoryBeats: number;\r\n tempo: Tempo;\r\n createdTime: Date;\r\n updatedTime: Date;\r\n measures: Measure[];\r\n}\r\n","import {\r\n Dynamics,\r\n Measure,\r\n Note,\r\n NoteName,\r\n UniformTempo,\r\n VaryingTempo,\r\n} from './theory';\r\n\r\nexport const UNIFORM_BPM_60: UniformTempo = {\r\n type: 'uniform',\r\n speed: 60,\r\n};\r\n\r\nexport const VARYING_BPM_60: VaryingTempo = {\r\n type: 'varying',\r\n begin: 60,\r\n end: 60,\r\n step: 10,\r\n};\r\n\r\nexport const DEFAULT_BEAT_ACCENT_NOTE: Note = {\r\n name: NoteName.A,\r\n octave: 4,\r\n dynamics: Dynamics.Accent,\r\n};\r\n\r\nexport const DEFAULT_BEAT_LIGHT_NOTE: Note = {\r\n name: NoteName.A,\r\n octave: 4,\r\n dynamics: Dynamics.Light,\r\n};\r\n\r\nexport const DEFAULT_MEASURES: Measure[] = [\r\n {\r\n repeat: 1,\r\n beats: [\r\n {\r\n notes: [DEFAULT_BEAT_ACCENT_NOTE],\r\n },\r\n {\r\n notes: [DEFAULT_BEAT_LIGHT_NOTE],\r\n },\r\n {\r\n notes: [DEFAULT_BEAT_LIGHT_NOTE],\r\n },\r\n {\r\n notes: [DEFAULT_BEAT_LIGHT_NOTE],\r\n },\r\n {\r\n notes: [DEFAULT_BEAT_ACCENT_NOTE],\r\n },\r\n {\r\n notes: [DEFAULT_BEAT_LIGHT_NOTE],\r\n },\r\n {\r\n notes: [DEFAULT_BEAT_LIGHT_NOTE],\r\n },\r\n {\r\n notes: [DEFAULT_BEAT_LIGHT_NOTE],\r\n },\r\n ],\r\n },\r\n];\r\n\r\nexport const NOTE_A4: Note = {\r\n name: NoteName.A,\r\n octave: 4,\r\n dynamics: Dynamics.None,\r\n};\r\n\r\nexport const CONCERT_PITCH = 440; // A4\r\n\r\nexport function stringifyNoteName(noteName: NoteName) {\r\n switch (noteName) {\r\n case NoteName.C:\r\n return 'C';\r\n case NoteName.CSharp:\r\n return 'C#';\r\n case NoteName.D:\r\n return 'D';\r\n case NoteName.DSharp:\r\n return 'D#';\r\n case NoteName.E:\r\n return 'E';\r\n case NoteName.F:\r\n return 'F';\r\n case NoteName.FSharp:\r\n return 'F#';\r\n case NoteName.G:\r\n return 'G';\r\n case NoteName.GSharp:\r\n return 'G#';\r\n case NoteName.A:\r\n return 'A';\r\n case NoteName.ASharp:\r\n return 'A#';\r\n case NoteName.B:\r\n return 'B';\r\n }\r\n}\r\n\r\nexport function stringifyNote(note: Note) {\r\n return `${stringifyNoteName(note.name)}${note.octave}`;\r\n}\r\n\r\nexport function getNoteFrequency(note: Note) {\r\n const halfSteps =\r\n 12 * (note.octave - NOTE_A4.octave) + (note.name - NoteName.A);\r\n\r\n return Math.pow(2, halfSteps / 12) * CONCERT_PITCH;\r\n}\r\n\r\nexport function getNoteFromFrequency(frequency: number, dynamics: Dynamics) {\r\n const halfSteps =\r\n Math.round((Math.log(frequency / CONCERT_PITCH) * 12) / Math.log(2)) -\r\n (NoteName.C - NoteName.A);\r\n\r\n const octave = Math.floor(halfSteps / 12) + NOTE_A4.octave;\r\n const name = (halfSteps - (octave - NOTE_A4.octave) * 12) % (NoteName.B + 1);\r\n\r\n return {\r\n name,\r\n octave,\r\n dynamics: Dynamics.None,\r\n };\r\n}\r\n\r\n// Based on ACF2+ algorithm\r\nexport function detectPitch(audioBuffer: Float32Array, sampleRate: number) {\r\n const audioSize = audioBuffer.length;\r\n let rms = 0;\r\n\r\n for (let i = 0; i < audioSize; i++) {\r\n let val = audioBuffer[i];\r\n rms += val * val;\r\n }\r\n rms = Math.sqrt(rms / audioSize);\r\n if (rms < 0.01) {\r\n return -1;\r\n }\r\n\r\n let startIndex = 0;\r\n let endIndex = audioSize - 1;\r\n let threshold = 0.2;\r\n for (let i = 0; i < audioSize / 2; i++) {\r\n if (Math.abs(audioBuffer[i]) < threshold) {\r\n startIndex = i;\r\n break;\r\n }\r\n }\r\n\r\n for (let i = 1; i < audioSize / 2; i++) {\r\n if (Math.abs(audioBuffer[audioSize - i]) < threshold) {\r\n endIndex = audioSize - i;\r\n break;\r\n }\r\n }\r\n\r\n const audioSlice = audioBuffer.slice(startIndex, endIndex);\r\n const sliceSize = audioSlice.length;\r\n\r\n let c = new Array(sliceSize).fill(0);\r\n for (let i = 0; i < sliceSize; i++) {\r\n for (let j = 0; j < sliceSize - i; j++) {\r\n c[i] = c[i] + audioSlice[j] * audioSlice[j + i];\r\n }\r\n }\r\n\r\n let d = 0;\r\n while (c[d] > c[d + 1]) {\r\n d++;\r\n }\r\n let maxval = -1;\r\n let maxpos = -1;\r\n for (let i = d; i < sliceSize; i++) {\r\n if (c[i] > maxval) {\r\n maxval = c[i];\r\n maxpos = i;\r\n }\r\n }\r\n let T0 = maxpos;\r\n\r\n let x1 = c[T0 - 1];\r\n let x2 = c[T0];\r\n let x3 = c[T0 + 1];\r\n let a = (x1 + x3 - 2 * x2) / 2;\r\n let b = (x3 - x1) / 2;\r\n if (a) {\r\n T0 = T0 - b / (2 * a);\r\n }\r\n\r\n return sampleRate / T0;\r\n}\r\n","import { DEFAULT_MEASURES } from './common';\r\nimport { lcm } from './math';\r\nimport {\r\n Tempo,\r\n Note,\r\n Beat,\r\n Measure,\r\n Rhythm,\r\n Dynamics,\r\n UniformTempo,\r\n} from './theory';\r\nimport * as R from 'ramda';\r\n\r\nexport function cloneTempo(tempo: T): T {\r\n return R.clone(tempo);\r\n}\r\n\r\nexport function cloneNote(note: Note): Note {\r\n return R.clone(note);\r\n}\r\n\r\nexport function cloneBeat(beat: Beat): Beat {\r\n return R.clone(beat);\r\n}\r\n\r\nexport function cloneMeasure(measure: Measure): Measure {\r\n return R.clone(measure);\r\n}\r\n\r\nexport function cloneRhythm(rhythm: Rhythm): Rhythm {\r\n return R.clone(rhythm);\r\n}\r\n\r\nexport function changePreparatory(rhythm: Rhythm, preparatory: number) {\r\n const newRhythm = cloneRhythm(rhythm);\r\n newRhythm.preparatoryBeats = preparatory;\r\n\r\n return newRhythm;\r\n}\r\n\r\nexport function changeTempo(rhythm: Rhythm, tempo: Tempo) {\r\n const newRhythm = cloneRhythm(rhythm);\r\n newRhythm.tempo = cloneTempo(tempo);\r\n\r\n return newRhythm;\r\n}\r\n\r\nexport function addMeasure(rhythm: Rhythm) {\r\n const newRhythm = cloneRhythm(rhythm);\r\n const lastMeasure = newRhythm.measures[rhythm.measures.length - 1];\r\n if (lastMeasure) {\r\n newRhythm.measures.push(cloneMeasure(lastMeasure));\r\n } else {\r\n newRhythm.measures = DEFAULT_MEASURES;\r\n }\r\n\r\n return newRhythm;\r\n}\r\n\r\nexport function removeMeasure(rhythm: Rhythm, measureIndex: number) {\r\n const newRhythm = cloneRhythm(rhythm);\r\n newRhythm.measures.splice(measureIndex, 1);\r\n\r\n return newRhythm;\r\n}\r\n\r\nexport function changeRepeat(\r\n rhythm: Rhythm,\r\n measureIndex: number,\r\n repeat: number,\r\n) {\r\n const newRhythm = cloneRhythm(rhythm);\r\n const measure = newRhythm.measures[measureIndex];\r\n if (measure) {\r\n measure.repeat = repeat;\r\n }\r\n\r\n return newRhythm;\r\n}\r\n\r\nexport function addBeat(rhythm: Rhythm, measureIndex: number) {\r\n const newRhythm = cloneRhythm(rhythm);\r\n const measure = newRhythm.measures[measureIndex];\r\n if (measure) {\r\n const beat = measure.beats[measure.beats.length - 1];\r\n if (beat) {\r\n measure.beats.push(cloneBeat(beat));\r\n }\r\n }\r\n\r\n return newRhythm;\r\n}\r\n\r\nexport function removeBeat(rhythm: Rhythm, measureIndex: number) {\r\n const newRhythm = cloneRhythm(rhythm);\r\n const measure = newRhythm.measures[measureIndex];\r\n if (measure) {\r\n measure.beats = measure.beats.slice(0, measure.beats.length - 1);\r\n if (measure.beats.length === 0) {\r\n newRhythm.measures.splice(measureIndex, 1);\r\n }\r\n }\r\n\r\n return newRhythm;\r\n}\r\n\r\nexport function addNote(\r\n rhythm: Rhythm,\r\n measureIndex: number,\r\n beatIndex: number,\r\n) {\r\n const newRhythm = cloneRhythm(rhythm);\r\n\r\n const measure = newRhythm.measures[measureIndex];\r\n if (measure) {\r\n const beat = measure.beats[beatIndex];\r\n if (beat) {\r\n const lastNote = beat.notes[beat.notes.length - 1];\r\n beat.notes.push(cloneNote(lastNote));\r\n }\r\n }\r\n\r\n return newRhythm;\r\n}\r\n\r\nexport function changeNote(\r\n rhythm: Rhythm,\r\n measureIndex: number,\r\n beatIndex: number,\r\n noteIndex: number,\r\n) {\r\n const newRhythm = cloneRhythm(rhythm);\r\n\r\n const measure = newRhythm.measures[measureIndex];\r\n if (measure) {\r\n const beat = measure.beats[beatIndex];\r\n if (beat) {\r\n const note = beat.notes[noteIndex];\r\n if (note) {\r\n note.dynamics = (note.dynamics + 1) % Dynamics.Invalid;\r\n }\r\n }\r\n }\r\n\r\n return newRhythm;\r\n}\r\n\r\nexport function removeNote(\r\n rhythm: Rhythm,\r\n measureIndex: number,\r\n beatIndex: number,\r\n) {\r\n const newRhythm = cloneRhythm(rhythm);\r\n\r\n const measure = newRhythm.measures[measureIndex];\r\n if (measure) {\r\n const beat = measure.beats[beatIndex];\r\n if (beat) {\r\n if (beat.notes.length === 1) {\r\n measure.beats.splice(beatIndex, 1);\r\n } else {\r\n beat.notes = beat.notes.slice(0, beat.notes.length - 1);\r\n }\r\n }\r\n }\r\n\r\n return newRhythm;\r\n}\r\n\r\nexport function analyseRhythm(rhythm: Rhythm) {\r\n let measuresCount = 0;\r\n let beatsCount = 0;\r\n let notesCount = 0;\r\n let ticksCount = 0;\r\n let ticksPerBeat = 0;\r\n let tempos: UniformTempo[] = [];\r\n\r\n switch (rhythm.tempo.type) {\r\n case 'uniform':\r\n tempos.push(cloneTempo(rhythm.tempo));\r\n break;\r\n case 'varying':\r\n {\r\n for (\r\n let speed = rhythm.tempo.begin;\r\n speed <= rhythm.tempo.end;\r\n speed += rhythm.tempo.step\r\n ) {\r\n tempos.push({\r\n type: 'uniform',\r\n speed,\r\n });\r\n }\r\n }\r\n break;\r\n }\r\n\r\n for (const measure of rhythm.measures) {\r\n measuresCount = measuresCount + measure.repeat;\r\n\r\n for (const beat of measure.beats) {\r\n beatsCount = beatsCount + measure.repeat;\r\n\r\n notesCount = notesCount + beat.notes.length * measure.repeat;\r\n\r\n ticksPerBeat = lcm(ticksPerBeat, beat.notes.length);\r\n }\r\n }\r\n ticksCount = beatsCount * ticksPerBeat;\r\n\r\n return {\r\n tempos,\r\n measuresCount,\r\n beatsCount,\r\n notesCount,\r\n ticksCount,\r\n ticksPerBeat,\r\n };\r\n}\r\n\r\nexport function locate(\r\n rhythm: Rhythm,\r\n ticksPerBeat: number,\r\n tickIndex: number,\r\n) {\r\n let measureIndex = 0;\r\n let measureOffset = 0;\r\n let beatIndex = 0;\r\n let beatOffset = 0;\r\n let noteIndex = 0;\r\n let noteOffset = 0;\r\n let ticksCount = 0;\r\n\r\n for (\r\n let currMeasureIndex = 0;\r\n currMeasureIndex < rhythm.measures.length;\r\n currMeasureIndex++\r\n ) {\r\n const currMeasure = rhythm.measures[currMeasureIndex];\r\n\r\n for (\r\n let currMeasureOffset = 0;\r\n currMeasureOffset < currMeasure.repeat;\r\n currMeasureOffset++\r\n ) {\r\n for (\r\n let currBeatIndex = 0;\r\n currBeatIndex < currMeasure.beats.length;\r\n currBeatIndex++\r\n ) {\r\n const currBeat = currMeasure.beats[currBeatIndex];\r\n const maxTicksCount = ticksCount + ticksPerBeat;\r\n if (maxTicksCount - 1 < tickIndex) {\r\n ticksCount = maxTicksCount;\r\n beatOffset = beatOffset + 1;\r\n noteOffset = noteOffset + currBeat.notes.length;\r\n continue;\r\n }\r\n\r\n measureIndex = currMeasureIndex;\r\n measureOffset = currMeasureOffset;\r\n beatIndex = currBeatIndex;\r\n noteIndex = Math.floor(\r\n (tickIndex % ticksPerBeat) / (ticksPerBeat / currBeat.notes.length),\r\n );\r\n noteOffset = noteOffset + noteIndex;\r\n\r\n return {\r\n measureOffset,\r\n measureIndex,\r\n beatIndex,\r\n beatOffset,\r\n noteIndex,\r\n noteOffset,\r\n };\r\n }\r\n }\r\n }\r\n\r\n return {\r\n measureOffset,\r\n measureIndex,\r\n beatIndex,\r\n beatOffset,\r\n noteIndex,\r\n noteOffset,\r\n };\r\n}\r\n\r\nexport function locateNextBeat(\r\n rhythm: Rhythm,\r\n measureIndex: number,\r\n measureOffset: number,\r\n beatIndex: number,\r\n beatOffset: number,\r\n) {\r\n let measure = rhythm.measures[measureIndex];\r\n if (beatIndex >= measure.beats.length - 1) {\r\n let measureCount = 0;\r\n for (let i = 0; i < measureIndex; i++) {\r\n measureCount = measureCount + rhythm.measures[measureIndex].repeat;\r\n }\r\n\r\n if (measureCount + measure.repeat <= measureOffset + 1) {\r\n if (measureIndex >= rhythm.measures.length - 1) {\r\n return;\r\n } else {\r\n measure = rhythm.measures[measureIndex + 1];\r\n\r\n return {\r\n measureIndex: measureIndex + 1,\r\n measureOffset: measureOffset + 1,\r\n beatIndex: 0,\r\n beatOffset: beatOffset + 1,\r\n };\r\n }\r\n } else {\r\n return {\r\n measureIndex: measureIndex,\r\n measureOffset: measureOffset,\r\n beatIndex: beatIndex + 1,\r\n beatOffset: beatOffset + 1,\r\n };\r\n }\r\n } else {\r\n return {\r\n measureIndex: measureIndex,\r\n measureOffset: measureOffset,\r\n beatIndex: beatIndex + 1,\r\n beatOffset: beatOffset + 1,\r\n };\r\n }\r\n}\r\n","export * from './math';\r\nexport * from './theory';\r\nexport * from './rhythm';\r\nexport * from './common';\r\n\r\nexport const MILLISECONDS_PER_SECOND = 1000;\r\nexport const SECONDS_PER_MINUTE = 60;\r\nexport const MILLISECONDS_PER_MINUTE =\r\n SECONDS_PER_MINUTE * MILLISECONDS_PER_SECOND;\r\n","import * as Comlink from 'comlink';\r\nimport { Rhythm, UniformTempo, locate } from '@musicpal/music';\r\nimport { MILLISECONDS_PER_MINUTE } from '@musicpal/music';\r\n\r\nexport interface TickerTask {\r\n id: string;\r\n rhythm: Rhythm;\r\n tempo: UniformTempo;\r\n preparatoryTime: number;\r\n beginTime: number;\r\n ticksPerBeat: number;\r\n ticksCount: number;\r\n}\r\n\r\nexport interface TickerTimer {\r\n preparatoryTimeoutId: number;\r\n beginTimeoutId: number;\r\n tickIntervalId: number | null;\r\n}\r\n\r\nconst timerMap: Map = new Map();\r\n\r\nexport enum TickType {\r\n First = 0,\r\n Middle = 1,\r\n Last = 2,\r\n}\r\n\r\nexport interface Tick {\r\n measureIndex: number;\r\n measureOffset: number;\r\n beatIndex: number;\r\n beatOffset: number;\r\n noteIndex: number;\r\n noteOffset: number;\r\n tickIndex: number;\r\n}\r\n\r\nexport interface TickerPreparatoryEvent {\r\n type: 'preparatory';\r\n}\r\n\r\nexport interface TickerTickEvent {\r\n type: 'tick';\r\n tick: Tick;\r\n}\r\n\r\nexport type TickerEvent = TickerPreparatoryEvent | TickerTickEvent;\r\n\r\nexport function startTask(\r\n task: TickerTask,\r\n callback: (event: TickerEvent, ticker: TickerTask) => void,\r\n) {\r\n const {\r\n id,\r\n rhythm,\r\n preparatoryTime,\r\n beginTime,\r\n tempo,\r\n ticksCount,\r\n ticksPerBeat,\r\n } = task;\r\n let tickIndex = -1;\r\n const handleTick = () => {\r\n tickIndex++;\r\n const {\r\n measureIndex,\r\n measureOffset,\r\n beatIndex,\r\n beatOffset,\r\n noteIndex,\r\n noteOffset,\r\n } = locate(rhythm, ticksPerBeat, tickIndex);\r\n callback(\r\n {\r\n type: 'tick',\r\n tick: {\r\n measureOffset,\r\n measureIndex,\r\n beatIndex,\r\n beatOffset,\r\n noteIndex,\r\n noteOffset,\r\n tickIndex,\r\n },\r\n },\r\n task,\r\n );\r\n\r\n if (tickIndex >= ticksCount - 1) {\r\n const timer = timerMap.get(task.id);\r\n if (timer?.tickIntervalId) {\r\n self.clearInterval(timer?.tickIntervalId);\r\n timer.tickIntervalId = null;\r\n }\r\n }\r\n };\r\n\r\n const tickInterval = MILLISECONDS_PER_MINUTE / (ticksPerBeat * tempo.speed);\r\n const handleTickerBegin = () => {\r\n const timer = timerMap.get(task.id);\r\n if (timer) {\r\n timer.tickIntervalId = self.setInterval(handleTick, tickInterval);\r\n }\r\n };\r\n\r\n const handleTickerPreparatory = () => {\r\n callback({ type: 'preparatory' }, task);\r\n };\r\n\r\n const preparatoryTimeoutId = self.setTimeout(\r\n handleTickerPreparatory,\r\n preparatoryTime,\r\n );\r\n const beginTimeoutId = self.setTimeout(\r\n handleTickerBegin,\r\n beginTime - tickInterval,\r\n );\r\n const timer: TickerTimer = {\r\n beginTimeoutId,\r\n preparatoryTimeoutId,\r\n tickIntervalId: null,\r\n };\r\n\r\n timerMap.set(id, timer);\r\n}\r\n\r\nexport function stopTask(task: TickerTask) {\r\n const timer = timerMap.get(task.id);\r\n\r\n if (timer?.preparatoryTimeoutId) {\r\n self.clearTimeout(timer.preparatoryTimeoutId);\r\n }\r\n\r\n if (timer?.beginTimeoutId) {\r\n self.clearTimeout(timer.beginTimeoutId);\r\n }\r\n\r\n if (timer?.tickIntervalId) {\r\n self.clearInterval(timer.tickIntervalId);\r\n }\r\n}\r\n\r\nexport interface TickerWorker {\r\n startTask: typeof startTask;\r\n stopTask: typeof stopTask;\r\n}\r\n\r\nComlink.expose({\r\n startTask,\r\n stopTask,\r\n});\r\n"],"names":["$e39263bbdcb7d3f2$export$685354647fba1516","Reflect","construct","sham","Proxy","Boolean","prototype","valueOf","call","e","$ade657966c9f3425$export$c2c98ac76e997b63","o","p","Object","setPrototypeOf","__proto__","$9e42a30d1410267f$export$2d841144c5f8c4ab","Parent","args","Class","a","push","apply","instance","Function","bind","arguments","$e70e36fe5deea41b$export$1e71eb4bef00f6b0","obj","key","value","defineProperty","enumerable","configurable","writable","$a1cd44da124c2e18$export$e6256bf45c68d561","arr","Array","isArray","$c99b99ae29b851d2$export$2fd15edff6687200","i","_i","Symbol","iterator","_s","_e","_arr","_n","_d","next","done","length","err","$2981ef585d9b3ce6$export$60dbc22abd7da546","TypeError","$e1771364af16df86$export$79e617b1955a2616","len","arr2","$4d2bd7d199d3d5af$export$a5be06335b3a083c","minLen","n","toString","slice","constructor","name","from","test","$35211f8b9a4957d2$export$fdf2a89c76341bbf","$2b9e2a47f112feae$export$7e0947b5ad3404e2","$9f1d3dc1e3ce8ee2$export$1eb58a6e75231000","iter","$8a0f3ad6f4d43861$export$e6f3c4780d19eb2b","$129d079e0dffb367$export$1b5e630bc3aea29f","$b354d50e5cbd063c$export$be5234c0b764b6e0","$b354d50e5cbd063c$export$39fb953702b7fcd7","$b354d50e5cbd063c$export$89981d4b8d9f48aa","$b354d50e5cbd063c$export$ddc31dfe7c269837","$b354d50e5cbd063c$var$throwMarker","$b354d50e5cbd063c$var$isObject","val","$b354d50e5cbd063c$export$ab8f1c00731ee83e","Map","canHandle","serialize","_ref","MessageChannel","port1","port2","$b354d50e5cbd063c$export$9b7f6e342a8cbd38","deserialize","port","start","$b354d50e5cbd063c$var$createProxy","target","param","Error","isError","message","stack","serialized","assign","ep","globalThis","allowedOrigins","addEventListener","callback","ev","data","origin","_iteratorNormalCompletion","_didIteratorError","_iteratorError","undefined","_step","_iterator","allowedOrigin","RegExp","$b354d50e5cbd063c$var$isAllowedOrigin","returnValue","_Object_assign","path","id","type","argumentList","map","$b354d50e5cbd063c$var$fromWireValue","parent","reduce","prop","rawValue","$b354d50e5cbd063c$export$923f96dd5afa9ce6","transfers","$b354d50e5cbd063c$var$transferCache","set","$b354d50e5cbd063c$export$c9b234447cf4ef7c","Promise","resolve","then","_toWireValue","$b354d50e5cbd063c$var$toWireValue","wireValue","transferables","postMessage","removeEventListener","$b354d50e5cbd063c$var$closeEndPoint","error","console","warn","concat","endpoint","$b354d50e5cbd063c$var$isMessagePort","close","$b354d50e5cbd063c$var$throwIfProxyReleased","isReleased","$b354d50e5cbd063c$var$releaseEndpoint","$b354d50e5cbd063c$var$requestResponseMessage","$b354d50e5cbd063c$var$proxyCounter","WeakMap","$b354d50e5cbd063c$var$proxyFinalizers","FinalizationRegistry","newCount","get","isProxyReleased","proxy","_target","unregister","$b354d50e5cbd063c$var$unregisterProxy","r","_thisArg","rawArgumentList","last","_processArguments","$b354d50e5cbd063c$var$processArguments","register","$b354d50e5cbd063c$var$registerProxy","processed","v","$515cd16560c8c62d$export$df409b90d2c1a310","Dynamics","$515cd16560c8c62d$export$2050b8129d8cdad6","NoteName","_step_value","handler","_handler_serialize","msg","fill","Math","floor","random","Number","MAX_SAFE_INTEGER","join","l","A","Accent","Light","None","$a0e9c665509477f7$export$5200e0c7549d7bff","rhythm","ticksPerBeat","tickIndex","measureIndex","measureOffset","beatIndex","beatOffset","noteIndex","noteOffset","ticksCount","currMeasureIndex","measures","currMeasure","currMeasureOffset","repeat","currBeatIndex","beats","currBeat","maxTicksCount","notes","$3c215dd1e12969fd$export$2cd96fc3b1b618d8","TickType","$89bcaaa777754897$export$9245831f62081b68","$89bcaaa777754897$export$544c576050746347","$3c215dd1e12969fd$var$timerMap","$3c215dd1e12969fd$export$1c43efaafc52b831","task","preparatoryTime","beginTime","tempo","handleTick","_locate","tick","timer","tickIntervalId","self","clearInterval","tickInterval","speed","preparatoryTimeoutId","setTimeout","beginTimeoutId","setInterval","$3c215dd1e12969fd$export$d9d592371c2a2f98","clearTimeout","startTask","stopTask"],"version":3,"file":"ticker.5331175f.js.map"} \ No newline at end of file diff --git a/packages/website/package.json b/packages/website/package.json index 0147c59..f667b32 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -4,7 +4,7 @@ "description": "", "scripts": { "start": "parcel ./src/index.html --no-cache", - "build": "parcel build ./src/index.html --no-cache", + "build": "parcel build ./src/index.html --no-cache --public-url=https://jichang.github.io/MusicPal/", "typecheck": "tsc --noEmit", "test": "echo \"Error: no test specified\" && exit 1" }, @@ -49,4 +49,4 @@ "parcel": "2.8.3", "typescript": "^5.2.2" } -} +} \ No newline at end of file diff --git a/packages/website/src/App.tsx b/packages/website/src/App.tsx index 459a43a..c7ae9e8 100644 --- a/packages/website/src/App.tsx +++ b/packages/website/src/App.tsx @@ -11,28 +11,33 @@ import { MetronomePlayerPage } from './pages/MetronomePlayerPage'; import { SightEarPage } from './pages/SightEarPage'; import { TunerPage } from './pages/TunerPage'; -const router = createBrowserRouter([ +const router = createBrowserRouter( + [ + { + path: '/', + element: , + }, + { + path: '/metronome', + element: , + }, + { + path: '/metronome/:id', + element: , + }, + { + path: '/sightear', + element: , + }, + { + path: '/tuner', + element: , + }, + ], { - path: '/', - element: , + basename: '/MusicPal', }, - { - path: '/metronome', - element: , - }, - { - path: '/metronome/:id', - element: , - }, - { - path: '/sightear', - element: , - }, - { - path: '/tuner', - element: , - }, -]); +); export interface AppProps { dexie: MusicPalDexie;